Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 142
  • 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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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