• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 144
  • Last Modified:

Parsing Pe file

I'm searching  a code in language c, who sending me a virtual address and the size of each section into the PE file
Thank you
1 Solution
btanExec ConsultantCommented:
May want to check out [1], it has a good article on the PE aspect too in [2]

[1] http://www.codeproject.com/Articles/36928/Parse-a-PE-EXE-DLL-OCX-Files-and-New-Dependency-Wa
[2] http://www.skynet.ie/~caolan/pub/winresdump/winresdump/doc/pefile.html

there is another non-MFC class for extension, it may not have dive deep to list the sizing though

[3] http://www.codeproject.com/Articles/31683/XPEInfo-a-non-MFC-class-to-get-info-from-PE-file

some tool you may want to check out is the CFF Explorer [4] that can come in handy will troubleshooting code with actual figure needed. Else use WinDBG [5] or Ollydbg AnalyzeThis+
[4] http://www.ntcore.com/exsuite.php
[5] http://analyze-v.com/?cat=4
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now