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

204 results about "Binade" patented technology

In software engineering a binade is the set of numbers in a binary IEEE 754 floating-point format that all have the same exponent. In other words, a binade is the interval [2ⁿ, 2ⁿ⁺¹) for some value of n.

Big language model acceleration system and method based on binary quantization

The invention discloses a large language model acceleration system and method based on binary quantization, and the system comprises an extraction and quantization unit, a grouping packaging and splicing unit, an operation realization unit, and an inverse quantization and output unit, and comprises the specific steps: extracting parameters needing matrix / vector multiplication in a model; performing binary quantization processing on parameters of the model matrix / vector multiplication operation; splicing the grouped binary quantized parameters into single integer data bit by bit according to an order when matrix / vector multiplication is calculated by adopting a grouping and packaging algorithm; matrix / vector multiplication which is equivalent to original model reasoning and is friendly to hardware is executed; the result is converted back to the floating point data type through an inverse quantization algorithm, a final calculation result of the large language model in the matrix / vector multiplication operation is obtained, the final calculation result is transmitted into a subsequent network layer, and calculation acceleration for the matrix / vector multiplication operation in the large language model is completed. According to the method, the accuracy is ensured, and meanwhile, the speed is increased during large language model reasoning.
Owner:ZHEJIANG UNIV

Deployment of machine learned models to plurality of devices

A system and method are provided for converting a machine learned model into a format which is executable by a runtime interpreter on a plurality of different types of devices. For that purpose, a representation of the machine learned model 100 may be provided in form of a computational graph. The computational graph may be parsed 300 to identify operations of the machine learned model and data relations between the operations. Code may be dynamically generated 320 by including functions from a library which represent the operations of the computational graph and by generating execution logic which calls the functions in accordance with the data relations in the computational graph. The code 140 may be compiled 340 to obtain a binary intermediate representation 160 which may be easily deployed to a plurality of different types of devices and which may avoid the computational load and memory allocation associated with directly executing a machine learned model defined in a high-level programming language or using model training tools.
Owner:NETWORK OPTIX INC

Binary component vulnerability identification method based on large language model

The invention belongs to the technical field of computer system security, and particularly relates to a binary component vulnerability recognition method based on a large language model. The method solves the problems of various equipment types, various instruction set architectures, different compilers, different compiling optimization levels and the like in the current Internet of Things binary component vulnerability recognition, and comprises the following steps: S100: collecting various vulnerability description information of an Internet of Things component, extracting data from the vulnerability description information, and constructing a text information data set; s200, performing text segmentation processing on a long text in the text information data set; s300, inputting the constructed text information data set into a large language model for training and optimization; and S400, detecting the binary component by using the trained vulnerability recognition large model to obtain a binary component vulnerability detection result report.
Owner:TAIYUAN UNIVERSITY OF TECHNOLOGY

Generating natural language description of a software code

Systems, methods, and software can be used to generate natural language description of a software code. In some aspects, a method includes: processing a binary code by using a file encoder model to obtain a file embedding vector; and processing the file embedding vector to obtain a text description of the binary code by using a large language model (LLM).
Owner:CYLANCE INC

Automated code signature generation for windows .net binaries

Various embodiments provide a system, method, and device for generating a signature for Windows .NET binaries. The method incudes (i) generate a file signature based on code using a hashing technique, and (ii) classify a sample using the file signature based on the code.
Owner:PALO ALTO NETWORKS INC

System and method for binary code decompilation using machine learning

Systems and methods for decompiling binary code or executables are provided herein. In some embodiments, a method of training a machine learning algorithm for decompiling binary code into readable source code includes collecting a data set of source code and at least one element associated with the source code; providing binary code using the data set; training a model configured to decompile the binary code into source code using the data set by: decompiling the collected binary code into intermediate source code; comparing the source code in the data set with the intermediate source code; and updating the model and repeating the training if the source code in the data set differs from the intermediate source code by more than a threshold amount.
Owner:UAB 360 IT

Variable-precision parallelization index floating-point number storage and calculation integrated method based on FPGA

