Exe files

The following module can help when working with exe files.

Implements the exe file format used by windows.

See also:


Another excellent effort: https://github.com/erocarrera/pefile

ppci.format.exefile.align(f, alignment, padding_value=0)

Pad with 0 bytes until certain alignment is met


Process an exe file


Write dos stub to file. This stub prints to stdout: ‘this program cannot be run in dos mode’