#elf #unix #loader #elf-file #note #mini-loader

no-std app mini-loader

The mini-loader is capable of loading and executing ELF files, including Executable file and Position-Independent Executable file

4 stable releases

Uses new Rust 2024

1.1.2 Apr 12, 2025
1.1.1 Mar 16, 2025
1.1.0 Feb 20, 2025
1.0.0 Feb 19, 2025

#120 in No standard library

Download history 262/week @ 2025-02-18 18/week @ 2025-02-25 6/week @ 2025-03-04 108/week @ 2025-03-11 22/week @ 2025-03-18 1/week @ 2025-03-25 105/week @ 2025-04-08 11/week @ 2025-04-15

120 downloads per month

MIT/Apache

180KB
4.5K SLoC

license Rust

mini-loader

The mini-loader is capable of loading and executing ELF files, including Executable file and Position-Independent Executable file

Note

Currently only support x86_64 .

Installation

$ cargo install mini-loader --target x86_64-unknown-none -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort,optimize_for_size

Usage

Load and execute ls:

$ mini-loader /bin/ls

Dependencies

~2MB
~35K SLoC