The invention belongs to the field of computers, and discloses a variable-precision parallelization index floating point number storage and calculation integrated method based on an FPGA (Field Programmable Gate Array), which specifically comprises the following steps of: inputting decimal floating point data; an index floating-point number binary sequence format is defined, decimal floating-point data values are converted into the index floating-point number binary sequence format, parameters of the index floating-point number binary sequence format comprise sign bits, index bits, mantissa bits, specified index offset and mantissa bit width, and the mantissa bit width is dynamically adjusted according to calculation requirements; based on decimal floating point data numerical values, extracting parameters of an index floating point number binary sequence, and storing the parameters in a register of the FPGA as operands; performing displacement sorting on the two operands stored in the register, and calculating an absolute value of a difference between exponent bits and a difference between mantissa bits of the two operands; the problems that in the prior art, a floating-point number storage scheme is low in calculation efficiency and insufficient in precision in an application scene where the dynamic range changes drastically are solved.
Owner:SOUTHEAST UNIV

Binary program vulnerability detection method and system based on large decompilation model and EAST features

The invention relates to the technical field of computer program detection, in particular to a binary program vulnerability detection method and system based on a large decompilation model and EAST features. A vulnerability function data set and a system call function data set are used for performing fine adjustment on a pre-trained large decompilation model LLM4Decompact; performing grammar and semantic optimization on the pseudo code which is output by the anti-compiler Ghidra and is subjected to the decompilation by using the LLM4Decompile; extracting a corresponding enhanced abstract syntax tree EAST from the decompilation pseudo-code after grammar and semantic optimization of the decompilation large model after fine tuning, and performing feature coding on the enhanced abstract syntax tree by using an EASTNN model; and inputting the feature vectors of the coded non-obfuscated binary program to be detected and the vulnerability function data set into a Siamese network for similarity calculation, and evaluating the vulnerability of the non-obfuscated binary program according to a similarity calculation result. According to the method, by using the fine-tuned decompilation large model and the enhanced abstract syntax tree feature coding, the accuracy and efficiency of non-confusion binary program vulnerability detection are improved.
Owner:Chinese People's Liberation Army Cyberspace Force Information Engineering University

Code running method and device for cross-platform programming language, equipment and medium

The invention discloses a code running method and device for a cross-platform programming language, equipment and a medium. The method comprises the steps of determining a script identifier of a to-be-run source code in response to a running operation on the to-be-run source code based on a second programming language; under the condition that the binary file associated with the script identifier is found in a preset cache library, deserializing the found binary file to obtain a to-be-processed code; and based on a target function library corresponding to the first programming language, performing annotation processing on the to-be-processed code, and running the to-be-processed code subjected to annotation processing on the target platform to obtain a target running result. The problems of low code processing efficiency, high cost and poor running result accuracy caused by rewriting a set of codes according to the programming language specification of another platform in the prior art are solved, and the effect of improving the code running efficiency and correctness of the cross-platform programming language is achieved while the code processing cost is reduced.
Owner:SUZHOU TONGYUAN SOFT CONTROL INFORMATION TECH CO LTD

Large model assisted Fuzz test Harness generation method and system

The invention provides a large model assisted Fuzz test Harness generation method and system, and the method comprises the steps: migrating a library of a QNX platform to a Linux environment for operation, and carrying out the glue code packaging of interface difference and system call difference through the generality that the library of the QNX platform and the Linux environment share a POSIX standard, thereby achieving the automatic adaptation of key API and context constraint; then analyzing binary semantics by means of an intelligent Agent constructed by a large model, automatically generating a Harness skeleton, focusing potential dangerous points (such as memory management, character string processing functions and the like), generating an initial seed in combination with a static or dynamic analysis result, and finally executing a Fuzz test in a controllable execution environment. And high coverage and rapid vulnerability positioning of the multi-dimensional attack vector of the target library are realized. The technical problems that Harness writing highly depends on expert experience, a customized generation strategy for target binary semantics is lacked, and comprehensive understanding on the binary semantics and context constraints is lacked are solved.
Owner:CHINESE PEOPLES LIBERATION ARMY ARMY SERVICES UNIVERSITY

