fake struct

Hi dear all,
If know some memory address can be interpret as a specific structure ,
but there is no definition for it . Could I add it manually ? So I can
show it by dt command . Many thanks!

This is probably what you’re looking for:
http://www.osronline.com/showthread.cfm?link=193747

Alternatively you could create debugger extension that’s going to
display interpreted content of a given buffer.

Kris

On Fri, Feb 21, 2014 at 10:17 AM, Shang Yu wrote:
> Hi dear all,
> If know some memory address can be interpret as a specific structure ,
> but there is no definition for it . Could I add it manually ? So I can
> show it by dt command . Many thanks!
>
> —
> WINDBG is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


Kris

I wrote an article in a previous issue of The NT Insider that is an update
to that post. The article shows how to do the “add types to a PDB” trick
using MSBuild:

http://insider.osr.com/2013/ntinsider_2013_01.pdf

I’d vote for a debugger extension in this case though, much more useful in
the long run.

-scott
@OSRDrivers

“Krzysztof Uchronski” wrote in message news:xxxxx@windbg…

This is probably what you’re looking for:
http://www.osronline.com/showthread.cfm?link=193747

Alternatively you could create debugger extension that’s going to
display interpreted content of a given buffer.

Kris

On Fri, Feb 21, 2014 at 10:17 AM, Shang Yu wrote:
> Hi dear all,
> If know some memory address can be interpret as a specific structure ,
> but there is no definition for it . Could I add it manually ? So I can
> show it by dt command . Many thanks!
>
> —
> WINDBG is sponsored by OSR
>
> OSR is hiring!! Info at http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer


Kris