DjDeveloperr / segappend

Append custom data by creating a new segment in compiled binary.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

segappend

Append custom data by creating a new segment in compiled binary.

Only supports Mach-O 64-bit binaries for now (macOS, iOS, etc).

Usage

While it is primarily meant to be used as a C library, a simple utility tool is also compiled along with the library. See include/segappend.h for the C API.

There are also Rust bindings published on crates.io: segappend.

Build

# build library and utility tool
deno task build

# utility tool
deno task run <input-file> <segment-name> <segment-data-file> <output-file>

Resources

License

Apache-2.0 License

Copyright (c) 2023, DjDeveloperr

About

Append custom data by creating a new segment in compiled binary.

License:Apache License 2.0


Languages

Language:C++ 68.7%Language:Rust 21.0%Language:C 7.2%Language:CMake 3.1%