Runtime check compiler optimization

Methods, computer program products, and systems are presented. The method computer program products, and systems can include, for instance: performing static analysis of program source code defining a computer program, wherein the computer program comprises a pointer operation callee and at least one caller that can pass a pointer parameter to the pointer operation callee; generating, in dependence on the static analysis of program source code, binary code executable so that the pointer operation callee, in runtime, performs a runtime check for determining pointer alias status of the pointer operation callee; and generating, in dependence on the static analysis of program source code, executable binary code executable so that the pointer operation callee, in runtime, performs selecting and activating an executable code path in dependence on a result of the runtime check.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Sampling from binomial distribution in secure multi-party computation

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating a random noise value for use in providing differential privacy in multiparty computation. One of the method includes receiving, by a first party participating in a multiparty secure computation (“MPC”) instance, a share of a first n-bit random binary number and a plurality of function table segments; generating a share of a second n-bit random binary number; calculating a first value based on a comparison between the share of the first and second n-bit random binary numbers; reconstructs an overall value of a comparison between the first and second n-bit random binary numbers; and determining a share of the random noise value based on the overall value and the plurality of function table segments.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD +1

Processing method of multi-operand carry lookahead parallel addition

The invention discloses a multi-operand carry lookahead parallel addition processing method, which comprises the following steps of: firstly, performing column addition operation, taking the same-power bits of each addend as operands, obtaining an accumulation part, BP [i] and an accumulation carry value BG [i] according to a specific logic equation, fixing the digit of the BP [i], enabling the digit of the BG [i] and the number of the operands to be in a logarithmic relationship, and realizing carry (pre-) compression. Then, a multi-bit carry advance algorithm is adopted, multi-bit carry advance budgeting is carried out through a recursive expression on the basis of the binary system principle, and the efficiency bottleneck of multi-operand additive operation is broken through; the method has wide application prospects in the fields of signal processing, automatic control, artificial intelligence, high-performance calculation and the like.
Owner:姚武军

Machine Learning Using Four-Bit Binary Data Formats

A computing system can obtain a machine-learned model comprising one or more parameters having a four-bit binary format. The four-bit binary format can correlate a plurality of sixteen respective binary values to a plurality of sixteen corresponding numerical values represented by the binary values. The sixteen numerical values can be symmetric about a median. A plurality of step sizes between the sixteen numerical values can be non-uniform. The computing system can obtain one or more input values for one or more layers of the machine-learned model. The computing system can process, based at least in part on the one or more parameters having the four-bit binary format, the one or more input values to generate one or more output values.
Owner:GDM HOLDING LLC

PnP-compatible unique EDID dynamic generation method and device

The invention belongs to the technical field of product ID generation, and discloses a PnP-compatible unique EDID dynamic generation method and device, and the method comprises the steps: calculating a first binary length of a first character string; if yes, performing filling operation on the binary bit of the first character string to obtain a target character string with the binary bit of 512; expanding the 32-bit words of the first number block to obtain 32-bit words of a second number block, and performing cyclic compression of a second number round on the 32-bit words of the second number block to obtain binary variable values of the first number bits; and carrying out interception and modulo 216 operation on a binary variable value of a specified interval span in the binary variable values of the first number bits, and embedding a corresponding field of the original EDID to obtain a unique EDID of the product equipment. It is ensured that the PnPID in the EDID is globally unique, matching and installation of the corresponding drive are accurately triggered, and manual equipment distinguishing depending on a user is reduced; and the compatibility hidden danger caused by the drive matching problem when the equipment is accessed to the operating system supporting the PnP is also avoided.
Owner:SHENZHEN PROITAV TECH CO LTD

Rounding hexadecimal floating point numbers using binary incrementors

Rounding hexadecimal floating point numbers using binary incrementors, including: incrementing, by a first incrementor, a first subset of bits of an operand comprising a binary hexadecimal floating po
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

