utility to dump memory representation of float?
I'm looking for a utility that'll dump how a various number types are stored in RAM. It's easy to write but if there is a ready tool for achieving this, it'll be great.
Hopefully it'll take of endianess as well.
Syntax could be something like this:
hex uint32 big
E.g.
hex float big 0.012
will show
0xa6 0x9b 0x44 0x3c
or in a complete reversed order :-)
EDIT: I'm looking for a universal tool and hopefully CLI based. debugge开发者_如何学Gor doesn't handle endianess.
Thanks,
Visual Studio has the option to look directly into memory. While debugging, go to Debug -> Windows -> Memory. You can then paste the address of the variables you want to inspect and see the bits.
精彩评论