1 #as: --64 2 #ld: -m elf_x86_64 -shared 3 #objdump: -dw 4 5 .*: +file format .* 6 7 8 Disassembly of section .text: 9 10 0+[a-f0-9]+ <printk>: 11 +[a-f0-9]+: c3 ret 12 13 Disassembly of section .init.text: 14 15 0+[a-f0-9]+ <foo>: 16 +[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk> 17 +[a-f0-9]+: e8 ([0-9a-f]{2} ){4} call [a-f0-9]+ <printk> 18 #pass 19