What is a hexdump and how do you create a hex dump of EXE using c++ ???

Oct 1, 2013 at 9:07pm
closed account (3hMz8vqX)
Hi all,
What is a hexdump and how do you create a hex dump of EXE using c++ ???

Please help me:)
Thankyou everyone in advance!!! :)
Last edited on Oct 2, 2013 at 5:48am
Oct 2, 2013 at 6:34am
You don't want to use C++ (unless the purpose is to learn to think, rather than to see the dump). You want to use an existing program that does it for you.

Binary files contain bytes. Bytes can be interpreted to be numbers (even if they are not). Numbers can be shown formatted in hexadecimal base. Dump: read byte (or some bytes), show hex -- for each byte in a file.
Oct 2, 2013 at 9:50am
You need to learn how to use Google, it seems.

First hit for search "what is a hexdump" is

Hex dump
http://en.wikipedia.org/wiki/Hex_dump

Andy
Oct 2, 2013 at 1:38pm
closed account (3hMz8vqX)
Okay,
I read the wikipedia article and now I know what a hexdump is...
what i want to know is
how do you
create a hex dump of EXE using c+
+ ???

Thankyou everyone in advance!!! :)
Oct 2, 2013 at 2:13pm
We already answered this question for you in this thread:

Can i search a .exe for ASCII chars c++ ?
http://www.cplusplus.com/forum/windows/112124/

Andy
Oct 3, 2013 at 1:34pm
closed account (3hMz8vqX)
Okay:)
Thankyou everyone!
Please answer my new questions...:)
Regards,
Aravind.
Topic archived. No new replies allowed.