├── .gitignore ├── .travis.yml ├── Cargo.toml ├── LICENSE ├── NOTES.md ├── README.md ├── bin ├── ld.rs ├── ldd.rs ├── linktree.rs ├── readelf-screenshot.png └── readelf.rs ├── bolter ├── args.rs ├── ld.rs ├── main.rs └── relocations.rs ├── src ├── dynamic.rs ├── elf.rs ├── error.rs ├── filetype.rs ├── header.rs ├── lib.rs ├── loader.rs ├── relocation.rs ├── section.rs ├── segment.rs ├── strtab.rs ├── symbol.rs ├── symbolic_linker.rs ├── types.rs └── utils.rs └── tests ├── layout.rs ├── ld.so ├── linker ├── Makefile ├── asm-common │ ├── Makefile │ ├── init_common.asm │ └── main.asm ├── asm-sec │ ├── Makefile │ ├── garbage.asm │ └── main.asm ├── asm-simple │ ├── Makefile │ └── main.asm ├── c-common │ ├── .12-data.c.swp │ ├── Makefile │ ├── crt1.lo │ ├── main.c │ ├── mdata.c │ ├── minit.c │ └── zzz-libmusl.a ├── c-explode │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── Makefile │ ├── _Exit.lo │ ├── __environ.lo │ ├── __errno_location.lo │ ├── __fpclassifyl.lo │ ├── __init_tls.lo │ ├── __lctrans.lo │ ├── __libc_start_main.lo │ ├── __lock.lo │ ├── __lockfile.lo │ ├── __set_thread_area.lo │ ├── __signbitl.lo │ ├── __stack_chk_fail.lo │ ├── __stdio_close.lo │ ├── __stdio_exit.lo │ ├── __stdio_seek.lo │ ├── __stdio_write.lo │ ├── __stdout_write.lo │ ├── __towrite.lo │ ├── __wait.lo │ ├── exit.lo │ ├── frexpl.lo │ ├── fwrite.lo │ ├── libc.lo │ ├── memchr.lo │ ├── memcpy.lo │ ├── memset.lo │ ├── ofl.lo │ ├── printf.lo │ ├── stdout.lo │ ├── strerror.lo │ ├── strnlen.lo │ ├── syscall_ret.lo │ ├── uname.lo │ ├── vfprintf.lo │ ├── wcrtomb.lo │ └── wctomb.lo ├── c-init-array │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile ├── c-simple │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile ├── common.makefile ├── gnucompat-tolerate-archive-conflicts │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 998-libmusl.a │ ├── 999-libmusl.a │ └── Makefile ├── no-undef-reloc │ ├── Makefile │ ├── crt1.lo │ ├── main.c │ └── zzz-libmusl.a ├── reloc-01-X86_64_64 │ ├── Makefile │ ├── data.asm │ └── dx_main.asm ├── reloc-04-X86_64_PLT32 │ ├── Makefile │ ├── data.asm │ ├── hello-fn.asm │ └── main.asm ├── reloc-09-X86_64_GOTPCREL │ ├── Makefile │ ├── data.asm │ └── main.asm ├── reloc-19-X86_64_TLSGD │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile ├── reloc-20-X86_64_TLSLD │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile ├── reloc-21-R_X86_64_DTPOFF32 │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile └── reloc-22-X86_64_GOTTPOFF │ ├── 0-crt1.lo │ ├── 10-main.c │ ├── 999-libmusl.a │ └── Makefile └── simple_collector.rs /.gitignore: -------------------------------------------------------------------------------- 1 | Cargo.lock 2 | target 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/.travis.yml -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/NOTES.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/README.md -------------------------------------------------------------------------------- /bin/ld.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bin/ld.rs -------------------------------------------------------------------------------- /bin/ldd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bin/ldd.rs -------------------------------------------------------------------------------- /bin/linktree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bin/linktree.rs -------------------------------------------------------------------------------- /bin/readelf-screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bin/readelf-screenshot.png -------------------------------------------------------------------------------- /bin/readelf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bin/readelf.rs -------------------------------------------------------------------------------- /bolter/args.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bolter/args.rs -------------------------------------------------------------------------------- /bolter/ld.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bolter/ld.rs -------------------------------------------------------------------------------- /bolter/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bolter/main.rs -------------------------------------------------------------------------------- /bolter/relocations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/bolter/relocations.rs -------------------------------------------------------------------------------- /src/dynamic.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/dynamic.rs -------------------------------------------------------------------------------- /src/elf.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/elf.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/filetype.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/filetype.rs -------------------------------------------------------------------------------- /src/header.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/header.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/loader.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/loader.rs -------------------------------------------------------------------------------- /src/relocation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/relocation.rs -------------------------------------------------------------------------------- /src/section.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/section.rs -------------------------------------------------------------------------------- /src/segment.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/segment.rs -------------------------------------------------------------------------------- /src/strtab.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/strtab.rs -------------------------------------------------------------------------------- /src/symbol.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/symbol.rs -------------------------------------------------------------------------------- /src/symbolic_linker.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/symbolic_linker.rs -------------------------------------------------------------------------------- /src/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/types.rs -------------------------------------------------------------------------------- /src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/src/utils.rs -------------------------------------------------------------------------------- /tests/layout.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/layout.rs -------------------------------------------------------------------------------- /tests/ld.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/ld.so -------------------------------------------------------------------------------- /tests/linker/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/Makefile -------------------------------------------------------------------------------- /tests/linker/asm-common/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/asm-common/init_common.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/asm-common/init_common.asm -------------------------------------------------------------------------------- /tests/linker/asm-common/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/asm-common/main.asm -------------------------------------------------------------------------------- /tests/linker/asm-sec/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/asm-sec/garbage.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/asm-sec/garbage.asm -------------------------------------------------------------------------------- /tests/linker/asm-sec/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/asm-sec/main.asm -------------------------------------------------------------------------------- /tests/linker/asm-simple/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/asm-simple/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/asm-simple/main.asm -------------------------------------------------------------------------------- /tests/linker/c-common/.12-data.c.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-common/.12-data.c.swp -------------------------------------------------------------------------------- /tests/linker/c-common/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/c-common/crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-common/crt1.lo -------------------------------------------------------------------------------- /tests/linker/c-common/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-common/main.c -------------------------------------------------------------------------------- /tests/linker/c-common/mdata.c: -------------------------------------------------------------------------------- 1 | char *hello ="derp"; 2 | -------------------------------------------------------------------------------- /tests/linker/c-common/minit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-common/minit.c -------------------------------------------------------------------------------- /tests/linker/c-common/zzz-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-common/zzz-libmusl.a -------------------------------------------------------------------------------- /tests/linker/c-explode/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/10-main.c -------------------------------------------------------------------------------- /tests/linker/c-explode/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/c-explode/_Exit.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/_Exit.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__environ.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__environ.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__errno_location.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__errno_location.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__fpclassifyl.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__fpclassifyl.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__init_tls.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__init_tls.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__lctrans.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__lctrans.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__libc_start_main.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__libc_start_main.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__lock.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__lock.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__lockfile.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__lockfile.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__set_thread_area.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__set_thread_area.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__signbitl.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__signbitl.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stack_chk_fail.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stack_chk_fail.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stdio_close.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stdio_close.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stdio_exit.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stdio_exit.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stdio_seek.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stdio_seek.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stdio_write.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stdio_write.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__stdout_write.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__stdout_write.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__towrite.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__towrite.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/__wait.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/__wait.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/exit.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/exit.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/frexpl.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/frexpl.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/fwrite.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/fwrite.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/libc.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/libc.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/memchr.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/memchr.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/memcpy.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/memcpy.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/memset.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/memset.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/ofl.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/ofl.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/printf.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/printf.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/stdout.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/stdout.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/strerror.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/strerror.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/strnlen.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/strnlen.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/syscall_ret.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/syscall_ret.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/uname.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/uname.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/vfprintf.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/vfprintf.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/wcrtomb.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/wcrtomb.lo -------------------------------------------------------------------------------- /tests/linker/c-explode/wctomb.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-explode/wctomb.lo -------------------------------------------------------------------------------- /tests/linker/c-init-array/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-init-array/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/c-init-array/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-init-array/10-main.c -------------------------------------------------------------------------------- /tests/linker/c-init-array/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-init-array/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/c-init-array/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/c-simple/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-simple/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/c-simple/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-simple/10-main.c -------------------------------------------------------------------------------- /tests/linker/c-simple/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/c-simple/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/c-simple/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/common.makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/common.makefile -------------------------------------------------------------------------------- /tests/linker/gnucompat-tolerate-archive-conflicts/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/gnucompat-tolerate-archive-conflicts/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/gnucompat-tolerate-archive-conflicts/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/gnucompat-tolerate-archive-conflicts/10-main.c -------------------------------------------------------------------------------- /tests/linker/gnucompat-tolerate-archive-conflicts/998-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/gnucompat-tolerate-archive-conflicts/998-libmusl.a -------------------------------------------------------------------------------- /tests/linker/gnucompat-tolerate-archive-conflicts/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/gnucompat-tolerate-archive-conflicts/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/gnucompat-tolerate-archive-conflicts/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/no-undef-reloc/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/no-undef-reloc/crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/no-undef-reloc/crt1.lo -------------------------------------------------------------------------------- /tests/linker/no-undef-reloc/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/no-undef-reloc/main.c -------------------------------------------------------------------------------- /tests/linker/no-undef-reloc/zzz-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/no-undef-reloc/zzz-libmusl.a -------------------------------------------------------------------------------- /tests/linker/reloc-01-X86_64_64/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/reloc-01-X86_64_64/data.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-01-X86_64_64/data.asm -------------------------------------------------------------------------------- /tests/linker/reloc-01-X86_64_64/dx_main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-01-X86_64_64/dx_main.asm -------------------------------------------------------------------------------- /tests/linker/reloc-04-X86_64_PLT32/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/reloc-04-X86_64_PLT32/data.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-04-X86_64_PLT32/data.asm -------------------------------------------------------------------------------- /tests/linker/reloc-04-X86_64_PLT32/hello-fn.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-04-X86_64_PLT32/hello-fn.asm -------------------------------------------------------------------------------- /tests/linker/reloc-04-X86_64_PLT32/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-04-X86_64_PLT32/main.asm -------------------------------------------------------------------------------- /tests/linker/reloc-09-X86_64_GOTPCREL/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/reloc-09-X86_64_GOTPCREL/data.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-09-X86_64_GOTPCREL/data.asm -------------------------------------------------------------------------------- /tests/linker/reloc-09-X86_64_GOTPCREL/main.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-09-X86_64_GOTPCREL/main.asm -------------------------------------------------------------------------------- /tests/linker/reloc-19-X86_64_TLSGD/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-19-X86_64_TLSGD/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/reloc-19-X86_64_TLSGD/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-19-X86_64_TLSGD/10-main.c -------------------------------------------------------------------------------- /tests/linker/reloc-19-X86_64_TLSGD/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-19-X86_64_TLSGD/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/reloc-19-X86_64_TLSGD/Makefile: -------------------------------------------------------------------------------- 1 | ../common.makefile -------------------------------------------------------------------------------- /tests/linker/reloc-20-X86_64_TLSLD/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-20-X86_64_TLSLD/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/reloc-20-X86_64_TLSLD/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-20-X86_64_TLSLD/10-main.c -------------------------------------------------------------------------------- /tests/linker/reloc-20-X86_64_TLSLD/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-20-X86_64_TLSLD/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/reloc-20-X86_64_TLSLD/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-20-X86_64_TLSLD/Makefile -------------------------------------------------------------------------------- /tests/linker/reloc-21-R_X86_64_DTPOFF32/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-21-R_X86_64_DTPOFF32/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/reloc-21-R_X86_64_DTPOFF32/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-21-R_X86_64_DTPOFF32/10-main.c -------------------------------------------------------------------------------- /tests/linker/reloc-21-R_X86_64_DTPOFF32/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-21-R_X86_64_DTPOFF32/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/reloc-21-R_X86_64_DTPOFF32/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-21-R_X86_64_DTPOFF32/Makefile -------------------------------------------------------------------------------- /tests/linker/reloc-22-X86_64_GOTTPOFF/0-crt1.lo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-22-X86_64_GOTTPOFF/0-crt1.lo -------------------------------------------------------------------------------- /tests/linker/reloc-22-X86_64_GOTTPOFF/10-main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-22-X86_64_GOTTPOFF/10-main.c -------------------------------------------------------------------------------- /tests/linker/reloc-22-X86_64_GOTTPOFF/999-libmusl.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-22-X86_64_GOTTPOFF/999-libmusl.a -------------------------------------------------------------------------------- /tests/linker/reloc-22-X86_64_GOTTPOFF/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aep/elfkit/HEAD/tests/linker/reloc-22-X86_64_GOTTPOFF/Makefile -------------------------------------------------------------------------------- /tests/simple_collector.rs: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------