Created
October 5, 2016 16:20
-
-
Save un4ckn0wl3z/18380bf993631ca0aca799fb6162fb13 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) set disassembly-flavor intel | |
(gdb) disass main | |
Dump of assembler code for function main: | |
0x08048414 <+0>: push ebp | |
0x08048415 <+1>: mov ebp,esp | |
0x08048417 <+3>: and esp,0xfffffff0 | |
0x0804841a <+6>: sub esp,0x110 | |
0x08048420 <+12>: mov eax,DWORD PTR [ebp+0xc] | |
0x08048423 <+15>: add eax,0x4 | |
0x08048426 <+18>: mov eax,DWORD PTR [eax] | |
0x08048428 <+20>: mov DWORD PTR [esp+0x4],eax | |
0x0804842c <+24>: lea eax,[esp+0x10] | |
0x08048430 <+28>: mov DWORD PTR [esp],eax | |
0x08048433 <+31>: call 0x8048330 <strcpy@plt> | |
0x08048438 <+36>: mov eax,0x8048530 | |
0x0804843d <+41>: lea edx,[esp+0x10] | |
0x08048441 <+45>: mov DWORD PTR [esp+0x4],edx | |
0x08048445 <+49>: mov DWORD PTR [esp],eax | |
0x08048448 <+52>: call 0x8048320 <printf@plt> | |
0x0804844d <+57>: mov eax,0x0 | |
0x08048452 <+62>: leave | |
0x08048453 <+63>: ret | |
End of assembler dump. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment