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

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

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

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

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

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 and apparatus for generating a customized software system

PendingCN122261570AThe implementation process is simpleeasy to manageProgram loading/initiatingCode compilationSoftware systemConfigfs
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

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

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

C source file compiling and packaging method and system based on MWORKS platform

The invention provides a C source file compiling and packaging method and system based on an MWORKS platform, and the method comprises the steps: integrating a compiling and packaging function on the MWORKS platform, and configuring a compiling tool chain according to configuration information; analyzing all functions in the input C source file, and selecting all or part of the functions as derivation functions; according to the selected export function, a header file is generated, and the header file comprises declarations of all the export functions; and generating compiling response files and link response files of all the export functions according to the configuration information, calling a compiling tool chain to execute compiling and packaging operations, and generating corresponding static library files or dynamic library files. According to the method, the compiling and packaging functions are integrated in the MWORKS platform, so that a user can directly complete operations such as compiling, dependence management and library file generation of the C source file in the MWORKS environment without depending on an external compiling tool, and the development efficiency and the code security are remarkably improved.
Owner:武汉鼎元同立科技有限公司

Software deployment method and device, equipment, medium and product

The invention relates to a software deployment method and apparatus, a device, a medium and a product. The method comprises the steps of obtaining at least one dynamic library component on which an executable file of to-be-deployed software depends; for each dynamic library component in the at least one dynamic library component, acquiring first attribute data corresponding to the dynamic library component from a development environment of the to-be-deployed software; obtaining second attribute data corresponding to the dynamic library component from a deployment environment of the to-be-deployed software; and deploying the to-be-deployed software in the deployment environment according to the matching between the first attribute data corresponding to each dynamic library component and the corresponding second attribute data. Various problems caused by a mode of replacing a dynamic library with a static library can be avoided.
Owner:CHINA TELECOM CLOUD TECH CO LTD

Point cloud data differential loading method, system, medium and device

The application discloses a point cloud data differentiation loading method, system, medium and equipment, and the method comprises the following steps: obtaining to-be-tested point cloud data, and storing the to-be-tested point cloud data in a dynamic library and a static library respectively, and obtaining first edition dynamic library data and original static library data correspondingly; loading differentiation data according to the first edition dynamic library data and the original static library data, and obtaining differentiation data of the to-be-tested point cloud data; processing and comparing through a partition database, accurately distinguishing the differentiation data, avoiding a large amount of manual correction, and efficiently displaying the differentiation data.
Owner:WUHAN ZHONGHAITING DATA TECH CO LTD

Semi-automatic function vectorization compilation optimization method for user-defined complex function

The invention relates to the technical field of computers, and provides a semi-automatic function vectorization compilation optimization method for a user-defined complex function. The method comprises the following steps: adding a compiling indication statement at a loop structure containing custom complex function calling for marking; a compiler identifies the compiling indication statement to generate a vectorization function statement for the user-defined complex function, calls a manual vectorization version of the user-defined complex function from a pre-compiling static library, and generates a target code; wherein the function declaration is used for declaring that the function has a manual vectorized version provided by a user. By avoiding the process of automatically generating the vectorized version by the compiler, the resource consumption in the compiling stage is effectively reduced, and the overall compiling efficiency is further improved.
Owner:Chinese People's Liberation Army Cyberspace Force Information Engineering University

A method and apparatus for merging OBJ files of a custom TLC model compilation

This application discloses a method and apparatus for merging OBJ files of a custom TLC model. The method includes: obtaining the Simulink model file of the custom TLC in model A and the Simulink model file of the default TLC in model B; the Simulink model file of the custom TLC has completed the preset attribute definition in the data dictionary of model A; the Simulink model file of the default TLC has completed the preset attribute definition in the data dictionary of model B; compiling the Simulink model file of the custom TLC and the Simulink model file of the default TLC respectively to generate corresponding model source code files; creating a compilation project file for model A and a static library file for model B; merging the static library file and the compilation project file, integrating the logic calls, and performing overall compilation, linking, and conversion to generate an executable file. Applying the solution provided in this application, the compilation code of the custom TLC Simulink model can be accurately merged with the compilation code of the default TLC Simulink model.
Owner:CHANGZHOU ECTEK AUTOMOTIVE ELECTRONICS LTD