Unlock instant, AI-driven research and patent intelligence for your innovation.

Operating system information statistical method based on simulator instruction instrumentation

An information statistics, operating system technology, applied in the field of operating system information statistics based on simulator instruction instrumentation, can solve problems such as intrusion code and code expansion, and achieve the effect of improving efficiency, maintaining stability and security

Active Publication Date: 2021-09-10
四川腾盾科技有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The traditional source code instrumentation method will invade the code and expand the code

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Operating system information statistical method based on simulator instruction instrumentation
  • Operating system information statistical method based on simulator instruction instrumentation
  • Operating system information statistical method based on simulator instruction instrumentation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0048] In view of the fact that the existing operating system information statistics method has intrusive codes, resulting in code expansion, this embodiment is optimized to solve the problems in the prior art.

[0049] Specifically, this embodiment discloses an operating system information statistics method based on emulator instruction instrumentation, including task information acquisition and statistics, wherein the task information acquisition process includes:

[0050] S01: Perform instruction instrumentation on the target program;

[0051] S02: Obtain all function symbol addresses (function first address) from the target program when the simulator is initialized, such as figure 2 As shown, after sorting the address from small to large, according to the seamless connection characteristics of the function, the tail address of the function is obtained, as shown in image 3 shown;

[0052] S03: Execute the target program and obtain the stub information, if the task creat...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of operating system information processing, in particular to an operating system information statistical method based on simulator instruction instrumentation. The method comprises task information acquisition and statistics, can efficiently collect and organize system information, and facilitates system debugging in a simulator environment. According to the method, an instruction instrumentation mode is used, the operation system information of a software can be counted without changing the target program, the stability and safety of codes are kept, and the efficiency is greatly improved.

Description

technical field [0001] The invention relates to the technical field of operating system information processing, in particular to an operating system information statistics method based on emulator instruction stub insertion. Background technique [0002] The simulator uses software simulation technology to simulate the physical hardware target system. The embedded software originally running on the real target machine can run directly on the simulator without modification, and its running dynamic characteristics are consistent with the real target machine. Emulators enable embedded software development, debugging, testing, and verification without the presence of target hardware. [0003] When debugging embedded software with an operating system, if you can grasp the task scheduling relationship of the operating system, task execution time, created semaphores, created messages and other information in real time, it will be of great benefit to software design, software fault ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 郭波杨坤王钦陈齐文姜彗星郭凯
Owner 四川腾盾科技有限公司