Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

53 results about "Assembly language" patented technology

In computer programming, assembly language (or assembler language), often abbreviated asm, is any low-level programming language in which there is a very strong correspondence between the instructions in the language and the architecture's machine code instructions. Assembly language may also be called symbolic machine code.

Abnormality detection method and device, electronic equipment and computer program product

The invention discloses an anomaly detection method and device, electronic equipment and a computer program product. The method comprises the steps that operation information generated by executing a memory operation instruction is collected through a monitoring hook inserted into a webpage assembly language module in advance, the webpage assembly language module is an executable unit written by using a webpage assembly language byte code, and the webpage assembly language byte code at least carries the memory operation instruction; and performing anomaly detection on the operation information by using a preset anomaly detection condition. According to the method and the device, the technical problem of poor accuracy of performing anomaly detection on the WASM module in the prior art is solved.
Owner:CHINA TELECOM CORP LTD

Methods and systems for generating description for assembly functions

A method for creating a model to add a code summary to functions of assembly language code, the method including tokenizing an assembly code dataset; inputting the tokenized assembly code dataset to a pre-trained transformer-based model; using an encoder to create fixed length embeddings; and using a decoder on the fixed length embeddings to generate the code summary.
Owner:BLACKBERRY LTD

Methods and systems for generating description for assembly functions

A method for creating a model to add a code summary to functions of assembly language code, the method including tokenizing an assembly code dataset; inputting the tokenized assembly code dataset to a pre-trained transformer-based model; using an encoder to create fixed length embeddings; and using a decoder on the fixed length embeddings to generate the code summary.
Owner:BLACKBERRY LTD

Block chain smart contract privacy protection method based on trusted execution environment and assembly comparison calculation

The invention discloses a blockchain smart contract privacy protection method based on comparative calculation of a trusted execution environment and an assembly language, and the method comprises the steps: carrying out the execution process of a smart contract in the trusted execution environment, and verifying and recording a generated transaction through a blockchain. A block chain user can retrieve and query data related to the smart contract and the trusted execution environment instance at any time, and submit smart contract state update. According to the method, an assembly language comparison algorithm is embedded into a trusted execution environment to replace conventional high-level language comparison calculation, so that a memory access mode of a program is hidden; the contract transaction can realize contract operation management and rule definition in an executable environment, so that a contract owner can register and log out a contract and add / delete an enclave capable of running the contract; the enclave registration transaction can realize enclave operation management and rule definition, and the method can realize credible and forced execution of the block chain smart contract, and ensures privacy and consistent execution requirements of the smart contract.
Owner:SOUTHEAST UNIV

Transaction transmission method and device in circuit design file, equipment and storage medium

The invention provides a transmission method and device for transactions in a circuit design file, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a first transaction constructed by an assembly language in a verification platform, analyzing the first transaction to obtain a corresponding first transaction attribute, converting the first transaction into a byte stream based on the first transaction attribute, and storing the byte stream in a verification platform; constructing a target language transaction attribute and an interface file, calling a transaction-level modeling interface of the verification platform to transmit the byte stream to the target platform, calling a communication interface of the verification platform to transmit the target language transaction attribute and the interface file to the target platform, and verifying the target language transaction attribute according to the interface file and the target language transaction attribute. The received byte stream is analyzed into the second transaction attribute through the target platform, the second transaction attribute is imported into the transaction template, the second transaction corresponding to the target language is obtained and displayed, the target language is used for verification, the language learning difficulty can be reduced, and the application scene of the verification platform is widened.
Owner:BEIJING INSTITUTE OF OPEN SOURCE CHIP

Hierarchical translation between low-level programming languages and high-level programming languages

Techniques are described herein for translating between low-level languages and high-level languages. A method includes: receiving first source code in assembly language, the first source code including a plurality of code blocks, and each code block of the plurality of code blocks including a plurality of lines of assembly code; for each of the plurality of code blocks: for each of the plurality of lines of assembly code in the code block, processing the line of assembly code to generate a natural language description of the line of assembly code; and processing the code block and the natural language descriptions of the plurality of lines of assembly code in the code block to generate a natural language description of the code block; and processing the natural language descriptions of the plurality of code blocks to generate a natural language description of the first source code.
Owner:GOOGLE LLC

MCU upgrading method and device, equipment and storage medium

