2017-04-10 11:32:00 +00:00
|
|
|
#...
|
|
|
|
[a-f0-9]+ <main>:
|
|
|
|
[ ]*[a-f0-9]+: 48 83 ec 08 sub \$0x8,%rsp
|
2022-10-27 18:45:45 +00:00
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ addr32 call [a-f0-9]+ <foo>
|
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ call \*0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.*>
|
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ call \*0x[a-f0-9]+\(%rip\) # [a-f0-9]+ <.*>
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ (rex mov|mov ) \$0x[a-f0-9]+,%(r|e)ax
|
2022-10-27 18:45:45 +00:00
|
|
|
[ ]*[a-f0-9]+: ff d0 call \*%rax
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ mov 0x[a-f0-9]+\(%rip\),%rcx # [a-f0-9]+ <.*>
|
2022-10-27 18:45:45 +00:00
|
|
|
[ ]*[a-f0-9]+: ff d1 call \*%rcx
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ mov 0x[a-f0-9]+\(%rip\),%rdx # [a-f0-9]+ <.*>
|
2022-10-27 18:45:45 +00:00
|
|
|
[ ]*[a-f0-9]+: ff d2 call \*%rdx
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: 31 ff xor %edi,%edi
|
|
|
|
[ ]*[a-f0-9]+: 48 83 c4 08 add \$0x8,%rsp
|
2022-10-27 18:45:45 +00:00
|
|
|
[ ]*[a-f0-9]+: [ a-f0-9]+ jmp [a-f0-9]+ <myexit>
|
2017-04-10 11:32:00 +00:00
|
|
|
[ ]*[a-f0-9]+: 90 nop
|
|
|
|
#pass
|