Advertisement
Guest User

Untitled

a guest
Apr 16th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.08 KB | None | 0 0
  1. foo:
  2. Relocation information (__TEXT,__text) 5 entries
  3. address pcrel length extern type scattered symbolnum/value
  4. 000000ad True long True VANILLA False _printf
  5. 00000090 False long n/a LOCSDIF True 0x000000c2
  6. False long n/a PAIR True 0x0000006d
  7. 00000084 True long False VANILLA False 1 (__TEXT,__text)
  8. 00000055 True long False VANILLA False 1 (__TEXT,__text)
  9. (__TEXT,__text) section
  10. _foo:
  11. 00000000 pushl %ebp
  12. 00000001 movl %esp,%ebp
  13. 00000003 subl $0x10,%esp
  14. 00000006 movl 0x0c(%ebp),%eax
  15. 00000009 movl 0x08(%ebp),%ecx
  16. 0000000c movl %eax,0xfc(%ebp)
  17. 0000000f movl $0x00000001,0xf0(%ebp)
  18. 00000016 movl $0x00000002,0xf4(%ebp)
  19. 0000001d movl $0x00000003,0xf8(%ebp)
  20. 00000024 movsd 0xf0(%ebp),%xmm0
  21. 00000029 movsd %xmm0,(%ecx)
  22. 0000002d movl $0x00000003,0x08(%ecx)
  23. 00000034 addl $0x10,%esp
  24. 00000037 popl %ebp
  25. 00000038 retl $0x0004
  26. 0000003b nopl _foo(%eax,%eax)
  27. _bar:
  28. 00000040 pushl %ebp
  29. 00000041 movl %esp,%ebp
  30. 00000043 subl $0x08,%esp
  31. 00000046 movl 0x08(%ebp),%eax
  32. 00000049 movl %esp,%ecx
  33. 0000004b movl %eax,(%ecx)
  34. 0000004d movl $_foo,0x04(%ecx)
  35. 00000054 calll _foo
  36. 00000059 addl $0x04,%esp
  37. 0000005c popl %ebp
  38. 0000005d retl $0x0004
  39. _main:
  40. 00000060 pushl %ebp
  41. 00000061 movl %esp,%ebp
  42. 00000063 pushl %edi
  43. 00000064 pushl %esi
  44. 00000065 subl $0x30,%esp
  45. 00000068 calll 0x0000006d
  46. 0000006d popl %eax
  47. 0000006e movl 0x0c(%ebp),%ecx
  48. 00000071 movl 0x08(%ebp),%edx
  49. 00000074 leal 0xe0(%ebp),%esi
  50. 00000077 movl %edx,0xf4(%ebp)
  51. 0000007a movl %ecx,0xf0(%ebp)
  52. 0000007d movl %esi,(%esp)
  53. 00000080 movl %eax,0xdc(%ebp)
  54. 00000083 calll _bar
  55. 00000088 subl $0x04,%esp
  56. 0000008b movl 0xdc(%ebp),%eax
  57. 0000008e leal 0xc2-0x6d(%eax),%ecx
  58. 00000094 movl 0xe0(%ebp),%edx
  59. 00000097 movl 0xe4(%ebp),%esi
  60. 0000009a movl 0xe8(%ebp),%edi
  61. 0000009d movl %ecx,(%esp)
  62. 000000a0 movl %edx,0x04(%esp)
  63. 000000a4 movl %esi,0x08(%esp)
  64. 000000a8 movl %edi,0x0c(%esp)
  65. 000000ac calll _printf
  66. 000000b1 movl $_foo,%ecx
  67. 000000b6 movl %eax,0xd8(%ebp)
  68. 000000b9 movl %ecx,%eax
  69. 000000bb addl $0x30,%esp
  70. 000000be popl %esi
  71. 000000bf popl %edi
  72. 000000c0 popl %ebp
  73. 000000c1 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement