A 010 Editor template for Windows managed executable files. (PE files with Common Language Runtime (CLR) data)
This template can parse:
- CLR header
- Stream headers
- Stream data
- Metadata tables
Download the built template file from release page.
OR
- Run
build.py
to generate the template file - Copy
build/EXE.bt
to your 010 Editor's templates repository (usually at~/Documents/SweetScape/010 Templates/Repository
) - Load a .NET exe file
TLDR: Remember to add #include "new-file.c"
to an existing file when a new file is created.
For the ease of developement, the definitions of headers/stream data/MD tables are separated to different files, some in main.c
and others in the src/
folder. However, 010 Editor requires a single template file, so build.py
is needed to combine all these files together.
To link the files, build.py
searches for #include "child.c"
in main.c
and recursively includes the children files into main.c
. Finally, it combines the content inside main.c
and the original EXE file template located at exe-template/EXE.bt
to produce a single template file build/EXE.bt
.
PRs are welcome!
- Managed Resource
- Parsing uncompressed MD stream (
#-
) - Parsing CIL
- Parsing types
- Lidin, Serge. Inside Microsoft. net il assembler. Microsoft Press, 2002.