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

50 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.

Program code optimization using iterative application of machine learning model

A computing device may insert a library function into a set of code. The computing device may use the library function to capture one or more metrics associated with execution of the set of code in a testing environment. The computing device may evaluate the processing times to identify a portion of the set of code with a processing time that is highest compared to processing times of other portions of the set of code. The computing device may subdivide the portion of the set of code into subdivided portions of the set of code. The computing device may train a machine learning model, utilizing the subdivided portions of the set of code, to obtain a trained model. The computing device may recommend, using the trained machine learning model, optimization code to improve the processing time as the set of code is modified.
Owner:INTERNATIONAL BUSINESS MACHINE CORPORATION

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

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

Method and system for recommending function name of lapack code library based on thought chain and logical reasoning

The application discloses a lapack code library function name recommendation method and system based on a thinking chain and logical reasoning, and comprises the following steps: S1, constructing a lapack function database, a keywords database and a cot question and answer example; S2, according to the cot prompt content obtained by adding the cot question and answer example to the input programming requirement, adopting LLM to deduce the key attributes of the lapack function required for programming except the implementation method, and checking the key attributes; S3, using the checked key attributes to search the available implementation method in the lapack function database, and using LLM to select the used implementation method; S4, according to the checked key attributes and the implementation method selected by LLM, searching in the lapack function database to obtain a first function name search result; S5, according to the programming requirement, searching in the keywords database to obtain a second function name search result; and S6, comprehensively searching the two function name search results, and logically deducing the recommended lapack code library function name. According to the application, the lapack code library function name recommendation is realized, and a large language model does not need to be fine-tuned.
Owner:SUN YAT SEN UNIV

Load chunk instruction and store chunk instruction

Processing circuitry (16) and an instruction decoder (9) supports a load chunk instruction and a store chunk instruction which can be useful for implementing memory copy functions and other library functions for manipulating or comparing blocks of memory. Number of bytes to load or store in response to these instructions is determined based on an implementation specific condition. As well as loading or storing bytes of data, the load chunk instruction and (10) store chunk instruction also designated a load / store length value as data corresponding to an architecturally visible register, which provides an indication of a number of bytes loaded or stored.
Owner:ARM LTD

A Method, Device, Equipment and Medium for Identifying VxWorks Library Functions

The embodiments of the present application provide a method, device, equipment and medium for identifying VxWorks library functions. In the method for identifying VxWorks library functions, specific functions for positioning and their corresponding target functions are determined, and a first library function set and a second library function set are respectively determined based on the specific functions and the target functions. The first library function set and the second library function set are identified, and each library function included in the VxWorks file to be identified is determined according to the identification result. There is no need to identify and verify each library function in the sample VxWorks file one by one, reducing the number of function identifications, thereby improving the efficiency of VxWorks library function identification.
Owner:NSFOCUS INFORMATION TECHNOLOGY CO LTD +1

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)

Risk detection method and device, computer equipment, readable storage medium and program product

The invention relates to a risk detection method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: analyzing code data of a to-be-detected item to obtain a library interface function list; dividing a plurality of library functions contained in the library interface function list through a preset security risk condition to obtain a first type library function set and a second type library function set, performing value flow graph construction to obtain a plurality of paths, and determining code features corresponding to the paths; through a preset link detection algorithm, on the basis of code features corresponding to the paths and path description data, the paths are detected to obtain abnormal paths, automatic generation of a path starting point set and an end point set is guaranteed, nodes are prevented from being lost, and detection comprehensiveness is guaranteed; and the paths are uniformly identified by combining multi-dimensional features and an anomaly detection algorithm, so that the effectiveness of abnormal path detection can be ensured.
Owner:CHINA TELECOM CLOUD TECH CO LTD

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

Library playback function graphical user interface for electronic devices

1. Name of the product of this design: Graphical user interface with library playback function for electronic equipment. 2. Application of this design product: for electronic equipment. 3. The key design point of this design product lies in the content of the graphical user interface. 4. The picture or photo that best illustrates the design points: Interface change state diagram 3. 5. Conventional design, omitting rear view, elevation view, left and right view. 6.Purpose of Graphical User Interface: Graphical user interface for library playback function of electronic devices. The main view is the application and service page in standby mode. Click the More button on the interface to enter the interface change state Figure 1. Click the library in the interface change state diagram 1 to enter the interface change state diagram 2. Interface change state diagram 2 is the library function playlist page. Click any card to enter interface change state diagram 3. Interface change state Figure 3 shows the library player page, where users can play and pause audio. Click the return button in the interface change state diagram 3 to enter the interface change state diagram 4. Interface change status Figure 4 shows the library function list page with a player showing currently playing content.
Owner:NINGBO FOTILE KITCHEN WARE CO LTD

Front-end-based request processing method, device, terminal, and storage medium

The present invention provides a front-end-based request processing method, device, terminal and storage medium, the method comprising: obtaining a request method for updating a front-end project; performing logical processing on all Ajax methods in the request method through a preset high-order function of a preset script to obtain a processed request method, wherein the preset high-order function includes a first preset function and a second preset function; redefining the processed request method through the preset script to obtain a unified object request method; constructing the unified object request method to generate a corresponding library function file; the present invention realizes secure processing of request parameters, efficient construction and loading of resources, and dynamic function expansion through unified processing, security enhancement and efficient construction process for Ajax requests.
Owner:PING AN BANK CO LTD

User space program Inlinehook method based on Loongarch architecture and medium

The invention discloses a user space program Inlinehook method based on a Loongarch architecture and a medium, and mainly relates to the technical field of user space programs. The method and the device are used for solving the problems that in an existing scheme, a function of an application program based on a Loongarch architecture or a function loaded by a static library cannot be hooked, a behavior of calling a common library function by the application program cannot be hooked, and implementation of system kernel versions is seriously depended. Comprising the following steps: skipping to a second-level springboard of a hook module by presetting a first-level springboard assembly code; the current execution site is stored through a second-level springboard, and execution is performed by skipping to a preset unified hook logic execution function; calling a user-defined function through a preset unified hook logic execution function; and after the user-defined function is executed, skipping back to the secondary springboard, skipping to the repaired assembly instruction code, and skipping to the head of the hook function which is shifted by 6 bytes.
Owner:中孚安全技术有限公司

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

Binary program processing method, device and equipment

The invention discloses a binary program processing method, device and equipment. Comprising the following steps: acquiring a low-level intermediate representation obtained by disassembling a target binary program; in the low-level intermediate representation, identifying a calling point with a clearly defined library function, and determining an anchor variable in the low-level intermediate representation according to a variable related to the calling point; in the low-level intermediate representation, acquiring a context related to the anchor variable; according to the context related to the anchor variable, matching with a known behavior of a library function, and inferring missing source code level information of the low-level intermediate representation; and correcting the low-level intermediate representation according to the missing source code level information to generate a high-level intermediate representation.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

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

Application log output control method and device, electronic equipment and storage medium

The invention discloses an application log output control method and device, electronic equipment and a storage medium, and relates to the field of application logs, and the method comprises the steps that a plurality of applications exist based on an Android system, and each application outputs respective log content of the application through log service; the method comprises the following steps: according to a log service log service, storing log contents in a log file (log files); wherein each application has access to the log service log service through the Log library function library, and a pre-output log is sent to the log service log service; wherein the Log library function library is a dynamic library, and the Log library function library is loaded into each application process; according to the Log library function library as a dynamic library, the Log library function library is loaded into each application process, and the Log library function library consumes computing resources in each application process; according to the Log library function library, computing resources are consumed in each application process, monitoring logic is added in the Log library function library, and the performance bottleneck of log service is avoided.
Owner:CHINA FAW CO LTD +1

Binary security reinforcement method based on dynamic link process randomization

The invention relates to a binary file security reinforcement method based on dynamic link process randomization. The method comprises the following steps: firstly, adopting an encryption and decryption loading technology in a module loading stage to realize information protection work of a binary executable file; secondly, implementing a dynamic library function name randomization technology in a symbol analysis process so as to cope with a library function name replacement attack; and finally, designing a GOT table entry randomization technology based on a timestamp in an address relocation link, and enhancing the defense capability of a global offset table. And through a synergistic effect mechanism of the three, a whole-process security protection system for the dynamic link process is formed. The invention particularly provides a layered progressive dynamic randomization defense strategy for common attack vectors (including but not limited to attack forms such as ROP chain construction and GOT table hijacking) in modern control flow hijacking attacks. Experimental results show that the method can break the predictability of an attacker to the memory layout, and meanwhile, the overall performance loss ratio of the system is kept to be 1.56 averagely.
Owner:FUDAN UNIVERSITY

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