Jump to content
  • Advertisement
Sign in to follow this  
Gink

Generate Memory Dump?

This topic is 4881 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there a way to generate a memory dump without crashing the program?

Share this post


Link to post
Share on other sites
Advertisement
So, you have a program for which you do not have the source code, and you want a memory dump of it? Perhaps, if I knew what you want to accomplish, I could give you some pointers.

Share this post


Link to post
Share on other sites
There is software that costs 50$ to buy, cryptography software. It says that its secure and all that. So I downloaded a shareware version to test it out.

I did a search for vulnerabilities it says that if you look at a memory dump of the software then it shows you the password in plain view. I want to see if that is really true.

Share this post


Link to post
Share on other sites
If it doesn't have to be a running instance of the application, you could just run a hex editor on the executable (HexEdit).

If it does have to be running, then you would need a program that lets you view the memory of a running program. The Visual Studio debugger will do that. Since you are using dev-cpp, then you probably have gdb. You might try checking the gdb docs and see if it will let you load the exe and generate a memory dump.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
You're looking for Debugging Tools for Windows (aka "windbg").

http://www.microsoft.com/whdc/devtools/debugging/default.mspx
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx


The help for windbg is really good! You might want some introductory articles:


http://www.codeproject.com/debug/windbg_part1.asp
http://www.codeproject.com/debug/

http://www.microsoft.com/msj/1299/bugslayer/bugslayer1299.aspx
http://www.microsoft.com/msj/0100/bugslayer/bugslayer0100.aspx

http://www.nuvisionmiami.com/books/asm/debug/windbg/

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
You're looking for Debugging Tools for Windows (aka "windbg").


Yes! I forgot all about that tool being available (I've always had VS).

windbg is an excellent resouce and will do exactly what you want to do.

Share this post


Link to post
Share on other sites
Quote:
Original post by Gink
ty, that gdb program was very hard to use.


Tell me about it. I generally only use it to get a stack trace when a program crashes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!