Log in

View Full Version : Using SoftICE - Details of some useful commands


Kayaker
January 31st, 2004, 01:37
Here are some very nice articles with diagrams which were created by a Numega programmer (Tsuyoshi Watanabe) detailing some useful SoftIce commands. They no longer exist on the original site so I have reformatted them slightly and attach them here for archive purposes. The diagrams themselves are extremely instructive explanations of the output from some of the more complex Softice commands. Some may recognize these articles from the Spiralspace website originally. I hope they prove useful for those who have never seen them.


How Windows NT uses GDT to implement "kernel mode" and "user mode" (GDT)

Where is the memory block you just allocated with Win32 API HeapAlloc()? (HEAP 32)

Create your own heap in your process and see it with SoftICE (HEAP 32)

Interrupt Descriptor Table and SoftICE "IDT" command (IDT)

Program modules (EXE, DLL) and SoftICE "QUERY" command (QUERY)

Walking "page directory" with SoftICE - understanding "address context" (CPU, ADDR, PAGE, PHYS)

Two ways to cause "page fault" situations, and how SoftICE reports it (PAGE)

How to access objects in various sections of a PE file with SoftICE (MAP32, SYM)

"Symbol Table" - the most important thing for source level debugging with SoftICE (TABLE, MOD, SYM)

SoftICE uses symbolic names to label memory object if symbol table is loaded (TABLE, FILE, TYPES)

dELTA
January 31st, 2004, 12:19
Cool!

Other people are of course also very welcome to submit such high-quality "rare" documents and similar here for archival reasons!

JMI
January 31st, 2004, 14:27
And so we can read up on them and attempt to figure out what the heck Kayaker is talking about when he gives us another one of his great low level lessons on the ins and outs of M$ beneath the covers.

Regards,

Kayaker
January 31st, 2004, 16:24
Hey I'm only fumbling around in the dark of what MS calls an OS, like everyone else. But I agree quality reference material not easily obtainable elsewhere is always welcomed, these things tend to get lost over time.

Cheers,
Kayaker

cyclotron
March 19th, 2004, 23:45
Nice work,thanks.

gook
March 31st, 2004, 14:41
Thank you very much

dELTA
March 31st, 2004, 18:09
Ok, new rule, if you bring a two months old thread to the top, only to say thanks, you will be banned...

esther
March 31st, 2004, 20:56
[>Ok, new rule, if you bring a two months old thread to the top, only to say thanks, you will be banned...

LOL,its a bit too harsh.Its just 2 months old thread

volodya
April 1st, 2004, 11:16
Kayaker

AMAZING! I'll mirror them on wasm. Extremely nice!

Kayaker
April 1st, 2004, 16:56
Well then, I guess the fuss was all worth it. Phew, good thing too, cuz I didn't know there was a time limit involved...

dELTA
April 1st, 2004, 17:17
Ok, ok, I was only kidding, and you know it. But you have to agree that it's at least just a little annoying when two people, completely unrelated to the subject (not to mention having post counts of 1 and 3 ) bring up a two months old thread just to say "thank you", huh?

JMI
April 1st, 2004, 17:34
Well "thank you" for pointing that out for us.

Regards,