Dump of assembler code for function func4: 0x0000000000400fde <+02: sub $0x8,%rsp Ox0000000000400fe2 <+4>: mov %edx, %ea

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Dump of assembler code for function func4: 0x0000000000400fde <+02: sub $0x8,%rsp Ox0000000000400fe2 <+4>: mov %edx, %ea

Post by answerhappygod »

Dump Of Assembler Code For Function Func4 0x0000000000400fde 02 Sub 0x8 Rsp Ox0000000000400fe2 4 Mov Edx Ea 1
Dump Of Assembler Code For Function Func4 0x0000000000400fde 02 Sub 0x8 Rsp Ox0000000000400fe2 4 Mov Edx Ea 1 (296.41 KiB) Viewed 55 times
Input must be two integers to defuse the bomb lab
Dump of assembler code for function func4: 0x0000000000400fde <+02: sub $0x8,%rsp Ox0000000000400fe2 <+4>: mov %edx, %eax Ox0000000000400fe4 <+6>: sub %esi,%eax 0x0000000000400fe6 <+8>: mov %eax,%ecx 0x0000000000400fe8 <+10>: shr $0x1f,%ecx 0x0000000000400feb <+13>: add %ecx,%eax Ox0000000000400fed <+15>: sar %eax 0x0000000000400fef <+17>: lea (%rax,%rsi,1),%ecx Ox0000000000400ff2 <+20>: cmp %edi,%ecx 0x0000000000400ff4 5+22>: jle 0x401002 <func4+36> 0x0000000000400ff6 <+24>: lea -Ox1(%rcx),%edx 0x0000000000400ff9 <+27>: calla 0x400fde <func4> Ox0000000000400ffe <+32>: add %eax, %eax 0x0000000000401400 <+34>: jmp 0x401017 <func4+57> 0x0000000000401002 <+36>: mov $0x0,%eax 0x0000000000401007 <+41>: cmp %edi,%ecx 0x0000000000401009 <+43>: jge 0x401017 <func4+57> 0x000000000040140b <+45>: lea 0x1(%rcx),%esi 0x000000000040180e <+48>: callq 0x400fde <func4> 0x0000000000401013 <+53>: lea 0x1(%rax,%rax, 1),%eax 0x0000000000401017 <+57>: add $0x8,%rsp 0x000000000040101b <+61>: reta to continue to + L Tyno roturn returi

Dump of assembler code for function phase_4: > 0x000000000040101c <+>: sub $0x18,%rsp 0x0000000000401020 <+4>: lea 0x8(%rsp),%rcx Ox0000000000401025 <+9>: lea exc(%rsp),%rdx 0x000000000040102a <+14>: mov $0x4027cd,%esi 0x000000000040102f <+19>: mov $0x0,%eax 0x0000000000401034 <+24>: calla 0x400c30 <__isoc99_sscanf@plt> Ox0000000000401039 <+29>: cmp $0x2,%eax 0x000000000040103c <+32>: jne 0x401045 <phase_4+41> 0x000000000040103e <+34>: cmpl $0xe, exc(%rsp) 0x0000000000401043 <+39>: jbe 0x40104a <phase_4+46> Ox0000000000401045 <+41>: calla 0x401554 <explode_bomb> 0x000000000040104a <+46>: mov $0xe,%edx 0x000000000040104f <+51>: mov $0x0,%esi 0x0000000000401054 <+56>: mov Oxc(%rsp),%edi 0x0000000000401858 <+60>: callq 0x400fde <func4> 0x000000000040105d <+65>: cmp $0x7,%eax 0x0000000000491060 <+68>: jne 0x401069 <phase_4+77> 0x0000000000401062 <+70>: cmpl $0x7, 0x8(%rsp) 0x0000000000401067 <+75>: je 0x40106e <phase_4+82> 0x0000000000401069 <+77>: calla 0x401554 <explode_bomb> 0x000000000040106e <+82>: add $0x18,%rsp 0x0000000000401072 <+86>: reta -Type <return> to continue, or q <return> to quit---
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply