Method and apparatus for debugging internal core state programm of operation system
An operating system and kernel mode technology, which is applied in the field of debugging operating system kernel mode programs and devices, and can solve the problem that ordinary debuggers cannot debug programs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] The present invention proposes a new debugging framework in order to overcome the shortcomings that ordinary debuggers cannot debug and run programs in the kernel state of the operating system, such as figure 1 As shown, the debugging system architecture specifically includes: designing a kernel debugging stub 11, and the debugging stub 11 runs in the kernel mode. The foreground debugging agent 12 communicates with the debugging stub 11 , and the debugging stub 11 controls the operation of the kernel thread 13 . The kernel thread 13 feeds back the abnormal information to the debugging stub 11 when encountering an abnormal event, and the debugging stub 11 returns the information to the foreground debugging agent 12 after receiving the abnormal information, and the foreground debugging agent 12 receives the message and returns it to the debugger 14. Therefore, the common user mode debugger 14 can be used to debug the program in the kernel mode, which facilitates the deve...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 