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

32 results about "Library function" patented technology

Each public library functions to serve its community in different ways, but its core functions are: To make available all of the information, entertainment (within limits), and resources possible to every patron, regardless of age, financial status, or any other factors. To provide a quiet, safe place for study, research, reading, and learning.

Reverse de-signed binary code analysis method based on library function matching

ActiveCN121501338AReverse engineeringReverse analysisLibrary function
The invention discloses a de-signed binary code reverse analysis method based on library function matching. The method comprises the following steps of: obtaining de-signed binary codes and a candidate library file list thereof in the embedded equipment, and extracting a library function and information of each object file of each candidate library file; performing matching operation on each object file in sequence to establish a library function matching table; and acquiring addresses for calling other library functions in each library function, performing consistency comparison with the addresses of the successfully matched library functions, and confirming the calling relationship of the library functions, thereby determining the function of the de-signed binary code in the embedded equipment. According to the method, the library function in the de-signed binary code can be accurately identified, the calling relation is checked, and the method is suitable for component analysis and traceability of scenes such as computer programs, embedded firmware and DSP programs so as to accurately identify the function of the de-signed binary code in embedded equipment.
Owner:ZHEJIANG UNIV

Model Based API Mocking

The present technology, roughly described, provides for mocking an application program interface (API) using a large language model (LLM). The present system generates a prompt with API signature information and API desired behavior information. The prompt can include instructions, library functions, examples, executed programs, and a current function invocation, as well as other content. The prompt can be generated, and submitted to an LLM to mock an API and generate a response. The response can be audited and the LLM can be fine tuned to provide improved performance in subsequent calls.
Owner:SCALED COGNITION INC

Method and system for arbitrary-granularity execution clone detection

A method and apparatus are disclosed for enhancing operable functionality of input source code files from a software program by identifying a first code snippet and a first library function which have similar execution flow similarity measures by evaluating a first contiguous sequence of n items extracted from the first code snippet against a second contiguous sequence of n items extracted from the first library function using an Ngram threshold that is calculated for the first library function and one or more literals from the first code snippet so that the developer is presented with a library function recommendation which includes the first code snippet, the first library function, and instructions for replacing the first code snippet with the first library function.
Owner:DEVFACTORY INNOVATIONS FZ LLC

Compiling method, apparatus and computing device

This application provides a compilation method, apparatus, and computing device, relating to the field of compilation technology. The method includes: instrumenting source code to generate an instrumented executable file, wherein the executable file includes target library functions inserted at the instrumentation locations of each target function. These target library functions are used to call hardware counters to collect performance data during the execution of the executable file. Then, the executable file is run to obtain and generate a performance data file based on the count values ​​of the hardware counters corresponding to each instrumentation location; the source code is then compiled and optimized based on the performance data file to generate a target executable file. The technical solution provided by this application can expand the applicable scenarios of the compilation method.
Owner:HUAWEI TECH CO LTD

Apparatus and method for tagged indirect branch tracking (TIBT)

Embodiments are directed to tagged indirect branch tracking. For example, an example method comprises: loading a program which references one or more shared library functions in a shared library address region; initializing a corresponding tag table, including setting entries in the tag table corresponding to the shared library address region and address regions which should not be targeted by indirect branches as invalid; tagging a shared library function pointer with a valid tag value in an initial invocation of a shared library function; storing the valid tag value in an entry in the tag table corresponding to the shared library function; determining whether the valid tag value in the tag table matches a tag value provided by the shared library function pointer responsive to a subsequent invocation of the shared library function; executing the shared library function if the tag values match.
Owner:MEHTA KUNAL +2

Code summary extraction method and device, computer equipment

The application relates to a code summary extraction method and device and a computer device. The method comprises the following steps: inputting a detected code into a pre-trained function feature extraction model to obtain feature information of an unknown library function which is not pre-defined in the detected code; inputting the feature information of the unknown library function into a pre-trained function summary generation model to generate a first summary of the unknown library function according to a pre-set summary representation format; the summary representation format is used for representing a plurality of attributes of the unknown library function; supplementary information related to the unknown library function is obtained by network mining on the unknown library function, and a second summary of the unknown library function is generated according to the pre-set summary representation format according to the supplementary information; and the first summary and the second summary are merged to obtain a target summary of the unknown library function. According to the method, the summary of the unknown library function in the software code can be accurately extracted.
Owner:CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)