Systems and methods for enhanced eigenvalue inversion using quantum conditional logic

Embodiments use quantum conditional logic in the Quantum Phase Estimation Algorithm (QPEA) to compute eigenvalues prior to inversion. Embodiments estimate the eigenvalues of a unitary, U=eiÂt, generated by a N×N Hermitian matrix Â. The binary representations of the n-bit estimations of eigenvalues of  may be encoded in these states: |λi=|b1b2 . . . bn; λi is an estimation of the i-th eigenvalue, excluding degeneracy, and .b1b2 . . . bn is its binary representation. To perform the eigenvalue inversion, an n-qubit controlled Ry rotation with angle λi / 2(n−1) conditioned on seeing |b1b2 . . . bn is applied for each possible n-bit binary string b1b2 . . . bn (2n values). The overall unitary is called a “uniformly controlled Ry rotation” in literature.
Owner:JPMORGAN CHASE BANK NA

Improved entropy bypass code processing

The invention discloses bypass decoding by an arithmetic decoder. A request to decode a plurality of binary bits from a compressed bitstream is received. Each of the bins is equal probabilistic. The arithmetic decoder maintains the offset and range. A decoding range is established based on the range. The binary values of the bins are decoded by: for each of the bins, performing the following steps: comparing the offset with a midpoint of the decoding range to determine the binary value of each bin, where the binary values are decoded from the compressed bitstream; conditionally updating the midpoint based on the comparison; and halving the midpoint such that an equal probability is maintained for the next bin after decoding each bin. A binary value of binary bits is then provided.
Owner:GOOGLE LLC

Entropy coding of motion vector difference

To provide a decoder and an encoder for decoding a data stream to be coded by using a binarization of horizontal and vertical components of a motion vector difference.SOLUTION: In a decoder, a binarization is equal to a code and a cut-off value in a shortening monomial member of horizontal and vertical components in a first interval of a region of the vertical and horizontal components that are lower than the cut-off value, or is equal to a combination of a suffix of a code shape of the shortening monomial member for the cut-off value in a second interval of the region of the horizontal and vertical components that are higher than them and a suffix of an Exp-Golomb code shape of the vertical and horizontal components. The decoder includes an entropy decoder that leads the code in the shortening monomial member from a data stream by using a context adaptive binary entropy decoding, and a reproduction device for reproducing a video on the basis of an integer value of the horizontal and vertical components of a desymbolizer for making the binarization of a motion vector difference syntax element to be a non-binarization and an integer value of the horizontal and vertical components of the motion vector difference.SELECTED DRAWING: Figure 8
Owner:DOLBY VIDEO COMPRESSION LLC

A power grid fault diagnosis method and system based on differential evolution logic operation

This invention belongs to the field of power grid fault diagnosis technology and discloses a power grid fault diagnosis method and system based on differential evolutionary logic operations. The method includes: collecting the action information of protection devices and circuit breakers in the power system; filtering out a set of candidate elements that have experienced faults based on preset association rules between faulty elements and protection / circuit breaker actions; establishing a 0-1 integer programming model based on the determined protection action information, circuit breaker action information, and candidate element set; and solving the 0-1 integer programming model using an improved differential evolutionary algorithm based on logic operations to determine the fault state of the candidate elements. This invention directly encodes individuals using binary, eliminating the need for floating-point to binary conversion. It also constructs a binary mutation operator and an improved crossover operator based on logic operations and employs adaptive parameter adjustment to balance the population diversity and search efficiency of the algorithm.
Owner:GUIZHOU UNIV

Detecting backdoors in binary software code

Systems, methods, and software can be used to detect backdoors in binary software code. In some aspects, a method comprises: obtaining, by a server, binary software code corresponding to source code; generating, by the server, a backdoor abstraction of the binary software code; and generating, by the server, a backdoor risk assessment based on the backdoor abstraction of the binary software code.
Owner:BLACKBERRY LTD

Method and system for matching source code and binary code

