Guest User

Untitled

a guest
Jan 21st, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Dump of assembler code for function phase_6:
  2. 0x08048c16 <phase_6+0>: push   %ebp
  3. 0x08048c17 <phase_6+1>: mov    %esp,%ebp
  4. 0x08048c19 <phase_6+3>: push   %edi
  5. 0x08048c1a <phase_6+4>: push   %esi
  6. 0x08048c1b <phase_6+5>: push   %ebx
  7. 0x08048c1c <phase_6+6>: sub    $0x3c,%esp
  8. 0x08048c1f <phase_6+9>: lea    -0x24(%ebp),%eax
  9. 0x08048c22 <phase_6+12>:        mov    %eax,0x4(%esp)
  10. 0x08048c26 <phase_6+16>:        mov    0x8(%ebp),%eax
  11. 0x08048c29 <phase_6+19>:        mov    %eax,(%esp)
  12. 0x08048c2c <phase_6+22>:        call   0x8049265 <read_six_numbers>
  13. 0x08048c31 <phase_6+27>:        mov    $0x0,%ebx
  14. 0x08048c36 <phase_6+32>:        mov    -0x24(%ebp,%ebx,4),%eax
  15. 0x08048c3a <phase_6+36>:        sub    $0x1,%eax
  16. 0x08048c3d <phase_6+39>:        cmp    $0x5,%eax
  17. 0x08048c40 <phase_6+42>:        jbe    0x8048c47 <phase_6+49>
  18. 0x08048c42 <phase_6+44>:        call   0x8049223 <explode_bomb>
  19. 0x08048c47 <phase_6+49>:        lea    0x1(%ebx),%edi
  20. 0x08048c4a <phase_6+52>:        cmp    $0x6,%edi
  21. 0x08048c4d <phase_6+55>:        je     0x8048ced <phase_6+215>
  22. 0x08048c53 <phase_6+61>:        lea    -0x24(%ebp,%ebx,4),%esi
  23. 0x08048c57 <phase_6+65>:        mov    %edi,%ebx
  24. 0x08048c59 <phase_6+67>:        lea    -0x24(%ebp),%eax
  25. 0x08048c5c <phase_6+70>:        mov    %eax,-0x40(%ebp)
  26. 0x08048c5f <phase_6+73>:        mov    -0x40(%ebp),%edx
  27. 0x08048c62 <phase_6+76>:        mov    -0x4(%edx,%edi,4),%eax
  28. 0x08048c66 <phase_6+80>:        cmp    0x4(%esi),%eax
  29. 0x08048c69 <phase_6+83>:        jne    0x8048c70 <phase_6+90>
  30. 0x08048c6b <phase_6+85>:        call   0x8049223 <explode_bomb>
  31. 0x08048c70 <phase_6+90>:        add    $0x1,%ebx
  32. 0x08048c73 <phase_6+93>:        add    $0x4,%esi
  33. 0x08048c76 <phase_6+96>:        cmp    $0x5,%ebx
  34. 0x08048c79 <phase_6+99>:        jle    0x8048c5f <phase_6+73>
  35. 0x08048c7b <phase_6+101>:       mov    %edi,%ebx
  36. 0x08048c7d <phase_6+103>:       jmp    0x8048c36 <phase_6+32>
  37. 0x08048c7f <phase_6+105>:       mov    0x8(%ecx),%ecx
  38. 0x08048c82 <phase_6+108>:       add    $0x1,%eax
  39. 0x08048c85 <phase_6+111>:       cmp    -0x24(%ebp,%edx,4),%eax
  40. 0x08048c89 <phase_6+115>:       jl     0x8048c7f <phase_6+105>
  41. 0x08048c8b <phase_6+117>:       mov    %ecx,-0x3c(%ebp,%edx,4)
  42. 0x08048c8f <phase_6+121>:       add    $0x1,%edx
  43. 0x08048c92 <phase_6+124>:       cmp    $0x5,%edx
  44. 0x08048c95 <phase_6+127>:       jg     0x8048ca3 <phase_6+141>
  45. 0x08048c97 <phase_6+129>:       mov    $0x804a5fc,%ecx
  46. 0x08048c9c <phase_6+134>:       mov    $0x1,%eax
  47. 0x08048ca1 <phase_6+139>:       jmp    0x8048c85 <phase_6+111>
  48. 0x08048ca3 <phase_6+141>:       mov    -0x3c(%ebp),%ecx
  49. 0x08048ca6 <phase_6+144>:       mov    -0x38(%ebp),%eax
  50. 0x08048ca9 <phase_6+147>:       mov    %eax,0x8(%ecx)
  51. 0x08048cac <phase_6+150>:       mov    -0x34(%ebp),%edx
  52. 0x08048caf <phase_6+153>:       mov    %edx,0x8(%eax)
  53. 0x08048cb2 <phase_6+156>:       mov    -0x30(%ebp),%eax
  54. 0x08048cb5 <phase_6+159>:       mov    %eax,0x8(%edx)
  55. 0x08048cb8 <phase_6+162>:       mov    -0x2c(%ebp),%edx
  56. 0x08048cbb <phase_6+165>:       mov    %edx,0x8(%eax)
  57. 0x08048cbe <phase_6+168>:       mov    -0x28(%ebp),%eax
  58. 0x08048cc1 <phase_6+171>:       mov    %eax,0x8(%edx)
  59. 0x08048cc4 <phase_6+174>:       movl   $0x0,0x8(%eax)
  60. 0x08048ccb <phase_6+181>:       mov    %ecx,%ebx
  61. 0x08048ccd <phase_6+183>:       mov    $0x0,%esi
  62. 0x08048cd2 <phase_6+188>:       mov    0x8(%ebx),%edx
  63. 0x08048cd5 <phase_6+191>:       mov    (%ebx),%eax
  64. 0x08048cd7 <phase_6+193>:       cmp    (%edx),%eax
  65. 0x08048cd9 <phase_6+195>:       jge    0x8048ce0 <phase_6+202>
  66. 0x08048cdb <phase_6+197>:       call   0x8049223 <explode_bomb>
  67. 0x08048ce0 <phase_6+202>:       mov    0x8(%ebx),%ebx
  68. 0x08048ce3 <phase_6+205>:       add    $0x1,%esi
  69. 0x08048ce6 <phase_6+208>:       cmp    $0x5,%esi
  70. 0x08048ce9 <phase_6+211>:       je     0x8048cfe <phase_6+232>
  71. 0x08048ceb <phase_6+213>:       jmp    0x8048cd2 <phase_6+188>
  72. 0x08048ced <phase_6+215>:       mov    $0x804a5fc,%ecx
  73. 0x08048cf2 <phase_6+220>:       mov    $0x1,%eax
  74. 0x08048cf7 <phase_6+225>:       mov    $0x0,%edx
  75. 0x08048cfc <phase_6+230>:       jmp    0x8048c85 <phase_6+111>
  76. 0x08048cfe <phase_6+232>:       add    $0x3c,%esp
  77. 0x08048d01 <phase_6+235>:       pop    %ebx
  78. 0x08048d02 <phase_6+236>:       pop    %esi
  79. 0x08048d03 <phase_6+237>:       pop    %edi
  80. 0x08048d04 <phase_6+238>:       pop    %ebp
  81. 0x08048d05 <phase_6+239>:       ret
  82. End of assembler dump.
  83. (gdb)
Add Comment
Please, Sign In to add comment