Generating binary modules with zasm and LIEF.
This project is currently more of a demonstration for how zasm could be used to generate binary modules, zasm provides enough information to have imports/externals/relocations/entrypoints.
This project builds upon LIEF to generate the binary module(s), the interface was built to hide this. LIEF can currently only generate PE files from scratch so it might be replaced in the future, this depends if and when LIEF might add support for generating more binaries from scratch. LIEF is a wonderful library and we do hope to be able to make more use of it.
Add more support for modules like COFF and potentially be fully independent from LIEF, this is not set in stone.
See the example here
This library ships with an example project and uses CMake. Following should be able to build the project:
cmake . -B build
cmake --build .