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

45 results about "Static library" patented technology

In computer science, a static library or statically-linked library is a set of routines, external functions and variables which are resolved in a caller at compile-time and copied into a target application by a compiler, linker, or binder, producing an object file and a stand-alone executable. This executable and the process of compiling it are both known as a static build of the program. Historically, libraries could only be static. Static libraries are either merged with other static libraries and object files during building/linking to form a single executable or loaded at run-time into the address space of their corresponding executable at a static memory offset determined at compile-time/link-time.

Wi-Fi chip WAPI protocol implementation system and method based on static library integration

The invention discloses a Wi-Fi chip WAPI protocol implementation system and method based on static library integration, and particularly relates to the technical field of wireless local area network security, comprising a management frame processing module, a WAI protocol frame monitoring module, a key negotiation module and a cryptographic algorithm module, the management frame processing module, the WAI protocol frame monitoring module, the key negotiation module and the cryptographic algorithm module are packaged into a static library, and are linked to an original software architecture of Wpapplicant and Hostrid. According to the Wi-Fi chip WAPI protocol implementation system and method based on static library integration, the management frame processing module, the WAI protocol frame monitoring module, the key negotiation module and the cryptographic algorithm module are packaged into the static library and are linked to the original software architecture of wpasupplicant and hostrid, so that the complexity of implementing the WAPI function facing the Wi-Fi chip is reduced, and the WAPI protocol implementation system and method based on static library integration have the advantages that the management frame processing module, the WAI protocol frame monitoring module, the key negotiation module and the cryptographic algorithm module are integrated into the static library and are linked to the original software architecture of wpasupplicant and hostrid;
Owner:崔继耀

Performance optimization method and device of graphics processor, electronic equipment and storage medium

The invention discloses a performance optimization method and device of a graphics processor, electronic equipment and a storage medium, and relates to the technical field of computers, the performance optimization method comprises the steps that basic block execution data of a target program can be dynamically collected based on instrumentation logic compiled by a static library, and performance bottlenecks are accurately positioned by analyzing the data; meanwhile, the control flow and resource allocation are optimized in combination with the characteristics of the graphic processor micro-system structure, so that the technical problems of low efficiency of the control flow, resource imbalance, low memory access efficiency and the like of the graphic processor micro-system structure level can be solved; the technical effects of improving the calculation efficiency of the graphics processor, optimizing the resource utilization rate, reducing the energy consumption and improving the overall performance of the program are achieved.
Owner:JINAN INSPUR DATA TECH CO LTD

Application generation method and device, equipment and storage medium

The invention provides an application generation method and device, equipment and a storage medium. The application generation method comprises the steps of obtaining a function code file and an interface library code file of a target application program of a desktop end version; compiling the function code file to obtain an intermediate code file; compiling the interface library code file to obtain a static library file; linking the intermediate code file and the static library file to obtain a target code file capable of running in the browser; and generating a target application program of the webpage end version according to the target code file. The application development efficiency is improved, and the application development cost is reduced.
Owner:SHENZHEN FUTU NETWORK TECH CO LTD

Data processing method and device, equipment, storage medium and product

The embodiment of the invention discloses a data processing method and device, equipment, a storage medium and a product. The method comprises the steps that a source code of a static library and an application program archive file are obtained, the application program archive file comprises a first code segment, a dynamic library corresponding to the static library is generated based on the source code of the static library, and the dynamic library is stored in the dynamic library; and writing the dynamic library into the application program archive file to obtain an updated application program archive file, and replacing the first code segment in the updated application program archive file with the second code segment to obtain a debugging file corresponding to the source code of the static library. Therefore, by converting the static library into the dynamic library and writing the dynamic library into the application program archive file, the source code of the static library can be embedded into the library of the application program archive file, so that the debugging file corresponding to the source code of the static library is obtained. The embodiment of the invention can be applied to a cloud technology scene; for example, the application program is a cloud application, and the source code of the static library is stored in a cloud server.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Static library file processing method and related equipment

The invention provides a static library file processing method and related equipment. The method comprises the steps of obtaining a to-be-processed first static library file and a corresponding header file; generating a second static library file including a preset operation based on the header file; and combining the first static library file and the second static library file to obtain a target static library file.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

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

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

RISC-V Chip Dynamic Library Mechanism Implementation System, Chip and Related Methods

