Skip to content

Instantly share code, notes, and snippets.

@cboin
Last active July 30, 2018 20:49
Show Gist options
  • Save cboin/04605063c49511e0d06801fc9c87a553 to your computer and use it in GitHub Desktop.
Save cboin/04605063c49511e0d06801fc9c87a553 to your computer and use it in GitHub Desktop.
$ objdump -d crackmecpp | less
[..]
0804876c <main>:
 804876c:       55                      push   %ebp
 804876d:       89 e5                   mov    %esp,%ebp
 804876f:       83 e4 f0                and    $0xfffffff0,%esp
 [..]
 804879d:       8b 44 24 1c             mov    0x1c(%esp),%eax
 80487a1:       3d d2 04 00 00          cmp    $0x4d2,%eax <= cmp 1234, %eax
 80487a6:       74 07                   je     80487af <main+0x43>
 80487a8:       b8 63 00 00 00          mov    $0x63,%eax
 80487ad:       eb 19                   jmp    80487c8 <main+0x5c>
 [..]
@seysn
Copy link

seysn commented Jul 30, 2018

bof

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment