Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Portable Executable(PE) File Header Fields Printer

  • Requires MSVC C Compiler
  • Usage : test.exe example.exe
  • In 32 and 64 bit PE files only followings are different
    1. BaseOfCode there is no such a field in 64 bit PE file, instead it is in 32 bit PE file.
    2. ImageBase This field 8 bytes in 64 bit PE file, 4 byte in 32 bit PE file (right after BaseOfCode).
    3. SizeOfStack/Heap/Reserve/Commit fields are 8 bytes in PE32+ , 4 bytes in PE32

Rust Compiled(linked with MSVC) Example PE File :

image image image

About

This is a C program that prints a PE (Portable Executable) files section fields and their hex values to console

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages