You may want to look into the WinDbg documentation, before asking help in
the post. The winDbg documentation for ‘dt’ command says clearly,
*-b* Display blocks recursively. If a displayed structure contains
substructures, it is expanded recursively to arbitrary depths and displayed
in full. Pointers are expanded only if they are in the *original* structure,
not in substructures.
If you want to expand ‘KTHREAD’ use *dt -b nt!_KTHREAD*; if you want to
expand _KAPC_STATE use *dt -b nt!_KAPC_STATE*.
If I understand correctly, you want to look into the APC_STATE structure
that is embedded in KTHREAD right? In such case, just use * dt -b
nt!_KTHREAD * This will recursively expand all teh sub-structure of KTHREAD, which in-turn includes KAPC_STATE.
On 11/6/08, Gokul TV wrote: > If you want to expand ‘KTHREAD’ use dt -b nt!_KTHREAD; if you want to expand > _KAPC_STATE use dt -b nt!_KAPC_STATE. > > If I understand correctly, you want to look into the APC_STATE structure > that is embedded in KTHREAD right? In such case, just use dt -b nt!_KTHREAD > This will recursively expand all teh sub-structure of KTHREAD, which > in-turn includes KAPC_STATE.
sorry i believe i havent been able to explain my requirement properly
i want to look into the DirectoryTableBase of _KPROCESS in _KAPC_STATE of _KTHREAD
On 11/6/08, Jim Donelson wrote: > Did you try dt -r ? > -r[l] Recursively dump the subtypes (fields) upto l levels. > > yeah that -r[#] doesnt help either
anyway i was hating to hack some unreadable unrememberable script to get what i want but it seems there is no otherway to make it display things automatically ill try copy pasting some thing into a .foreach script to isolate the _kprocess and pass it as an argument to another dt
On 11/6/08, raj_r wrote: > On 11/6/08, Jim Donelson wrote: > > Did you try dt -r ? > > -r[l] Recursively dump the subtypes (fields) upto l levels. > > > > > yeah that -r[#] doesnt help either > > anyway i was hating to hack some unreadable unrememberable script to > get what i want but it seems there is no otherway to make it display > things automatically > ill try copy pasting some thing into a .foreach script to isolate the > _kprocess and pass it as an argument to another dt > > regards > > raj_r >