Skip to content

ikskuh/SLF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛓ 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

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

Disclaimer: Feature complete, but still highly experimental.

TODO

  • Add better diagnostics
    • Add support for object/file names
  • Support exporting other file types
    • flat binary
    • intel hex