The invention provides an MCU upgrading method and device, equipment and a storage medium, and belongs to the field of computers. The method comprises the steps that an MCU receives a data writing instruction, the data writing instruction is an assembly language instruction and is used for indicating that a frame of first target data is written into a flash memory, the frame of first target data comprises N bytes of data, and N is an integer larger than 1; receiving the frame of first target data according to the data writing instruction, and storing the frame of first target data to a cache; and writing the frame of first target data into a flash memory of the MCU from the cache so as to upgrade the MCU. The method is beneficial to improving the upgrading efficiency of the MCU.
Owner:ANHUI MINSI MICROELECTRONICS CO LTD

Code compilation method, device, equipment and medium

The present invention relates to the field of compiler technology, and discloses a code compilation method, apparatus, device, and medium. The method comprises: obtaining assembly code to be compiled; obtaining target code variable blocks that meet preset standards in the assembly code based on a preset search algorithm; encapsulating the target code variable blocks and determining corresponding macro functions; and executing code compilation based on the macro functions. The present invention optimizes the assembly code to be compiled by merging identical target code variable blocks, using a preset search algorithm to determine consistent target code variable blocks, and encapsulating and determining macro functions to be compiled based on the target code variable blocks. This greatly improves the speed of program search, reduces the total number of code instruction bytes, reduces program memory, speeds up execution, and further improves the compilation efficiency of assembly language.
Owner:FORTIOR TECHNOLOGY (SHANGHAI) CO LTD

An executable engineering dynamic loading and debugging method based on RISC-V

The present application relates to a kind of executable engineering dynamic loading and debugging method based on RISC-V, based on the original engineering containing static library generates main engineering and independent executable engineering;Increase the dynamic call running interface function written with assembly language in main engineering, so that main engineering can load the executable file generated by executable engineering;Executable engineering establishes a function pointer table for calling main engineering function, realizes the call to main engineering function;The main engineering and independent executable engineering are dynamically debugged respectively;In debugging engineering, create adaptive processing function of debugging print information, so that program can automatically identify current environment, such as in debugging environment, then carry out normal output debugging information, such as in non-debugging environment, program can skip output debugging information interrupt instruction and continue running. Realize the flexible inter-module function call mode based on RISC-V processor and realize the environment adaptive processing function of debugging print information.
Owner:ZHEJIANG DALI TECH

Code compilation method and related device

The present application provides a code compilation method and related devices, which are applied to the central processing unit of an electronic device, the electronic device includes a central processing unit and a parallel processor, the parallel processor includes a scalar instruction processing unit and a vector instruction processing unit, and the method includes: obtaining a target intermediate code to be compiled, the code type of the target intermediate code is a target type, and the target type is used to indicate an intermediate code whose code format is the same as the code format corresponding to any assembly language in a preset assembly language set; compiling the target intermediate code into a target instruction set that can be executed by a parallel processor. In this way, when developers are engaged in related development work on the above-mentioned parallel processor, they can use a simple and easy-to-understand intermediate code type as an intermediate representation of the compilation process, which reduces the development difficulty and promotes the development of software applications on the above-mentioned parallel processor to achieve a parallel processing process with faster processing speed and lower power consumption.
Owner:AZURENGINE TECH ZHUHAI INC

A medical privacy data security calculation method based on CKKS homomorphic encryption

This invention relates to the field of information security technology, specifically to a secure computation method for medical privacy data based on CKKS homomorphic encryption. The method involves initializing a polynomial multiplication module and a CKKS module; the user end collects medical data, performs CKKS encoding and encryption, and uploads the ciphertext to the cloud; the server end deploys a disease risk prediction model, performs homomorphic inference analysis based on the ciphertext, and obtains the ciphertext result; the user end decrypts and decodes the ciphertext result, outputs a disease risk score, and obtains health data. This method makes the computation process more compatible with the GPU hardware architecture and scheduling mechanism, directly manipulates registers using assembly language to improve bit reversal efficiency, and designs a resource pool so that threads can place data into the resource pool after processing the current stage. Idle threads can find the data needed for the next stage in the resource pool without waiting and can directly execute the next stage's computation, reducing synchronization time.
Owner:GUILIN UNIV OF ELECTRONIC TECH

Qubit mapped diamond dependency recommendation service

Embodiments of the present disclosure provide techniques for performing a quantum computing-based diamond dependency analysis. A classical diamond dependency service may analyze a service and determine a set of dependencies that the service requires to execute. The classical DDS may then generate a quantum assembly language (QASM) file comprising a diamond dependency algorithm (DDA) and a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits. The classical DDS may interface with one or more quantum DDSs (QDDSs) that are each part of a respective quantum environment in order to determine qubits that are available to be mapped to the configuration files of the service and its dependencies. The classical DDS may execute the QASM file using the one or more QDDSs to detect one or more diamond dependencies.
Owner:RED HAT LLC

