Question
Binary Bomb phase 4 Dump of assembler code for function phase_4: > 0x0000000000400fe7 : sub $0x18,%rsp 0x0000000000400feb : lea 0x8(%rsp),%rcx 0x0000000000400ff0 : lea 0xc(%rsp),%rdx 0x0000000000400ff5
Binary Bomb phase 4
Dump of assembler code for function phase_4: > 0x0000000000400fe7 <+0>: sub $0x18,%rsp 0x0000000000400feb <+4>: lea 0x8(%rsp),%rcx 0x0000000000400ff0 <+9>: lea 0xc(%rsp),%rdx 0x0000000000400ff5 <+14>: mov $0x40290d,%esi 0x0000000000400ffa <+19>: mov $0x0,%eax 0x0000000000400fff <+24>: callq 0x400c00 <__isoc99_sscanf@plt> 0x0000000000401004 <+29>: cmp $0x2,%eax 0x0000000000401007 <+32>: jne 0x401010
Dump of assembler code for function func4: 0x0000000000400fb4 <+0>: push %rbx 0x0000000000400fb5 <+1>: mov %edx,%eax 0x0000000000400fb7 <+3>: sub %esi,%eax 0x0000000000400fb9 <+5>: mov %eax,%ebx 0x0000000000400fbb <+7>: shr $0x1f,%ebx 0x0000000000400fbe <+10>: add %ebx,%eax 0x0000000000400fc0 <+12>: sar %eax 0x0000000000400fc2 <+14>: lea (%rax,%rsi,1),%ebx 0x0000000000400fc5 <+17>: cmp %edi,%ebx 0x0000000000400fc7 <+19>: jle 0x400fd5
So what is the answer for bomb 4. Is it 0 7 ?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started