Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zehmatt/zasm-modules

Generating binary modules with zasm
https://github.com/zehmatt/zasm-modules

assembler binary binary-builder cmkr pe32 pe32-plus

Last synced: 8 days ago
JSON representation

Generating binary modules with zasm

Awesome Lists containing this project

README

        

# zasm-modules
Generating binary modules with [zasm](https://github.com/zyantific/zasm) and [LIEF](https://github.com/lief-project/LIEF).

## Project
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.

## LIEF
This project builds upon [LIEF](https://github.com/lief-project/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.

## Goals
Add more support for modules like COFF and potentially be fully independent from LIEF, this is not set in stone.

## Example
See the [example here](https://github.com/ZehMatt/zasm-modules/blob/master/src/example/main.cpp)

## Compiling
This library ships with an example project and uses CMake. Following should be able to build the
project:
```
cmake . -B build
cmake --build .
```