State of the art code matching approaches have the disadvantage that they rely on the line numbers provided by source code and binary parsers to establish mapping and do not work since changes introduced by compiler may be much more complex. Some approaches do not work as the source code of application and its binary version may not share the vocabulary. Machine learning based techniques have the disadvantage that they require significant amount of training data, which may not be available in abundance. Method and system disclosed herein provide a mechanism matching score for each of a plurality of code fragments in the intermediate representation of the source code file for each of a plurality of binary fragments in the intermediate representation of the binary file.
Owner:TATA CONSULTANCY SERVICES LTD

Cross-ISA extension program translation method based on binary rewriting

The invention discloses a cross-ISA (Industrial Standard Architecture) extension program translation method based on binary rewriting, which comprises the following steps of: 1) naming an instruction set ISA of a program to be translated as an original ISA, and naming an instruction set ISA on target hardware for running original ISA extension as a target ISA; 2) performing comparative analysis on a binary file corresponding to the original ISA extension compilation and a binary file corresponding to the target ISA extension compilation to obtain an instruction needing to be translated relative to the target ISA extension in the original ISA extension, and segmenting the instruction into a plurality of program basic blocks needing to be translated; 3) allocating a jump instruction and an address space for translating and storing translated codes to each program basic block; (4) distributing the program basic blocks into the corresponding address spaces through a jump instruction to carry out static binary translation, and generating a static file; and (5) distributing a loading address for the static file by utilizing a loader according to the address distribution information in the static file, and loading the static file to a corresponding position.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Data serialization method, deserialization method, and method for passing instruction parameters between processes

The present invention discloses a data serialization method, a deserialization method, and an inter-process instruction parameter passing method. For each instruction number and its corresponding instruction parameter type, the mapping relationship is written in a configuration file, and the structure information of the instruction parameter type is written. Then, the configuration file is compiled into a binary obj configuration file. In subsequent serialization and deserialization, the instruction parameter type corresponding to the instruction number is found through this obj configuration file, and for the instruction parameter, each field is serialized and deserialized according to the preset serialization method and deserialization method inherent in its field type based on its field composition. It achieves automated processing of instruction data of all instruction parameter types, converts the existing manual hard-coding method into a method of leading and processing data through a configuration file, improves programming and execution efficiency, is easy to understand and maintain, has high accuracy, and good effects.
Owner:HUNAN GREATWALL INFORMATION FINANCIAL EQUIP

Floating point unit exception handling method and device of industrial safety operating system and medium

The invention provides a floating point unit exception handling method and device of an industrial safety operating system and a medium. The method comprises the following steps: hooking a floating point exception handling function at an undefined instruction exception entry, and enabling the exception of a floating point unit to enter a unified handling flow; reading an abnormal comprehensive register of the processor to identify the floating point operation exception type, and reading a program counter register to obtain a trigger instruction address; performing standardized calculation on the operation under abnormal conditions according to a binary floating point arithmetic standard, generating result data corresponding to the operation, and forming abnormal mark information; writing the result data back to the destination register, and calculating a next instruction address according to the instruction set rule; and outputting the trigger instruction address, the exception type, the source operand and the result data as exception information through an interface from the kernel to a user side. According to the method, instant processing of the abnormal trigger point, continuous execution of the instruction, real-time output of the abnormal context and reduction of positioning and recovery time delay can be realized.
Owner:BEIJING HOLLYSYS TECHNOLOGY RESEARCH INSTITUTE CO LTD

Method for the execution of a binary code of a computer program by a microprocessor

A method for the execution of a binary code defining a data structure including a particular field to be read using a pointer, this method including writing, to the main memory, the value of the particular field associated with a first identifier of a pointer that points directly to this particular field, this identifier being determined from an identifier of the particular field that differs for all of the fields of the data structure that are adjacent to the particular field, and then constructing a pointer that points directly to this particular field, this construction including determining an identifier of this constructed pointer, and then checking that the identifier constructed in step b) corresponds to the identifier associated with this particular field in step a), and when these pointer identifiers do not match, triggering the signaling of an execution fault.
Owner:COMMISSARIAT A LENERGIE ATOMIQUE ET AUX ENERGIES ALTERNATIVES

