All pastes #461879 Raw Edit

trem

public text v1 · immutable
#461879 ·published 2007-04-27 22:27 UTC
rendered paste body
[root@chantry rtdm]# objdump -M intel -S /sbin/insmod| grep -A6 strrchr
0000000000400b10 <strrchr@plt>:
  400b10:       ff 25 da 0d 20 00       jmp    QWORD PTR ds:0x200dda
  400b16:       68 0f 00 00 00          push   0xf
  400b1b:       e9 f0 fe ff ff          jmp    400a10 <memset@plt-0x10>

0000000000400b20 <strerror@plt>:
  400b20:       ff 25 d2 0d 20 00       jmp    QWORD PTR ds:0x200dd2
--
  400d30:       e8 db fd ff ff          call   400b10 <strrchr@plt>
  400d35:       48 85 c0                test   rax,rax
  400d38:       74 12                   je     400d4c <open@plt+0x16c>
  400d3a:       48 29 d8                sub    rax,rbx
  400d3d:       48 89 de                mov    rsi,rbx
  400d40:       4c 89 e7                mov    rdi,r12
  400d43:       48 8d 50 01             lea    rdx,[rax+1]
--
  400eff:       e8 0c fc ff ff          call   400b10 <strrchr@plt>
  400f04:       48 83 f8 01             cmp    rax,0x1
  400f08:       48 89 c7                mov    rdi,rax
  400f0b:       be d8 13 40 00          mov    esi,0x4013d8
  400f10:       48 83 df ff             sbb    rdi,0xffffffffffffffff
  400f14:       e8 17 fc ff ff          call   400b30 <strstr@plt>
  400f19:       48 85 c0                test   rax,rax