Input from a file to !objsize command(WinDbg)

C

conckrish

Hi All,

Can anyone tell me how to give the input(object address) to
!objsize <address> command in WinDbg .. I have a list of object
addresses in a file which is stored in local drive.. How to give this
address to input of !objsize <addr> command in WinDbg ??? and also how
to redirect the output of !objsize command to a file... Is there any
scipt available in Windbg to do this task??? Plz help me....


Thanx,
- Jacob
 
W

Willy Denoyette [MVP]

| Hi All,
|
| Can anyone tell me how to give the input(object address) to
| !objsize <address> command in WinDbg .. I have a list of object
| addresses in a file which is stored in local drive.. How to give this
| address to input of !objsize <addr> command in WinDbg ??? and also how
| to redirect the output of !objsize command to a file... Is there any
| scipt available in Windbg to do this task??? Plz help me....
|
|
| Thanx,
| - Jacob
|

I'm not clear on what you are trying to achieve here. Where did you get the
object addresses from written to disk, and how and when did you write these
object references?
Anyway, you can't take the input from anything but the keyboard, even if you
could redirect the input of the !objsize from a disk stream, there is no
guarantee that the addresses are still valid, the objects they refer to
could have been moved or collected.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top