Address of entry point in binary file
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Address of entry point in binary file

  1. #1
    Join Date
    Apr 2010
    Posts
    166

    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: 356
Size:  49.9 KB
    Last edited by gaar321; December 28th, 2013 at 11:23 AM. Reason: Picture

  2. #2
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,381

    Re: Address of entry point in binary file

    Maybe this doc could help you?
    Victor Nijegorodov

  3. #3
    Join Date
    Apr 2010
    Posts
    166

    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
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center