Step 1: view the blue screenCodeInformation to roughly locate the location of the Code that causes the blue screen. Because many parameters of the blue screen code record the memory address referenced when a blue screen occurs, for example:
The computer has restarted after detecting an error. Check error: 0x0000001e (0xc0000005, 0xf7ce8bad, 0x00000000, 0x00e2ddd0 ).
Here, the parameter 0xf7ce8bad points to the code location that causes the exception. By loading the address table against the system kernel driver, you can find the driver name that causes the exception, then, based on the principle of the PE Structure memory ing file, after decompiling the driver code, you can find the driver that causes the blue screen from the corresponding offset.ProgramCode location.
Step 2: For the analysis that does not directly specify the reference address in the parameters of the blue screen code, you need to save the dump file for debugging and analysis. For example:
The computer has restarted after detecting an error. Check error: 0x0000000a (0x0000002c, 0x00000002, 0x00000000, 0x80441a1e)
The debugging tool can use Microsoft windbg. During debugging, the corresponding dump system symbol file is used. The debugging steps are described in detail on the Internet, you can find the location of the Code that caused the blue screen. If you need to perform detailed debugging, it is best not to use minidump, but to set it to a full memory dump.
Step 3: for frequent blue screen reboots, using SoftICE for dynamic debugging is the simplest and most effective method. After SoftICE is installed in the system, if the system generates exceptions, softICE directly intercepts the driver. It is not a problem to use the powerful command system provided by SoftICE to find out the cause. Of course, the driver of SoftICE has not been uninstalled when the blue screen is turned off, otherwise, you need to use dual-host for remote debugging.