A method for collecting evidence of control logic attacks on industrial controllers

This invention discloses a method for collecting evidence from control logic attacks on industrial controllers. The method primarily involves extracting PLC binary control application files by simulating the PLC's upload function; performing reverse engineering on the extracted binary files, including identifying the PLC binary's assembly instruction set architecture, performing disassembly analysis, identifying the PLC programming language, and generating an assembly log file; and performing attack detection, attack location, attack analysis, and attack recovery based on the generated assembly log file. This method effectively collects evidence from control logic attacks on industrial controllers without requiring PLC source code, plant behavior models, or any network traffic. The method can automatically execute the entire process within acceptable time and memory overhead.
Owner:ZHEJIANG UNIV +1

Binary code-oriented static taint analysis system and method

PendingCN121786833APlatform integrity maintainanceData dependency graphAlgorithm
The invention relates to the field of intelligent analysis, and particularly discloses a binary code-oriented static taint analysis system and method, which introduces an on-demand micro-symbol execution mechanism on the basis of basic data flow analysis through binary lifting and control flow diagram construction, that is, aiming at memory ambiguous nodes in a data dependence diagram, a micro-symbol execution mechanism is introduced on the basis of the basic data flow analysis; refined alias analysis is achieved through reverse instruction slicing and constraint solution, then an enhanced data dependency graph is generated, and path-sensitive taint propagation iteration is conducted on the basis to generate a final taint state table. In this way, complex dynamic memory addressing can be effectively recognized, taint chain breakage and misinformation explosion caused by ambiguity ignoring or excessive approximation are avoided, and resource allocation of an analysis engine is remarkably optimized.
Owner:BEIJING JIUZAI AVIATION TECH CO LTD

Binary function symbol recovery method based on LLM fusion interprocess context

The invention relates to the technical field of network security and software reverse engineering, and discloses a binary function symbol recovery method based on LLM fusion interprocess context. The method comprises the following steps: firstly, extracting multi-dimensional feature information from a target binary function, wherein the multi-dimensional feature information comprises a function body pseudo code, a call point context code snippet, call chain information and a character string parameter transmitted by a call point; then, the multi-dimensional information is structured and constructed into prompts, the prompts are input into a large language model which is finely adjusted by a specific task for reasoning, and finally candidate function names are generated. The invention further discloses an LLM fine tuning technology fusing the multi-dimensional context information. According to the LLM fine tuning technology, efficient parameter fine tuning is carried out on the basic model by constructing a training sample set containing a function body, a calling context and character string parameters. According to the method, the inter-process context information is systematically introduced, so that the accuracy and semantic fitness of binary function symbol recovery are remarkably improved.
Owner:SICHUAN UNIV

A fast solution method for the reciprocal of floating point numbers based on simple SIMD instructions

ActiveCN118885151BReduce requirements to support complex instructionscalculation speedConcurrent instruction executionComputations using residue arithmeticAlgorithmSIMD
The present invention discloses a method for quickly solving the reciprocal of a floating point number based on a simple SIMD instruction, by introducing calculation parameters related to the reciprocal ky Construct a calculation formula for the approximate reciprocal of a positive floating-point number, and convert the reciprocal operation into a combination of simple SIMD instructions; then, based on the calculation accuracy of the reciprocal calculation and the value range of positive floating-point numbers, use simple SIMD instructions to estimate the calculation parameters in segments. ky The value of ky Segmented estimation value table, for input vector, according to calculation accuracy and element value range from ky Get the corresponding calculation parameters from the segmented estimate table ky , and then use simple SIMD instructions to calculate the integer value of the binary integer part of each element, and finally based on the calculation parameters ky The reciprocal of the element is calculated according to the constructed formula, the binary integer value of the integer part of the element and the binary representation of the element to complete the reciprocal calculation of the input vector, which effectively improves the calculation speed of the processor for the reciprocal operation and reduces the requirement for the processor to support complex instructions.
Owner:北京麟卓信息科技有限公司