Skip to content
/ TinyPE Public

POC Tiny PE - Example project showing (almost) minimal executable size. Without touching assembly.

License

Notifications You must be signed in to change notification settings

Masfo/TinyPE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

e152280 · Mar 21, 2025
Jan 14, 2025
Mar 24, 2024
Apr 12, 2023
Jul 20, 2023
Jan 14, 2025
Nov 14, 2023
Jan 10, 2021
Mar 21, 2025
Apr 10, 2024
Jul 8, 2021

Repository files navigation

TinyPE

Not for production use, disables security features.

POC Tiny PE - CMake and VS2022 (open as local folder)

  • uses undocumented linker flags: /emittoolversioninfo:no /emitpogophaseinfo
Hello World Console Gui
64-bit 672 bytes 592 bytes
32-bit 592 bytes 560 bytes
Empty program Console Gui
64-bit 416 bytes 416 bytes
32-bit 400 bytes 400 bytes

Tested on Windows 11:

  • 21H2 (22000.258 - 22000.2057)
  • 22H2 (22621.1992 - 22621.4317)
  • 24H2 (26100.1742 - 26100.3476)

readme_image

About

POC Tiny PE - Example project showing (almost) minimal executable size. Without touching assembly.

Topics

Resources

License

Stars

Watchers

Forks