The present application provides a system, a chip and related methods for implementing a dynamic library mechanism of a RISC-V chip. In the system, an address setting module is used to set the entry function address of a dynamic module to a preset memory address. A mapping construction module is used to construct a separate mapping relationship between the input parameters of the entry function and the dynamic library functions based on the preset memory address. A position-independent loading processing module is used to perform position-independent loading processing on function variables, global variables and dynamic library functions, so that the data in the dynamic module has the ability to be loaded to any storage address in the volatile storage module. In this way, the dynamic library function mechanism based on the RISC-V chip is realized, and the update efficiency of the functional module is no longer restricted by the influence of the static library.
Owner:ANHUI LISTENAI CO LTD

Executable file-oriented homonymy heterogeneous static library dual-domain isolation construction method

PendingCN122634580ATheoretical computer scienceStatic library
The present application relates to the technical field of computer software, and in particular to a same-name heterogeneous static library dual-domain isolation construction method for executable files, which first completes environment initialization and creates an independent copy for the static library to be isolated, determines a target interface symbol set and an excluded symbol set, and analyzes the binary structure of the static library to complete target symbol positioning; a globally non-conflicting symbol rewriting mapping table is generated, selective binary rewriting is performed only on the target symbols, and an isolated variant static library and a matching header file adapter are generated; finally, the original library and the isolated library are deployed in separate domains, dual-domain isolation construction and full-process verification are completed, and a controllable cross-domain call can be realized with a cross-domain bridging layer. This method does not require modification of the source code and does not intrude on the business, and can effectively realize dual-domain complete isolation of the same-name static library and guarantee the stability of software construction and operation.
Owner:SHENZHEN HUITU XINSHI TECHNOLOGY CO LTD

A method and apparatus for generating a software system for debugging

The application discloses a generation method of a software system for debugging. GN is used to generate a Ninja build file for a current software system, and a link response file is generated when the Ninja build file is required to build. Ninja is used as a build tool for the current software system, and the modified Ninja build file is used for building. A target path is newly created, and a linker script, a link response file, static library files and object files listed in the link response file in the current software system are copied to the target path. Absolute paths of all object files and static library files recorded in the link response file in the target path are updated. A CMake special configuration file is modified, and all directories and files in the target path constitute a software system for debugging. The application generates a simplified software system for debugging from an originally huge software system, and the copyright is protected.
Owner:ASR MICROELECTRONICS CO LTD

Multi-instance implementation method and system of relay protection packaging model and terminal equipment

The invention is suitable for the technical field of power system simulation, and provides a multi-instance implementation method and system for a relay protection packaging model and terminal equipment, and the method comprises the steps: obtaining a packaging model, the packaging model is a binary digital simulation model which is formed by modifying, packaging and compiling source codes in the relay protection equipment and can be called by a simulation system; generating a static library file of the packaging model; renaming the first data segment of the static library file to obtain a renamed static library file; wherein the first data segment is a data segment corresponding to a relay protection function; generating a dynamic library file of the packaging model according to the renamed static library file; wherein the dynamic library file is used for generating respective model instances of the plurality of relay protection devices. And simulation of a plurality of relay protection devices can be realized more efficiently.
Owner:CYG SUNRI 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:中孚安全技术有限公司

Static library cross-platform generation method and device, equipment and storage medium

PendingCN122308836ATheoretical computer scienceStatic library
This invention discloses a method, apparatus, device, and storage medium for cross-platform static library generation. It belongs to the technical field of cross-platform static library construction. The method includes: acquiring a matrix calculation algorithm file, project configuration information, and target platform parameters; constructing a controller, calling a matrix calculation code conversion tool to convert the initial code in the matrix calculation algorithm file into target code, and extracting the dependency information corresponding to the target code; generating a cross-platform compatible build configuration file based on the project configuration information, the target platform parameters, and the dependency information; and performing a compilation and build operation based on the build configuration file to generate the target static library. This achieves the technical effect of improving cross-platform adaptability.
Owner:DONGFENG MOTOR GRP

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

ActiveCN115543266BStatistical strength refinementFirst execution time statisticsHardware monitoringSoftware designSoftware engineeringStatic library
The application provides a data processing method and device, electronic equipment and storage medium. In the compilation preparation phase in the process of compiling the model, there is no "waiting for the time length consumed by performing some steps in the process of compiling other models" in the first execution time length consumed by the process of respectively performing each preparation step. Thus, the first consumed time length consumed in the compilation preparation phase in the process of compiling the model can be more accurately counted. In the static library creation phase in the process of compiling the model, there is no "waiting for the time length consumed by performing some steps in the process of compiling other models" in the second execution time length consumed by the process of respectively performing each creation step. The second consumed time length consumed in the static library creation phase in the process of compiling the model can be more accurately counted. In conclusion, the accuracy of the total time length consumed in the process of compiling the model counted can be improved.
Owner:WUBA

Development tool and method based on audio DSP chip algorithm

PendingCN121578993ADigital data protectionCAD circuit designDynamic compilationAlgorithm
A development tool based on an audio DSP chip algorithm comprises a UI tool, an external algorithm library and a DSP framework, and the UI tool comprises a basic algorithm module, a graphical algorithm building module, an algorithm flow chart conversion configuration file module, an algorithm list generation module, an algorithm compiling intermediate file decryption module and an algorithm dynamic compiling module; the external algorithm library comprises a basic algorithm library, an intermediate file compiling module and an intermediate file encryption module; the DSP framework comprises a source code SDK (Software Development Kit) and a static library calling framework. The invention further discloses a development method based on the audio DSP chip algorithm. According to the method, the algorithm library and the tool chain are modified, the algorithm list needing to be used is output and dynamically compiled, the firmware size and memory consumption are reduced, and due to the change of the development process, the cooperation between customers and an original chip factory can be reduced, the development process is simplified, the development efficiency is improved, the maintenance difficulty is reduced, and thus the development cost is reduced.
Owner:JUDI (SHANGHAI) TECHNOLOGY CO LTD

Data processing method, device and equipment, readable storage medium and program product

The embodiment of the invention provides a data processing method and device, equipment, a readable storage medium and a program product, and relates to the fields of artificial intelligence, maps, instruction optimization and the like, and application scenes include but are not limited to game fluency improvement scenes. The method is executed by a target client and comprises the steps that a state information playback file is obtained, and the state information playback file comprises global state information of an object set of game playing pictures in the running process of an original game application program loaded on the target client; determining a target program based on the original game application program and a preset static library; reading global state information from the state information playback file through the target program, and determining a target statistical file based on the read global state information; determining a target game application program based on the original game application program and the target statistical file, the target game application program being used for instruction rearrangement of the at least two clients; therefore, the instruction optimization efficiency is improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

WebAssembly compiling method oriented to Cangjie programming language

The invention discloses a WebAssembly compiling method for Cangjie language. The method comprises the following steps: firstly, compiling a Cangjie source code and a standard library code into LLVM IR by using the front end of a Cangjie compiler, and optimizing an opt tool of a modified Cangjie LLVM; a built-in function which cannot be directly converted into a WebAssembly instruction is newly added and converted into Pass processing; an LLVM rear end of the Emscripten is modified so as to process a related LLVM IR instruction, and the processed IR is compiled into a WebAssembly target file; meanwhile, the modified Emscripten is used for compiling a Cangjie standard library and a C / C + + code during operation into a WebAssembly static library; then, linking the target file with the static library to form a JavaScript file and a WebAssembly file; and finally, the verification of the JavaScript file is operated through a Node.js or http website. According to the method, on the basis of LLVM and Emscripten, by adding or modifying LLVM Pass, transplantation of Cangjie projects to a Web platform is achieved.
Owner:HUNAN UNIV

A method, device, computer equipment and storage medium for implementing function hook

The present invention discloses a method, device, computer equipment and storage medium for implementing function hook. The method comprises: writing a target function address and an identifier identifying the target function address into a shared memory, wherein the target function address is obtained from a preset front header file; when a hook condition is met, obtaining the target function address and the identifier from the shared memory; determining a hook function corresponding to the identifier; and injecting the hook function into the target function address to implement function hook. By using this method, the target function address in a static library can be effectively obtained, thereby expanding the scope of hook.
Owner:BONREE DATA TECH CO LTD

Static library reading and writing method and system based on ICD communication