Signature-based automatic offload to hardware accelerators

Technology to automatically recognize library functions and substitute accelerator calls can include scanning program code to detect one or more of a library signature or an accelerator tag, substituting an accelerator call for a library function tagged with the accelerator tag upon detecting the accelerator tag, and upon detecting the library signature, performing one of substituting the accelerator call for the library function associated with the library signature or applying the accelerator tag to the library function associated with the library signature to indicate the accelerator call is to be substituted for the library function. When the accelerator tag is applied to the library function associated with the library signature, a subsequent scan is to be performed to detect the applied tag and substitute the accelerator call for the library function tagged with the accelerator tag.
Owner:INTEL CORP

End-to-end context isolation across microservices in a multi-tenant distributed cloud infrastructure

This disclosure relates to a context enforcement system that efficiently and securely protects tenant context information that travels across microservices in a multi-tenant distributed cloud computing system and protects against data leaks that often occur in conventional microservice management systems. For example, the context enforcement system ensures secure external and internal communications and context isolation by providing various shared library functions to microservices of a multi-tenant distributed cloud computing system. Additionally, the shared library provided by the context enforcement system improves the efficiency of the multi-tenant distributed cloud computing system by allowing microservices to focus on target operations rather than also maintaining and performing additional redundant functions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Semi-random automatic testing method and system for Android local library

PendingCN121364997AError detection/correctionProgramming languageJava bytecode
The embodiment of the invention provides a semi-random automatic testing method and system for an Android local library, and the method comprises the steps: taking an Android APK as input, and generating a local library function list; c / C + + codes in the APK are converted into Java byte codes, and the Java byte codes are repackaged to obtain a cross-language unified APK; based on the cross-language unified APK, constructing a composite call relation graph containing App states, UIs and cross-language function calls; according to the composite calling relation graph, guiding random testing so as to generate a state transition event library; based on the state transition event library, generating a test case pool by adopting a permutation and combination strategy; and selecting a test case from the test case pool, and executing a semi-random automatic test on the Android local library function. According to the invention, the pertinence, the coverage rate and the efficiency of the test can be obviously improved.
Owner:BEIJING UNIV OF TECH

End-to-end context isolation across microservices in a multi-tenant distributed cloud infrastructure

This disclosure relates to a context enforcement system that efficiently and securely protects tenant context information that travels across microservices in a multi-tenant distributed cloud computing system and protects against data leaks that often occur in conventional microservice management systems. For example, the context enforcement system ensures secure external and internal communications and context isolation by providing various shared library functions to microservices of a multi-tenant distributed cloud computing system. Additionally, the shared library provided by the context enforcement system improves the efficiency of the multi-tenant distributed cloud computing system by allowing microservices to focus on target operations rather than also maintaining and performing additional redundant functions.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Compiled workflow code for distributed compute engine

A distributed compute engine executes packages of compiled workflow source code that include statically linked instructions for interfacing with the distributed compute engine. The engine stores a compute engine library of computer-executable code and receives workflow source code from a user device, including a primary set of instructions for workflow logic and an interfacing set of instructions for calling library functions. A compiler analyzes the source code, identifies required functions and dependencies from the compute engine library, and generates compiled workflow code by statically linking referenced library code. The engine packages the compiled workflow code as a containerized workload containing application code, configuration files, environment variables, and library dependencies, and delivers it to executor nodes. The engine accesses and partitions data, assigns stages and partitions to executors, and coordinates execution.
Owner:HAEVEK INC

Automatic function abstract generation method based on large model

The invention discloses an automatic function abstract generation method based on a large model. The method comprises the following steps: step 1) designing an abstract grammar and a related analysis tool in an EBNF (Extended Bass Normal Form) form; 2) aiming at input information of a function to be abstracted, screening similar use cases, grammar information and semantics of each instruction in abstract definition from the abstract knowledge base, and constructing cue words by using modeling knowledge such as methods; 3) transmitting the cue word to the large model and extracting a function abstract from the output of the large model; 4) performing grammar test and semantic test on the function abstract generated by the large model in the step 3), if the test is passed, entering the next step, otherwise, repeating the step 3), transmitting error information to the large model, and regenerating the abstract; 5, when a tripartite library function is encountered, a matched abstract is searched from the abstract library according to a function signature, the abstract is analyzed into a data structure convenient to use by a static analysis tool based on the constructed analysis tool, substitution operation is carried out, and simulation of the side effect of the function is achieved.By means of the method, the precision of static program analysis can be improved.
Owner:NANJING UNIV

Library function calling method and device

The invention discloses a library function calling method and device, and belongs to the field of computers. The method comprises the following steps: determining dynamic libraries on which a target application program depends during running, wherein the dynamic libraries comprise a first type of dynamic libraries needing transparent transmission and a second type of dynamic libraries not needing transparent transmission; loading the second-class dynamic library, the third-class dynamic library and the fourth-class dynamic library into a memory; in response to a function calling request of the target library function, if the function calling request is triggered by the target application program, calling the target library function from a second-class dynamic library in the memory; if the function calling request is triggered by a library function in a third-class dynamic library, a target library function is called from a fourth-class dynamic library in a memory, and the target library function comprises library functions with the same functions in the second-class dynamic library and the fourth-class dynamic library. Therefore, the second-class dynamic library of the first platform does not need to be subjected to unvarnished transmission, the packaging function does not need to be constructed, and the workload of constructing the packaging function during transplantation of the target application program is greatly reduced.
Owner:HUAWEI TECH CO LTD

Code identification method and device, electronic equipment and computer readable storage medium

The invention discloses a code identification method and device, electronic equipment and a computer readable storage medium, relates to the technical field of computers, can be used for identifying risk codes, and comprises the steps that a function calling relation chain of a target application is obtained, and the function calling relation chain is used for describing functions with calling relations in the target application; identifying a user-defined function and a library function in the function calling relation chain; determining a target function library to which the library function belongs; and if the target function library is changed, determining the code of the custom function as a target code needing to be checked. According to the method, blindness of code inspection can be avoided, so that effectiveness of code inspection is improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

A user space program Inlinehook method based on loongarch architecture and medium

This application discloses a user-space program inline hooking method and medium based on the Loongarch architecture, mainly relating to the field of user-space program technology. It addresses the problems of existing solutions being unable to hook functions of the application itself or functions loaded by static libraries based on the Loongarch architecture, unable to hook the behavior of applications calling ordinary library functions, and heavily reliant on the system kernel version. The method includes: jumping to the second-level jump board of the hook module through a preset first-level jump board assembly code; saving the current execution context through the second-level jump board, and executing the preset unified hook logic execution function; calling a user-defined function through the preset unified hook logic execution function; after executing the user-defined function, jumping back to the second-level jump board, jumping to the repaired assembly instruction code, and jumping to an offset of 6 bytes from the beginning of the hooked function.
Owner:中孚安全技术有限公司

Control program, control system and control method for multiplexed system

The present application relates to a control program for a multiplexed system, which contains control logic for controlling a first execution environment and a second execution environment that are multiplexed. This control program is executed on a computer device to call a user-defined library function from an operating element that forms the control logic and to retrieve an intermediate operating value of the user-defined library function in the standby side of execution environment from an interface area that prestores an intermediate operating value of the user-defined library function in the operating side of execution environment.
Owner:MITSUBISHI HEAVY IND LTD

Computer with target library application graphical user interface

1. The name of the design product: computer with target library application graphical user interface. 2. The use of the design product: for running programs and display. 3. The design points of the design product: the graphical user interface content in the screen. 4. The picture or photo that best indicates the design points: interface change state diagram 1. 5. The computer is a common design, and other views are omitted. 6. The use of the graphical user interface: to display or edit the content added to the target library in the system. 7. The human-computer interaction mode of the graphical user interface: the main view is the main interface of the target library function of the system; in the main view, clicking on any target "expands" to appear interface change state diagram 1; in the result list of interface change state diagram 1, clicking on any target library name appears interface change state diagram 2; in the result list of interface change state diagram 2, clicking on any account name appears interface change state diagram 3. It should be noted that the gray areas corresponding to the main view and each interface change state diagram are deleted content screens, and this area is not related to the design points of the product.
Owner:湖南四方天箭信息科技有限公司

A third-party library function abstract construction method for static vulnerability detection

