-
Notifications
You must be signed in to change notification settings - Fork 0
jhswartz/shelf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DEMO CODE $ printf "\110\307\307\200\000\000\000" > /tmp/a.code # mov $0x80,%rdi $ printf "\110\307\300\074\000\000\000" >> /tmp/a.code # mov $0x3c,%rax $ printf "\017\005" >> /tmp/a.code # syscall GENERATE AN EXECUTABLE OBJECT $ ./shelf amd64/linux/exec.plan usage: exec.plan TEXT-FILE DATA-FILE BSS-SIZE $ ./shelf amd64/linux/exec.plan /tmp/a.code /dev/null 0 > /tmp/a.out $ chmod 755 /tmp/a.out $ strace -e trace=all /tmp/a.out execve("/tmp/a.out", ["/tmp/a.out"], 0x7ffd7141ec10 /* 35 vars */) = 0 exit(128) = ? +++ exited with 128 +++
About
Shell scripts that spawn ELF objects without a linker.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published