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

33 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

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

ActiveUS12417084B2Biological modelsProgram documentationCoding blockAssembly language
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

PendingCN121433697ASoftware engineeringData packAssembly language
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

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

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

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

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:유겐가이샤티아이에스

Time watermark verification method and device and computer program product

The embodiment of the invention discloses a time watermark verification method and device and a computer program product. According to the main technical scheme, the method comprises the steps that credible first absolute time is obtained in advance, a time interface is called to obtain system monotone time so as to obtain first relative time, and system starting time is determined and stored according to the first absolute time and the first relative time; in response to an event of triggering generation of the watermark, acquiring system monotone time to obtain second relative time, and acquiring system starting time; determining a second absolute time by using the second relative time and the system starting time; detecting whether a time forgery risk exists or not by comparing the second absolute time with the time used for generating the time watermark; in response to the existence of the time forgery risk, executing risk processing; the time interface comprises at least one of a C / C + + language layer time interface and an assembly language layer time interface. By detecting the time forgery risk, the authenticity of the generated time watermark is ensured, and the credibility of the watermark image is improved.
Owner:HUIHAI GALAXY (CHENGDU) TECHNOLOGY CO LTD

Automobile electronic component test system and method

The invention provides an automobile electronic component-based test system and method, and the system employs a micro-service architecture and front and rear end separation design to construct an electronic outside rear-view mirror pressure test platform with high concurrent processing capability. The method comprises the steps of vehicle machine connection, automatic pressure test platform entering, task configuration, task execution, signal comparison, report generation and the like. Compared with a traditional Android system, an ark compiler carried by the swan mongolian system can conduct static compiling optimization on codes, and a high-level language is directly compiled into a machine language. And the Android system compiles the high-level language into an assembly language, and then converts the assembly language into a machine language. In general, the Swan Mongolian system remarkably improves the starting, responding and executing efficiency of the application program, and the related testing efficiency is also improved.
Owner:CHERY AUTOMOBILE CO LTD

Cross-language function randomization method and system based on assembly representation and electronic equipment

The invention relates to the technical field of computers, in particular to a cross-language function randomization method and system based on assembly characterization and electronic device.The method comprises the steps that the current compiling process of a multi-language program is obtained; based on a preset standardization strategy, carrying out standardization processing on the current compiling process of the current multi-language program to obtain a unified assembly-level intermediate representation; based on the unified assembly-level intermediate representation, function boundary and pointer reference information is collected on the assembly language level, and assembly-level metadata is obtained; and performing static binary rewriting on the executable file based on the assembly-level metadata, and generating the randomized variant, thereby solving the problem of low architecture compatibility and language compatibility in related technologies, and improving the capability of resisting cross-language attacks using mixed language characteristics.
Owner:WUHAN UNIV

Large language model-based software reverse engineering assistant

Systems and methods of utilizing a large language model (LLM) to reverse engineer software is provided. The method includes obtaining sample assembly language from coded information or data. The sample assembly language is input to a machine learning (ML) model trained to recognize when the sample assembly language includes malicious code. The method further includes identifying, from the sample assembly language, a functionality implemented by the sample assembly language, where the functionality is indicative of whether the sample assembly language includes the malicious code. The method further includes generating, by a processing device, a natural language indication of the functionality implemented by the sample assembly language. The natural language indication is an output of the ML model.
Owner:CROWDSTRIKE

Improved design method for booting of ZYNQ series chip

This invention discloses an improved design method for booting ZYNQ series chips, comprising the following steps: the PMU resets and wakes up the ZYNQ chip management module and loads the BootROM code; the BootROM reads the boot image from an external storage device and performs a search and verification; tasks to be determined before image file relocation are completed; the PL bit stream is moved from the image file; the secondary boot APP is copied and moved from the image file; the secondary boot APP is used to complete the secondary booting of the business APP in the image file; and the execution address is translated to the entry start address of the business APP using assembly language. This invention replaces the ZYNQ chip boot FSBL with a smaller secondary boot APP and runs the program in AXI SRAM and AHB SRAM, effectively expanding the memory to 300K. Furthermore, running the program on AXI SRAM improves the program's running speed; additionally, it reduces the actual power consumption of the ZYNQ chip and shortens the program burning time.
Owner:SICHUAN JIUZHOU AIR TRAFFIC CONTROL TECHNOLOGY CO LTD

Efficient collaborative task scheduling method based on RSIC-v architecture embedded system

The invention relates to an efficient collaborative task scheduling method based on an RSIC-v architecture embedded system, which belongs to the technical field of resource coroutine scheduling, and comprises the following steps: external trigger condition priority: dividing external input requests of the RSIC-v architecture embedded system into two types, i.e., a common type request and an event type request, the event type request is processed preferentially and triggers corresponding task scheduling; efficient state management: introducing a state machine model, and carrying out state management simplification of a coroutine so as to reduce data structure updating and resource consumption during state switching; according to the lightweight context switching mechanism, a user mode coroutine scheduler is designed, scheduling of an operating system is not needed, only necessary register states of a PC and an SP are stored, and the core function of the scheduler is achieved by using an assembly language of an RSIC-V architecture chip instruction set; the method has the beneficial effects that the scheduler performs coroutine scheduling according to the state of the request resource of the task / coroutine.
Owner:LANYING TECHNOLOGY (SHANGHAI) CO LTD

