Hi All!
I build a debug version of a driver (in the NT DDK’s Checked build environ)
and load it in SoftICE and set a ‘BPX’ in DriverEntry. When I start the
driver in the Devices CPL, I dont get control in SoftICE.When I see the .SYS
file in the dependency walker(depends.exe), it shows the .SYS as ‘Debug’. If
I hard code an ‘int 3’ in the code, then I get control in softICE…but I see
only asm instructions…
I am doubting if I am actually creating a release version tho the
depends.exe says otherwise…
what’s happening here??
Have a Good Day!
“A hundred ounces of silver spent for information may save thousand spent on
war” - Sun Tzu.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
I think you are on the right track. The basic problem is that your source
code is not matching the executable.
This can happen in two ways that I have seen:
- You do not have a debug version. Sounds like you’ve done due diligence
on this to disprove that.
- The source that SoftICE is looking at doesn’t match the executables
debug information.
When you type “U(nassemble) DriverEntry”, what do you see? Does it look
like a regular stack frame entry – like it might actually be the assembly
output for DriverEntry? If SoftICE tries to pull up some location and it
does not look right, then that means he thinks DriverEntry starts somewhere
other than where it actually starts in the executable (i.e. problem 2).
Try looking at mixed assembly and source. Does the assembly look like it
matches the source or is it all off. For example, load a file and look at
the mixed assembly and source at a function call. Does the assembly
represent a function call?
How are you loading the source into SoftICE? Double-check that SoftICE is
loading the source that you think he is loading and double-check that the
source matches the executable exactly.
e.
Hi All!
I build a debug version of a driver (in the NT DDK’s Checked build
environ)
and load it in SoftICE and set a ‘BPX’ in DriverEntry. When I start the
driver in the Devices CPL, I dont get control in SoftICE.When I see the
.SYS
file in the dependency walker(depends.exe), it shows the .SYS as ‘Debug’.
If
I hard code an ‘int 3’ in the code, then I get control in softICE…but I
see
only asm instructions…
I am doubting if I am actually creating a release version tho the
depends.exe says otherwise…
what’s happening here??
Have a Good Day!
“A hundred ounces of silver spent for information may save thousand spent
on
war” - Sun Tzu.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com