A kind of Linux operating system dynamic library code protection method and device
An operating system and dynamic library technology, applied in the computer field, can solve the problem that key codes cannot be protected, and achieve the effect of enhanced protection
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0036] figure 1 is a schematic flow chart of the code protection method according to the first embodiment of the present invention, refer to below figure 1 , each step of this embodiment is described in detail.
[0037] In step S110 (the word "step" is omitted hereinafter), the code file is generated into a dynamic library file A of the Linux operating system.
[0038] Specifically, for a dynamic library file generated by the general method of the Linux operating system, the source file is first compiled by a compiler to generate an .o file, and then the .o file is linked to generate a .so file. The .so file is the dynamic library file.
[0039] S120, extract the code to be protected from the dynamic library file A.
[0040] Specifically, since the standard format of the dynamic library file is the ELF file format, it will record the name and code length of the function, so the code to be extracted can be located according to the function name.
[0041] Preferably, when ext...
no. 2 example
[0097] figure 2 is a schematic structural diagram of the code protection device according to the second embodiment of the present invention, and the following refers to figure 2 to describe the components of this module.
[0098] The code protection device of this embodiment includes the following parts: a generation unit 21 , an extraction unit 22 , a processing unit 23 and a combination unit 24 . Generation unit 21 is connected to one end of extraction unit 22, the other end of extraction unit 22 is connected to one end of processing unit 23, and the other end of processing unit 23 is connected to merging unit 24. Next, the functions of each part of the code protection device will be described in detail.
[0099] The generation unit 21 is used for generating the dynamic library file A of the Linux operating system from the code file.
[0100] Specifically, the dynamic library file generated by the generation unit 21 in a general way of the Linux operating system first ge...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com