Dynamic library loading method and device, equipment and storage medium

This application discloses a method, apparatus, device, and storage medium for loading a dynamic library, belonging to the field of computer programs. The method includes: generating assembly language intermediate-level code corresponding to a first function in the dynamic library based on the interface signature of the first function; compiling and linking the source code, linking the calls to the first function in the source code to the assembly language intermediate-level code, obtaining an executable file of the source code; executing the assembly language intermediate-level code when the executable file calls the first function; the assembly language intermediate-level code is used to dynamically load the dynamic library and execute the first function; wherein, the assembly language intermediate-level code is used to cache the parameter context of the function call before dynamically loading the dynamic library and restore the parameter context before executing the first function. This method can improve the generation efficiency of intermediate-level code and reduce the maintenance cost of intermediate-level code.
Owner:GUANGZHOU SHIYINLIAN SOFTWARE TECH CO LTD

Randomized compiler optimization selection for improved computer security

A method and system provide the ability to compile computer source code. The source code is pre-processed to generate pure source code that includes definitions required for interpretation. The pure source code is formalized in a compiler, into assembly language that is processor specific. The formalization includes determining a set of two or more optimization routines, randomly selecting a selected optimization routine from the set of two or more optimization routines, and applying the selected optimization routine to each segment of the pure source code in a serialized manner. An executable binary file is then output and executed based on the formalized pure source code.
Owner:CALIFORNIA INST OF TECH

Predicting and Minimizing Quantum Decoherence in Quantum Computer Systems

In one example described herein a system can receive, by a gate analysis service, a quantum assembly language (QASM) file. The QASM file can define a quantum algorithm that can include logic gates that can be executed on a quantum computer system. The system can access, by the gate analysis service, a data repository that can include an estimated amount of quantum decoherence associated with each logic gate of a plurality of logic gates that includes the logic gates. The system can determine, by the gate analysis service, a prediction of an amount of quantum decoherence associated with executing at least one logic gate of the logic gates on the quantum computer system. Additionally, the system can adjust, by the gate analysis service, the QASM file to modify the prediction associated with executing the logic gates on the quantum computer system.
Owner:RED HAT INC

Programming language conversion system, programming language conversion method, and program

The object is to provide a system that can appropriately convert assembly language into other programming languages. [Solution] A programming language conversion system that converts an original program written in assembly language into a converted program written in a programming language different from assembly language, comprising: a generation unit that generates an intermediate program including original description items corresponding to the description of the original program, register items that are descriptions corresponding to each of a predetermined number of registers in the assembly language, and a first linkage item that is a description for reserving address space for a first instruction that specifies a displacement using a first register among the predetermined number of registers; and a conversion unit that converts the intermediate program into the converted program.
Owner:유겐가이샤티아이에스

Malicious software interception method for flexible gray calculation in host security protection

The invention discloses a malicious software interception method for flexible gray calculation in host security protection, and relates to the technical field of network security. Obtaining an assembly language source file and an executable file of the target access software, and performing feature extraction to obtain a frequency feature, a semantic feature and a byte feature; updating a preset malicious software detection model according to the frequency features, the semantic features and the byte features to obtain a target malicious software detection model; simulating log data when the target access software is operated; generating a grayscale image according to the log data, and substituting the grayscale image into the target malicious software detection model to obtain the malicious level of the target access software; and performing related interception on the target access software according to the malicious level. According to the method, the frequency, semantic and byte features are extracted, the malicious software detection model is updated according to the features, the log data are acquired through the simulation running software, and the gray level image is generated for malicious software recognition, so that the interception efficiency of the malicious software is improved.
Owner:GUANGXI POWER GRID CORP

A data processing method and device, electronic equipment and readable storage medium

The application discloses a data processing method, which comprises the following steps: generating a plurality of initial matrices with the same size based on a key seed; performing a plurality of rounds of first operation on the plurality of initial matrices respectively through a vector instruction of an assembly language until a preset number of operations is reached, so as to obtain a target matrix corresponding to each initial matrix; generating a key stream corresponding to the key seed based on the plurality of target matrices; and respectively encrypting plaintext data to be encrypted through the key stream, so as to obtain ciphertext data corresponding to the plaintext data, thereby improving the efficiency of generating the key and the efficiency of encryption and decryption.
Owner:LOONGSON ZHONGKE (XIAN) TECH CO LTD

A blockchain smart contract privacy protection method based on trusted execution environment and assembly comparison calculation

