#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

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

#117 in No standard library

Download history 227/week @ 2025-02-15 46/week @ 2025-02-22 13/week @ 2025-03-01 124/week @ 2025-03-15 7/week @ 2025-03-22

131 downloads per month

MIT/Apache

175KB
4K 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
~36K SLoC