Skip to content

simonracz/elf-magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Elf-Magic

Code created during recording the Elf Magic - Digging Deeper into an Elf Binary on Linux video

Various Snippets for Building

gcc -Os -o ./hello ./hello.c
gcc -Os -o ./hello ./hello.c -Wl,-s
nasm -felf64 -o ./hello_asm.o ./hello_asm.asm
ld -o hello_asm ./hello_asm.o
ld -n -o hello_asm ./hello_asm.o
ld -N -o hello_asm ./hello_asm.o
ld -s -o hello_asm ./hello_asm.o

Various Tools

nm ./hello_asm
readelf -a ./hello_asm
hexdump -C ./hello_asm
strace ./hello_asm
objdump -d -M intel ./hello_asm

About

Code created during streaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published