The application discloses a blockchain smart contract privacy protection method based on a trusted execution environment and an assembly language comparison calculation, and the method comprises the following steps: placing a smart contract execution process in a trusted execution environment, and verifying and recording a generated transaction by a blockchain. A user of the blockchain can retrieve and query data related to the smart contract and the trusted execution environment instance at any time, and submit a smart contract state update. The method embeds an assembly language comparison algorithm into the trusted execution environment, replaces a conventional high-level language comparison calculation, and thus conceals a memory access mode of a program; a contract transaction can realize contract operation management and rule definition in the executable environment, enables a contract owner to register and deregister a contract, and adds / delugs an enclave capable of running the contract; an enclave registration transaction can realize operation management and rule definition of the enclave, the method can realize trusted and compulsory execution of the blockchain smart contract, and guarantees privacy and consistent execution requirements of the smart contract.
Owner:SOUTHEAST UNIV

An automatic generation method of assembly language for reconfigurable flexible assembly lines

An automated generation of an assembly language (A‑code) for a reconfigurable flexible assembly line includes: extracting geometric, topological, and material information from a three-dimensional product model; constructing an assembly process knowledge graph to define assembly objects, resources, and procedures; instantiating stored data to form a knowledge base; using a community detection algorithm to divide subassemblies and simplify assembly sequence planning; generating an optimal assembly sequence based on subassemblies and a priority relationship matrix; optimizing assembly process allocation and assembly unit layout; formulating SWRL rules and SPARQL query statements; and generating A‑code through reasoning using semantic web tools. Automated A‑code generation and verification ensure program correctness. By automatically extracting assembly information and generating assembly programs directly from the three-dimensional model of the product, the present invention eliminates the step of manually rewriting the assembly program based on product changes in traditional methods, significantly shortening the time for assembly line reconstruction, improving production line stability and product quality, and increasing production efficiency and the ability to respond to market changes.
Owner:TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL

A dynamic loading program method based on RISC-V

The application relates to a RISC-V-based dynamic loading program method, which converts a static library in an original project into an independent executable project, and comprises the following steps: modifying a link configuration file of the executable project to specify an executable project code address; modifying an executable project environment initialization process code, so that the executable project has the capability of returning to the original project, and the executable project register and the value stored in the general register of the original project are isolated from each other; the original project removes a static library file, and modifies a static library calling mode in the original project according to a static library function name into a dynamic calling executable project mode according to a function pointer; and a dynamic calling running interface function written in an assembly language is added to the original project, so that the original project can call an executable file generated by the executable project. The application provides a high-efficiency and stable dynamic loading program method under a RISC-V CPU environment without MMU.
Owner:ZHEJIANG DALI TECH

A vulnerability location method based on assembly language and deep learning

This paper proposes a high-precision vulnerability localization method based on assembly language and deep learning, which achieves high vulnerability detection capabilities and high localization accuracy. First, a C language program is compiled and disassembled to obtain assembly code containing address information. Then, addr2line is used to generate a mapping between assembly code and source code line numbers. The assembly code is then segmented into function units to obtain code blocks, which are encoded into vectors and used as input for a neural network model. Finally, a BILSTM-LOC model is proposed to learn vulnerability characteristics and predict vulnerability locations. Experimental results show that this method outperforms state-of-the-art vulnerability detection methods in both existing datasets and real-world software product vulnerability detection.
Owner:WUHAN TEXTILE UNIV

Single-code multi-platform compiling method and device

The invention provides a single-code multi-platform compiling method and device, and is suitable for the technical field of software development, the method comprises the following steps: receiving a configuration item, the configuration item at least comprising a plurality of commands and a specified platform; building a program running environment according to the configuration items, and adjusting a framework configuration trigger; a preset source code is converted into an assembly language, and the source code is obtained through compiling by a developer based on an API interface in advance; and based on a program running environment, according to the optimal configuration trigger and the command execution assembly language in the configuration triggers, obtaining an excited state product of the specified platform. According to the method and the device, a developer only needs to pay attention to service logic and set configuration items, self-adaptive compatible compiling of a single code and multiple platforms can be achieved, a large amount of manpower does not need to be consumed, meanwhile, the function consistency is guaranteed, and the user experience feeling is improved.
Owner:永赢金融租赁有限公司

System

To provide a system.SOLUTION: A system includes means for distributing a specific template, means for generating prompts using a block building language, and means for reducing token usage rates by compressing the generated prompts.SELECTED DRAWING: Figure 1
Owner:SOFTBANK GROUP CORP

Function identity prediction

This disclosure relates to predicting an identity of a function called within assembly language instructions. A processor identifies, in the assembly language instructions, a function call instruction to call the function; determines one or more input parameters of the function based on the assembly language instructions preceding the function call instruction; and creates a subset of the assembly language instructions comprising one or more of the assembly language instructions linked to the one or more input parameters. The processor creates a context input for a trained machine learning model comprising the subset of the assembly language instructions; and evaluates the trained machine learning model on the context input to generate an output corresponding to a predicted identity of the function.
Owner:COMMONWEALTH SCI & IND RES ORG

Programming language conversion system, programming language conversion method, and program

The object of the present invention is to provide a system capable of appropriately converting assembly language into other programming languages. [Solution] A programming language conversion system that converts an original program written in assembly language into a converted program written in a programming language other than assembly language, comprising: a generation unit that generates an intermediate program including original description items corresponding to the description of the original program, register items which are descriptions corresponding to each of a predetermined number of registers in the assembly language, and a first linkage item which is a description for reserving address space for a first instruction with a displacement specification using a first register among the predetermined number of registers; and a conversion unit that converts the intermediate program into the converted program.
Owner:유겐가이샤티아이에스

Binary software component identification method based on multi-modal feature fusion and large model assistance

The invention discloses a binary software component identification method based on multi-modal feature fusion and large model assistance, which belongs to the field of network security, and comprises the following steps of: performing static disassembly on a binary program file to be analyzed to automatically generate assembly language representation for software component analysis; multi-modal information such as a control flow structure, data flow dependence, an instruction sequence and a constant is fused, deep semantic modeling of a target binary system is achieved, and the recognition precision can be remarkably improved; a cross-platform comparative learning mechanism is adopted, so that the same function has unified embedded representation under different architectures, and good architecture robustness and generalization ability are achieved; a semantic abstract described by a natural language is provided for a function by combining the reasoning capability of a large language model, so that the interpretability and the component attribution judgment capability are improved; the method has good automatic analysis capability and adaptability, and can be widely applied to software supply chain traceability, vulnerability dependence propagation detection, code intellectual property compliance analysis and other actual scenes.
Owner:中央广播电视总台 +1

Programming language conversion system, programming language conversion method, and program

To provide a programming language conversion system, a method, and a program for appropriately converting an assembly language to another programming language.SOLUTION: A system comprises: an acquisition section for acquiring a first program that is at least partially described by an assembly language; an instruction extraction section for extracting an instruction for defining a constant, a variable, a numerical expression, and an instruction description area described by an assembly language by a predetermined name from the first program; a substitution section for substituting information showing a constant, a variable, a numerical expression, and an instruction description area in an assembly language convertible to an instruction of a conversion program described in a programming language different from the assembly language for a constant, a variable, a numerical expression, and an instruction description area defined by a predetermined name in the first program; and a conversion section for converting a substitution program that is the first converted program to a conversion program on the basis of conversion information for converting an instruction of an assembly language to an instruction of a programming language.SELECTED DRAWING: Figure 1
Owner:유겐가이샤티아이에스

Programming language conversion system, programming language conversion method, and program

A programming language conversion system, method and program for appropriately converting an assembly language into another programming language are provided. [Solution] The system includes an acquisition unit that acquires a first program, at least a portion of which is written in assembly language; an instruction extraction unit that extracts instructions from the first program that define constants, variables, formulas, and command description areas written in assembly language with specified names; a replacement unit that replaces constants, variables, formulas, and command description areas defined with specified names in the first program with information indicating constants, variables, formulas, and command description areas in assembly language that can be converted into instructions of a conversion program written in a programming language other than assembly language; and a conversion unit that converts the replaced first program, the replacement program, into a conversion program based on conversion information for converting instructions in assembly language into instructions in the programming language of the conversion program.
Owner:유겐가이샤티아이에스

Malicious code detection method, system and device based on multi-level feature fusion

The present invention relates to the technical field of computer malware detection, and provides a malicious code detection method, system and device based on multi-level feature fusion. The malicious code detection method based on multi-level feature fusion includes: constructing an RGB image based on a bytecode file, extracting and obtaining RGB image features; traversing the bytecode file to obtain N-Gram features; performing hash mapping on the N-Gram features to generate a sparse feature vector of a uniform dimension to obtain bytecode data statistical features; based on an assembly language source file, using a word embedding model to obtain instruction sequence features; fusing RGB image features, bytecode data statistical features and instruction sequence features to obtain fused features; based on the fused features, using a classifier to obtain a detection result. The present invention improves the detection accuracy and response speed of malicious code.
Owner:QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES) +1