The application provides a third-party library function abstract construction method for static vulnerability detection, comprising: establishing a program P abstract as a two-layer abstract (G, S) and a vulnerability specification (delta src , delta sink ), wherein G is a program dependence graph PDG of the program P, S is a vulnerability-specific abstract of the program P, and delta src and delta sink represent attributes that should be met by source nodes and sink nodes; a two-layer abstract design is provided: one layer uses a linear-size program intermediate representation called a program dependence graph to compactly encode path conditions, and the other layer encodes vulnerability-specific attributes of reachability, the abstract construction method provided by the application can greatly reduce the time of abstract generation and the space of abstract storage, and the third-party library function abstract construction method provided by the application can greatly improve the detection speed and save the detection memory when detecting.
Owner:XIAMEN UNIV

Program coroutine processing method and device, storage medium and program product

The invention provides a program coroutinization processing method, a program coroutinization processing device, a storage medium and a program product, and relates to the field of computers. The method comprises the following steps: pre-loading a specified dynamic library, wherein the dynamic library comprises an interception function of a standard library function; when a thread program calls the standard library function, the interception function carries out interception, and business logic of the standard library function is executed in a coroutine environment. Therefore, the thread program is transparently converted into the coroutine program, the stock program does not need to be modified, and pure coroutinization of all application logics including the main function is achieved.
Owner:XIAN TONGXING HENGYAO INFORMATION TECHNOLOGY CO LTD

A library function matching-based de-symbol binary code reverse analysis method

ActiveCN121501338BReverse engineeringReverse analysisLibrary function
The application discloses a kind of based on library function matching's desymbolic binary code reverse analysis method.Method includes: obtaining desymbolic binary code in embedded device and its candidate library file list, extract the library function and its information of each object file of each candidate library file;Matching operation is successively carried out to each object file to establish library function matching table;The address of other library functions is called in each library function, then consistent comparison is carried out with the address of the library function matched successfully, confirms the call relationship of library function, to determine the function of desymbolic binary code in embedded device.The method of the application can accurately identify the library function in desymbolic binary code and check call relationship, suitable for component analysis and tracing in computer program, embedded firmware, DSP program and other scenes, to accurately identify the function of desymbolic binary code in embedded device.
Owner:ZHEJIANG UNIV

Library function typesetting method and device, electronic equipment and readable medium

This application relates to a method, apparatus, electronic device, and readable medium for typesetting library functions. The method includes: reading keywords from a first library file, wherein the first library file is an initial typesetting file containing multiple library functions; using the keywords to cut out multiple function blocks from the first library file; and writing the multiple function blocks into a second library file according to a preset template to complete the reformatting of multiple library functions in the first library file. By typesetting the function blocks in the library file, the position of each function block is determined, solving the problem that additional time is required to find the location of function blocks when adding them.
Owner:KYLAND TECH CO LTD

Compiled workflow code for distributed compute engine

PendingUS20260099381A1Resource allocationLink editingUser deviceParallel computing
A distributed compute engine executes packages of compiled workflow source code that include statically linked instructions for interfacing with the distributed compute engine. The engine stores a compute engine library of computer-executable code and receives workflow source code from a user device, including a primary set of instructions for workflow logic and an interfacing set of instructions for calling library functions. A compiler analyzes the source code, identifies required functions and dependencies from the compute engine library, and generates compiled workflow code by statically linking referenced library code. The engine packages the compiled workflow code as a containerized workload containing application code, configuration files, environment variables, and library dependencies, and delivers it to executor nodes. The engine accesses and partitions data, assigns stages and partitions to executors, and coordinates execution.
Owner:HAEVEK INC

Enclave program framework based on libos dynamic TCB generation system and method

A kind of LibOS-based Enclave program framework dynamic TCB generation system and method, similarity comparison unit obtains all required system calls according to the symbol of application program and Libc, and all system calls of LibOS are obtained using similarity matching;According to LibOS entry function information, the code not used in LibOS and dynamic library function is deleted by deleting unit, to obtain the result after reduction;According to the symbol information of application program and dynamic library call graph information, the function not required in dynamic library file is deleted by linker modification unit, to obtain the dynamic library file after reduction;According to the interp section information of application program, all dynamic library files required by application program are loaded to enclave by dynamic library loading unit, to realize more accurate specific system call.
Owner:SHANGHAI JIAOTONG UNIV

Control program, control system, and control method for multiplexing system

A control program for a multiplexing system includes a control logic for controlling a multiplexed first execution environment and a multiplexed second execution environment. The control program causes the computer device to execute the following steps: invoking the user-defined library function from the computation elements constituting the control logic, and introducing an intermediate computation value of the user-defined library function in the execution environment on the standby side from the interface region; an intermediate operation value of a user-defined library function in the execution environment of the operation side is pre-stored in the interface area.
Owner:MITSUBISHI HEAVY IND LTD

