CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Posts
    172

    Question Address of entry point in binary file

    Hi,

    How can I find/calculate the address of the entry point for an exe binary file using its PE32 optional header?

    I have added a picture, where it says (file addr) thats the address I want to know how to calculate Name:  picture.jpg
Views: 1388
Size:  49.9 KB
    Last edited by gaar321; December 28th, 2013 at 12:23 PM. Reason: Picture

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Address of entry point in binary file

    Maybe this doc could help you?
    Victor Nijegorodov

  3. #3
    Join Date
    Apr 2010
    Posts
    172

    Re: Address of entry point in binary file

    Thanks

    RVA - (section VA - section Raw address) = file offset!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured