1 2 3 4 5 6 7 8 9 10 11 12 13 14
#source: lea1.s #as: --32 #ld: -Bsymbolic -shared -melf_i386 #objdump: -dw .*: +file format .* Disassembly of section .text: #... [ ]*[a-f0-9]+: 8d 81 ([0-9a-f]{2} ){4} * lea -0x[a-f0-9]+\(%ecx\),%eax [ ]*[a-f0-9]+: 8d 81 ([0-9a-f]{2} ){4} * lea 0x[a-f0-9]+\(%ecx\),%eax #pass