Code abstract extraction method and device and computer equipment

The invention relates to a code abstract extraction method and device and computer equipment. The method comprises the following steps: inputting a detected code into a pre-trained function feature extraction model to obtain feature information of an unknown library function which is not predefined in the detected code; inputting the feature information of the unknown library function into a pre-trained function abstract generation model, and generating a first abstract of the unknown library function according to a preset abstract representation format; the abstract representation format is used for representing a plurality of attributes of the unknown library function; performing network mining on the unknown library function to obtain supplementary information related to the unknown library function, and generating a second abstract of the unknown library function according to the supplementary information and a preset abstract representation format; and combining the first abstract and the second abstract to obtain a target abstract of the unknown library function. By adopting the method, the abstract of the unknown library function in the software code can be accurately extracted.
Owner:CHINA ELECTRONICS RELIABILITY AND ENVIRONMENTAL TESTING INSTITUTE ((THE FIFTH INSTITUTE OF ELECTRONICS MINISTRY OF INDUSTRY AND INFORMATION TECHNOLOGY) (CHINA SAIBAO LABORATORY)

Online programming method, device and equipment based on cockpit voice large model

The invention provides an online programming method, device and equipment based on a cockpit voice large model, and the method comprises the steps: constructing a software module which is used for obtaining function calling interfaces of a plurality of sub-modules in a cockpit bottom layer; constructing a software system based on a function calling interface obtained by the software module, packaging the function calling interface into a library function by the software system, further packaging the library function by adopting a standard programming language to form a fixed calling interface, and supporting calling of the fixed calling interface in a pseudo-code form by the software system; receiving voice interaction information between the target personnel and the cockpit, processing the voice interaction information by using a voice large model, identifying functional requirements of a driver, and forming structured requirement information; generating a code set for calling the software system based on the structured demand information and the calling logic of the pseudo code; and compiling the code set to generate a customized application program capable of running in the cabin.
Owner:DONGFENG MOTOR GRP

Automatic system call filtering method based on source code hybrid analysis

The invention discloses an automatic system call filtering method based on source code hybrid analysis, which comprises the following steps of: constructing a mapping relation table of a standard library function and system call by analyzing an operating system source code library and a standard C library source code; performing dynamic and static combination analysis on the target program, including static analysis: extracting a standard library function by analyzing a source code AST or ELF file, and generating a first system call list in combination with the mapping relation table; dynamic analysis: tracking the system call in the starting stage of the target program through ptrace to generate a second system call list; combining the first system call list and the second system call list which are subjected to deduplication to generate a white list, and filtering system calls outside the white list by using a secure-bpf mechanism; according to the method, the system call which can be called by the target program executed on the operating system can be effectively reduced, and the attackable surface of a kernel is reduced.
Owner:YANGZHOU UNIV

Test script generation method and computer readable storage medium

The embodiment of the invention discloses a test script generation method and a computer readable storage medium, and relates to the field of automatic testing, by adding labeling information to a reference text of a library function, once labeling of the reference text is completed, the process of converting a test case into a test script does not need any manual operation any more, and the efficiency is improved. And the automation degree of test script generation is high. The accuracy of converting the test cases into the test scripts is high, and the correctness of the test cases can be verified by using the test scripts in real time. The method comprises the following steps: adding labeling information to a reference text of a library function to obtain a labeled text; analyzing the labeled text, and generating a mode command table and an identification data table of the library function; and converting a test case into a test script according to the mode command table and the identification data table.
Owner:MAIPU COMM TECH CO LTD

Micro-enclaves for instruction-slice-grained contained execution outside supervisory runtime

The present disclosure describes a micro-enclave (μenclave) framework including μenclave operations, which are library functions that split off from normal code execution. The μenclaves contain a mix of stateful and stateless operations, including such steps as reading or writing various hardware registers or resource counters in operating system, timer setup, deferring preemption events by a small value within a threshold set by the operating system, and the like. The operations in a μenclave, even though performed at a user level privilege, are compiled by a separate compilation sequence and installed unforgeably as static and unforgeable procedure collections that do not yield control to an operating system scheduler.
Owner:INTEL CORP