Dumping GDT entries using WinDbg

Home Forums Discussions General Discussion Dumping GDT entries using WinDbg

This topic contains 0 replies, has 1 voice, and was last updated by  Assaf 7 years, 11 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #5302

    Assaf
    Participant

    Hi everyone,

    I set up a virtual machine running Windows XP SP2. I’m debugging this machine through a faked serial port using WinDbg.

    Anyway, I started playing a bit with the various descriptor tables present in the system, especially the GDT. Now, my problem is that WinDbg – to the best of my knowlede – does not offer any convinient ways to dump/alter the GDT. What I mean is that when I want to dump a specific GDT entry, I use the following command:

    db gdtr + 8 *  l 8

    when is the ordinal of the entry I wish to dump.
    What I’m looking for is a command that provides me with an index-based access to the table in a way which resembles C arrays, something like:

    dump gdt[x]

    Another thing I’m looking for is a command which will dissect an entry to its various bit-fields and display them in an ordered fashion.

    Is there anything like this?
    Thanks in advance.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.