Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is possible to see the opcodes in the context code? #133

Open
reisraff opened this issue Jan 28, 2019 · 0 comments
Open

Is possible to see the opcodes in the context code? #133

reisraff opened this issue Jan 28, 2019 · 0 comments

Comments

@reisraff
Copy link

reisraff commented Jan 28, 2019

Actual

...
[-------------------------------------code-------------------------------------]
   0x401178 <vuln+38>:	lea    rax,[rbp-0xb0]
   0x40117f <vuln+45>:	mov    rdi,rax
   0x401182 <vuln+48>:	mov    eax,0x0
=> 0x401187 <vuln+53>:	call   0x401060 <gets@plt>
   0x40118c <vuln+58>:	lea    rdi,[rip+0xe84]        # 0x402017
   0x401193 <vuln+65>:	mov    eax,0x0
   0x401198 <vuln+70>:	call   0x401050 <printf@plt>
   0x40119d <vuln+75>:	lea    rax,[rbp-0xb0]
Guessed arguments:
arg[0]: 0x7fffffffe4b0 --> 0xffffffff 
[------------------------------------stack-------------------------------------]
...

Expected

...
[-------------------------------------code-------------------------------------]
   0x401178 <vuln+38>:  48 8d 85 50 ff ff ff  lea    rax,[rbp-0xb0]
   0x40117f <vuln+45>:  48 89 c7              mov    rdi,rax
   0x401182 <vuln+48>:  b8 00 00 00 00        mov    eax,0x0
=> 0x401187 <vuln+53>:  e8 9f fe ff ff        call   0x401060 <gets@plt>
   0x40118c <vuln+58>:  48 8d 3d 66 0e 00 00  lea    rdi,[rip+0xe84]        # 0x402017
   0x401182 <vuln+65>:  b8 00 00 00 00        mov    eax,0x0
   0x401198 <vuln+70>:  e8 73 fe ff ff        call   0x401050 <printf@plt>
   0x40119d <vuln+75>:  48 8d 85 50 ff ff ff  lea    rax,[rbp-0xb0]
Guessed arguments:
arg[0]: 0x7fffffffe4b0 --> 0xffffffff 
[------------------------------------stack-------------------------------------]
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant