├── .gitignore ├── Cargo.toml ├── LICENSE └── src ├── bin ├── elffile.rs ├── loader.rs └── read_header.rs ├── file ├── elf_file.rs └── mod.rs ├── header ├── elf_type.rs ├── header.rs ├── ident.rs ├── machine.rs ├── mod.rs ├── prog_header │ ├── flag.rs │ ├── mod.rs │ └── prog_header_type.rs └── sect_header │ ├── flag.rs │ ├── mod.rs │ └── sect_header_type.rs ├── lib.rs ├── loader ├── loader.rs └── mod.rs └── util └── mod.rs /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | /target 3 | **/*.rs.bk 4 | Cargo.lock 5 | busybox 6 | ls 7 | libc.so.6 8 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/LICENSE -------------------------------------------------------------------------------- /src/bin/elffile.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/bin/elffile.rs -------------------------------------------------------------------------------- /src/bin/loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/bin/loader.rs -------------------------------------------------------------------------------- /src/bin/read_header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/bin/read_header.rs -------------------------------------------------------------------------------- /src/file/elf_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/file/elf_file.rs -------------------------------------------------------------------------------- /src/file/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/file/mod.rs -------------------------------------------------------------------------------- /src/header/elf_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/elf_type.rs -------------------------------------------------------------------------------- /src/header/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/header.rs -------------------------------------------------------------------------------- /src/header/ident.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/ident.rs -------------------------------------------------------------------------------- /src/header/machine.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/machine.rs -------------------------------------------------------------------------------- /src/header/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/mod.rs -------------------------------------------------------------------------------- /src/header/prog_header/flag.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/prog_header/flag.rs -------------------------------------------------------------------------------- /src/header/prog_header/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/prog_header/mod.rs -------------------------------------------------------------------------------- /src/header/prog_header/prog_header_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/prog_header/prog_header_type.rs -------------------------------------------------------------------------------- /src/header/sect_header/flag.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/sect_header/flag.rs -------------------------------------------------------------------------------- /src/header/sect_header/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/sect_header/mod.rs -------------------------------------------------------------------------------- /src/header/sect_header/sect_header_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/header/sect_header/sect_header_type.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/loader/loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/loader/loader.rs -------------------------------------------------------------------------------- /src/loader/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/loader/mod.rs -------------------------------------------------------------------------------- /src/util/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hajifkd/elf-loader/HEAD/src/util/mod.rs --------------------------------------------------------------------------------