The invention discloses a static library reading and writing method and system based on ICD communication, and relates to the technical field of data processing. According to the system, the Hash data structure is used for reading ICD data, assignment and value operation of the data are both carried out in the Hash data structure, an ICD file and development software are decoupled, a developer does not need to spend too much time in data processing of the ICD file, and updating of the ICD file does not affect the overall structure of the software; the ICD file is separated from data processing, updating of the ICD file does not affect software data processing, a user can update or obtain a signal and a value corresponding to the ICD only by calling a corresponding Hash data interface to input / obtain a target'signal name and value ', and a developer can quickly carry out tedious data processing of software development and ignoring the ICD. The problems that codes are prone to errors, high in code redundancy, low in maintainability and the like due to the fact that fixed bit operation needs to be used in assignment and value taking operation of a large number of ICD signals in software development are solved.
Owner:CHENGDU KAIDI FEIYAN TECH CO LTD

Method and device for checking operability of static library and electronic equipment

PendingCN120045435AError detection/correctionCpu architectureStatic library
The embodiment of the invention provides a verification method and device for the operability of a static library and electronic equipment, and relates to the technical field of data processing. The method comprises the following steps: acquiring a first file of a pre-created target static library; obtaining a pre-created target dynamic library project, and setting a target file on which the target dynamic library project currently depends; respectively operating the target dynamic library project in each central processing unit architecture to obtain each compiling result of the target static library in each central processing unit architecture; for any central processing unit architecture, if it is determined that the compiling result in the target static library central processing unit architecture meets the preset condition, it is determined that the target static library can run in the central processing unit architecture. According to the embodiment of the invention, the target dynamic library project is set to depend on the to-be-verified target static library, so that the target static library is compiled along with the running of the dynamic library project, the runnability of the static library under each CPU architecture can be accurately verified, and the released SDK is ensured to be normal.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Method for converting deb package or rpm package of application into kaiming package

The invention relates to the field of software package conversion, in particular to a method for converting a deb package or an rpm package of an application into a kaiming package, and the method comprises the following steps: S1, obtaining a preset metadata file template; s2, creating a software name directory according to the name of the kaiming software package, and storing a metadata file template in the software name directory; s3, creating a file directory under the software name directory, and decompressing a deb package or an rpm package of the target application to the file directory; s4, obtaining a dependent package name according to the decompressed file content; s5, according to the names of the dependency packets, decompressing all the missing dependency packets to a file directory, and returning to the step S4; s6, creating an exct catalogue and a var catalogue under the files catalogue, storing a desktop file and an icon file after decompressing a deb package or an rpm package of the target application under the exct catalogue, and deleting a static library file, a pkgconfig file and a share / man file after decompressing the deb package or the rpm package of the target application; s7, searching under the file directory according to the name of the binary file of the started target application, and storing the binary file of the started target application in a bin directory; and S8, a kaiming software package is directly exported through a command kaiming build-export. The technical problems of high learning cost, high trial and error cost and high time cost in software package format conversion are solved.
Owner:KYLIN CORP

A method and apparatus for generating a customized software system

The application discloses a kind of generation methods of customized software system.Compiles complete embedded software system, and each software module generates static library file in output directory.For current customer, customer-level open source software module and customer-level closed source software module are divided.New target path is established.For customer-level open source software module, customer-level closed source software module and system-level closed source software module, different contents are copied into target path.In the subdirectory of each customer-level closed source software module under target path, the original GN construction configuration file config.gni is modified.All files and subdirectories under target path constitute the customized embedded software system for current customer.The application distinguishes the software module open source or closed source for customer by whether there is source file or the original or modified GN construction configuration file, and is simple and convenient to realize and manage.
Owner:ASR MICROELECTRONICS CO LTD

Configuration method and apparatus

The present application provides a configuration method and apparatus, which can be applied to the field of intelligent vehicles. The method comprises: acquiring an operating system object configuration file of an application program and a service code of the application program; converting the operating system object configuration file of the application program to obtain an operating system object configuration code; compiling the operating system object configuration code and the service code of the application program to obtain a static library of the application program; and linking the static library of the application program and a static library of an operating system kernel to obtain an executable file. Embodiments of the present application can be applied to the development process of intelligent vehicles or electric vehicles, and there is no need for a plurality of suppliers to combine operating system object configuration files, helping to improve the efficiency of developers, and saving communication costs and time costs associated with human labor in the development period.
Owner:YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Method and system for merging xcframework into framework

