Method for injecting test codes for Linux system
A technology for testing code and code injection, which is used in the field of testing code injection for Linux systems, and can solve problems such as long running time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0038] It is divided into five steps, and the following takes PPC Linux 2.4.25 as an example to illustrate this process.
[0039] The first step is to write, compile the bootloader and test the code. The test code is compiled as a shared library file .so or a simple .o file depending on the target process type. If the target process is formed by a dynamic shared link, the test code is also compiled into a .so file. If the target process is statically linked, it will be compiled into a .o intermediate file. The bootloader is actually a loader whose main function is to load the .so or .o files corresponding to the test code. The specific process is as figure 1 with figure 2 shown
[0040] The main functions of the bootloader corresponding to the statically linked test code are: first use the mmap system call to apply for a certain size of data space, map the test code (. Function redirection operation, and finally use the mprotect system call to set the above memory area as...
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