Method, device and computer for locating kernel errors
An error location and core technology, applied in the field of computer software, can solve problems such as high labor costs and low fault location efficiency, and achieve the effect of improving accuracy and efficiency and reducing costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The embodiment of the present invention provides a method for locating kernel errors, which can be applied to a software system. The software system loads and runs a functional module, such as figure 1 As shown, the kernel error location method includes:
[0040] S101. After the software system crashes, the kernel error locating device obtains the operating address of a known function in the function module before the software system crashes and the error memory address popped up when the software system crashes.
[0041] Wherein, if the running address printing of a certain function has been added before the program runs, when the program runs to this function, the software system will output the printing information including the running address of the function (a known function). When the software system crashes, a print message will pop up, which contains the wrong memory address.
[0042] Wherein, the error memory address includes an error address, the error addre...
Embodiment 2
[0113] The embodiment of the present invention provides a kernel error location device, the software system loads and runs a functional module, such as Figure 6 As shown, the device for locating kernel errors includes: an acquisition module 31 , a calculation module 32 and a location module 33 .
[0114]The obtaining module 31 is used to obtain the running address of a known function in the functional module before the software system crashes and the error memory address popped up when the software system crashes after the software system crashes; the error memory The address includes an error address, the error address is an address in the operation address space of the error function, and the known function is a function in the function module; obtaining the operation address of the known function is relative to the function The offset of the module's program execution entry.
[0115] A computing module 32, configured to obtain the error address obtained by the obtaining m...
Embodiment 3
[0137] An embodiment of the present invention provides a computer, the computer runs a software system, and the software system loads and runs a functional module, such as Figure 8 As shown, the computer includes: a memory 41 and a processor 42 .
[0138] The memory 41 is used to store a set of program codes.
[0139] The processor 42 is configured to perform the following operations according to a set of program codes stored in the memory:
[0140] After the software system crashes, obtain the running address of a known function in the functional module before the software system crashes and the error memory address that pops up when the software system crashes; the error memory address includes an error address, so Described error address is an address in the running address space of error function, and described known function is a function in described function module;
[0141] Obtain the offset of the running address of the known function relative to the program runnin...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


