Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zehmatt/zasm-modules
- Owner: ZehMatt
- License: mit
- Created: 2022-07-22T15:01:06.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T20:08:34.000Z (over 2 years ago)
- Last Synced: 2023-08-04T13:13:34.536Z (over 1 year ago)
- Topics: assembler, binary, binary-builder, cmkr, pe32, pe32-plus
- Language: CMake
- Homepage:
- Size: 16.6 KB
- Stars: 13
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 .
```