The invention relates to the technical field of computer communication, in particular to a method and system for combining xcframework into a framework, the method comprises the steps that a plurality of xcframework libraries needing to be processed are prepared and placed in the same directory, and the xcframework libraries are arranged in a simulator architecture or a real machine architecture; all. Xcframework libraries in the catalogue are traversed; an arm64 framework in the simulator framework is removed; combining the simulator architecture with the real machine architecture; the combined architecture is output to a specified directory, and all corresponding. Framework libraries are generated in the specified directory; according to the method and the device, the appointed. Xcframework library can be converted into the corresponding. Framework file, so that the provided static library content can be conveniently and quickly accessed when the access party accesses, and the working efficiency is improved.
Owner:FUJIAN TQ ONLINE INTERACTIVE INC

A dynamic loading program method based on RISC-V

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

Method and medium for interface conversion from a vxworks system to an embedded linux system

The application provides a method and medium for interface conversion from a VxWorks system to an embedded Linux system, which comprises: constructing a compatible layer in a user state, rewriting key system function APIs of the VxWorks, such as task management, message queue, semaphore and watchdog, and calling Linux native system functions or implementing corresponding logic by itself in the internal, and finally compiling the implementation code into a static library or a dynamic library. An application program only needs to link the library and include the corresponding header file, so as to be compiled and run in the embedded Linux system without modifying the core source code. The application realizes seamless transplantation in the user state without modifying the operating system kernel and configuration, significantly reduces the transplantation cost and system stability risk, and is suitable for various deployed Linux environments.
Owner:NO 50 RES INST OF CHINA ELECTRONICS TECH GRP

Software configuration method and related device

Embodiments of the present application provide a software configuration method and related equipment, the method comprises: obtaining the device form, characteristic set and chip platform information of an Internet of Things device; determining the SDK general construction script corresponding to the chip platform, executing the SDK general construction script on the construction file to obtain the SDK of the Internet of Things device; sending the SDK to a second electronic device, and the second electronic device integrates the SDK in the firmware of the Internet of Things device through firmware integrated linkage, and runs the SDK in the Internet of Things device. The embodiments of the present application open the SDK in the form of configurable static library to the equipment of third-party manufacturers, which guarantees the security of internal communication protocol and further guarantees the security of private data.
Owner:HONOR DEVICE CO LTD

Peripheral drive network upgrading method and system under Linux kernel system

The invention discloses a peripheral drive network upgrading method and system under a Linux kernel system, and the method comprises the steps that a system manufacturer server analyzes a peripheral drive package submitted by a peripheral manufacturer, a peripheral drive program in the peripheral drive package comprises a code source file and a static library file, and peripherals corresponding to the peripheral drive package are added into a support list; and receiving and analyzing a peripheral drive request of the terminal equipment, and returning a corresponding peripheral drive package to the terminal equipment, so that the terminal equipment executes local compiling on the peripheral drive package to obtain a drive program suitable for the local CPU architecture and the kernel version, and automatically completes installation of the drive program. The invention aims at providing a Linux kernel system peripheral drive network upgrading technology supported by a cross-CPU platform, a cross-kernel version and a cross-OS manufacturer, protecting special and private technologies of peripheral manufacturers, enabling peripheral drive network upgrading to be efficient and available, and meeting a solution of an existing international general standard.
Owner:KYLIN CORP

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:中孚安全技术有限公司

Method, apparatus, device, and storage medium for obtaining call chain of third-party library

The present application relates to the technical field of R & D management, and discloses a method for obtaining a call chain of a third-party library, including: obtaining a symbol table provided by a system architecture corresponding to a target application; querying all objc_msgSend methods in the symbol table, and using a hook function to suspend the obtained objc_msgSend methods, so as to direct a call request of the objc_msgSend method in the symbol table to the hook function; executing a call request task corresponding to the symbol table to call the hook function, wherein when the hook function is called, the objc_msgSend method suspended by the hook function is executed, and a call chain of the calling method corresponding to the objc_msgSend method is obtained; outputting the call chains obtained by all the hook functions. The present application also relates to the technical field of blockchain. The present application also discloses a device for obtaining a call chain of a third-party library, a computer device, and a computer-readable storage medium. The present application improves the efficiency of obtaining a call chain corresponding to a calling method in a static library.
Owner:SAI ANDY TECHNOLOGY (HONG KONG) CO LTD