https://github.com/djdeveloperr/segappend
Append custom data by creating a new segment in compiled binary.
https://github.com/djdeveloperr/segappend
Last synced: 11 months ago
JSON representation
Append custom data by creating a new segment in compiled binary.
- Host: GitHub
- URL: https://github.com/djdeveloperr/segappend
- Owner: DjDeveloperr
- License: apache-2.0
- Created: 2023-07-22T09:52:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-22T17:07:13.000Z (over 2 years ago)
- Last Synced: 2025-02-28T04:07:50.400Z (12 months ago)
- Language: C++
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://crates.io/crates/segappend).
## Build
```sh
# build library and utility tool
deno task build
# utility tool
deno task run
```
## Resources
- [Adding a Segment to an Existing macOS Mach-O Binary (Alexander O'Mara)](https://alexomara.com/blog/adding-a-segment-to-an-existing-macos-mach-o-binary/)
## License
Apache-2.0 License
Copyright (c) 2023, DjDeveloperr