Skip to content

Instantly share code, notes, and snippets.

@agentzh

agentzh/a.S Secret

Created February 4, 2021 02:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agentzh/b28acf339807b0f681fc4e36fb73fa1f to your computer and use it in GitHub Desktop.
Save agentzh/b28acf339807b0f681fc4e36fb73fa1f to your computer and use it in GitHub Desktop.
00000000004004a6 <foo>:
foo():
/tmp/y_trace_P6Wzri6/test.c:5
4004a6: 55 push rbp
4004a7: 48 89 e5 mov rbp,rsp
4004aa: 89 7d fc mov DWORD PTR [rbp-0x4],edi
/tmp/y_trace_P6Wzri6/test.c:7
4004ad: 8b 05 6d 0b 20 00 mov eax,DWORD PTR [rip+0x200b6d] # 601020 <__TMC_END__>
4004b3: 83 c0 01 add eax,0x1
4004b6: 89 05 64 0b 20 00 mov DWORD PTR [rip+0x200b64],eax # 601020 <__TMC_END__>
/tmp/y_trace_P6Wzri6/test.c:8
4004bc: 8b 45 fc mov eax,DWORD PTR [rbp-0x4]
/tmp/y_trace_P6Wzri6/test.c:9
4004bf: 5d pop rbp
4004c0: c3 ret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment