as -o shellcode.o shellcode.s ld -o shellcode-elf shellcode.o objcopy -dump-section .text=shellcode-raw shellcode-elf