Data communication architecture and test method for adjusting automatic matching record of resistance value of resistor

The invention discloses a data communication architecture and a test method for adjusting automatic matching records of resistance values of resistors. The data communication architecture and the test method comprise data communication architecture design and assembly language code design. Instruments and equipment used in the data communication architecture design are a programmed resistance box and a universal meter. Two ends of the high-precision programmed resistance box are connected to a to-be-debugged resistance area of a product circuit board component through wires to realize resistance input, and one end of the high-precision programmed resistance box is connected to a terminal through a USB serial port to realize resistance debugging operation. Through an RS232 communication mode, electrical performance parameters of the six-bit and half-digital multimeter equipment are collected in a set period, and data are transmitted to a terminal. According to a communication protocol of an instrument device, a language command is set, an assembly program is developed to control the instrument device, collected data interaction is achieved, algorithm logic circulation and judgment conditions are set, preset debugging and testing actions are formed, an optimal matching resistance value is automatically output, a data recording form is generated, and automation of the debugging and testing process is achieved. The problems that manual operation is low in efficiency and prone to errors are solved.
Owner:TIANJING AVIATION ELECTRO-MECHANICAL CO LTD

Method and apparatus for generating reconfigurable processor functions

ActiveCN114936027BVersion controlText processingComputer architectureNumerical verification
The application discloses a reconfigurable processor function generation method and device, a storage medium and an electronic device. The reconfigurable processor function generation method comprises the following steps: obtaining a current assembly instruction according to an assembly language of a current reconfigurable processor function; configuring row and column items in a spreadsheet according to the current assembly instruction and reconfigurable processor resource information involved; defining a numerical verification condition in a current assembly instruction row according to an effective numerical condition of the current assembly instruction; receiving an input numerical value according to the numerical verification condition; and generating a reconfigurable processor function according to the row and column items in the spreadsheet and the input numerical value. The spreadsheet document can be read by various tools and converted into an input available for an assembler tool, so that the technical problem of low code execution efficiency caused by the fact that the source code written by a user does not conform to the programming specification of the reconfigurable processor in the prior art is solved.
Owner:SHANGHAI QINGWEI INTELLIGENT TECH CO LTD

Method and device for expanding kernel

The invention relates to the field of computers, in particular to a method and device for expanding a kernel. An existing kernel extension method needs to modify a large amount of codes, so that kernel extension efficiency is low. In the application, the kernel address which can be used by the injection code is set as the isolation address on the assembly language level, and the injection code can access the address but cannot access kernel addresses except the address, so that the injection code can be isolated, and the injection code is prevented from obtaining information stored in other kernel addresses. Therefore, on the premise that the security requirement of kernel extension is met, only the kernel address which can be accessed by the original assembly code needs to be subjected to restrictive processing, and the original assembly code does not need to be modified too much, so that the kernel extension efficiency is improved.
Owner:HUAWEI TECH CO LTD

System and methods for end-to-end provable guarantees for safety critical computer platforms

A system and methods are disclosed for end-to-end provable guarantees for safety critical computer platforms. The technical problem addressed by this invention is the need to provide assurance that a complex safety-critical computer platform behaves as intended and is secure, particularly in safety-critical contexts where errors or malicious attacks can have devastating effects. Despite advances in methodologies and toolchains for high-assurance software production, there remains a significant gap between theoretical guarantees and practical implementation at the operation instruction level (e.g., Assembly language instruction, byte-code instruction, digital circuit state-machine instruction etc.). The present invention overcomes this limitation by providing a system for verifying key security properties for safety-critical computer platforms at the operation instruction level without reliance on custom generation pipelines or certified compilers, thereby enabling the practical development of more secure and reliable computer platforms.
Owner:UBERSPARK INC

A Clone Code Detection Method and System for Mining Features from Assembly Language

The present invention discloses a clone code detection method and system for mining features from assembly language. The method includes: obtaining a target code and a comparison code; generating a target assembly code set and a comparison assembly code set based on multiple target compilation platforms; using the Asm2vec model to generate a corresponding target semantic embedding feature set and a comparison semantic embedding feature set; respectively using the BERT model for the target code and the comparison code to generate a target text embedding feature and a comparison text embedding feature of the corresponding high-level source code; concatenating the target semantic embedding feature set and the target text embedding feature to form a target code feature representation; concatenating the comparison semantic embedding feature set and the comparison text embedding feature to form a comparison code feature representation; inputting the target code feature representation and the comparison code feature representation into a classification model of a DNN deep neural network to output a detection result. It can effectively solve the semantic cloning problem caused by the diversity and flexibility of source code.
Owner:NANKAI UNIV