Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikskuh/slf
The Simple Linking Format
https://github.com/ikskuh/slf
binary binutils linker object-format zig zig-package ziglang
Last synced: about 1 month ago
JSON representation
The Simple Linking Format
- Host: GitHub
- URL: https://github.com/ikskuh/slf
- Owner: ikskuh
- License: mit
- Created: 2022-02-05T21:10:11.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-14T08:37:52.000Z (over 2 years ago)
- Last Synced: 2024-05-17T11:43:08.065Z (6 months ago)
- Topics: binary, binutils, linker, object-format, zig, zig-package, ziglang
- Language: Zig
- Homepage:
- Size: 40 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ⛓ Simple Linking Format
SLF is a very simple object file format that can be used to link programs that don't require distinct sections for code and data.
## Documentation
- [Binary Format](docs/module-format.md)
## Available Tools
- `slf-ld` is the standalone linker that can be used to link object files into a flat binary
- `slf-objdump` is a dumper for SLF files. It can list all sections as well as dump the raw binary data.## Available APIs
`src/slf.zig` is a package that exports several APIs:
- `slf.View` allows introspection of in-memory SLF files.
- `slf.Linker` allows linking SLF files together.
- `slf.Builder` allows the creation of new SLF files.## Project Status
[![Build](https://github.com/MasterQ32/SLF/actions/workflows/cross-build.yml/badge.svg)](https://github.com/MasterQ32/SLF/actions/workflows/cross-build.yml)
**Disclaimer: Feature complete, but still highly experimental.**
### TODO
- [ ] Add better diagnostics
- [ ] Add support for object/file names
- [ ] Support exporting other file types
- [x] flat binary
- [ ] intel hex