Question
phase 4 bomb lab. The input has to be 2 numbers: Dump of assembler code for function phase_4: 0x000000000040108b : sub $0x18,%rsp 0x000000000040108f : mov
phase 4 bomb lab. The input has to be 2 numbers: Dump of assembler code for function phase_4: 0x000000000040108b <+0>: sub $0x18,%rsp 0x000000000040108f <+4>: mov %fs:0x28,%rax => 0x0000000000401098 <+13>: mov %rax,0x8(%rsp) 0x000000000040109d <+18>: xor %eax,%eax 0x000000000040109f <+20>: lea 0x4(%rsp),%rcx 0x00000000004010a4 <+25>: mov %rsp,%rdx 0x00000000004010a7 <+28>: mov $0x40294d,%esi 0x00000000004010ac <+33>: callq 0x400c40 <__isoc99_sscanf@plt> 0x00000000004010b1 <+38>: cmp $0x2,%eax 0x00000000004010b4 <+41>: jne 0x4010bc 0x00000000004010b6 <+43>: cmpl $0xe,(%rsp) 0x00000000004010ba <+47>: jbe 0x4010c1 0x00000000004010bc <+49>: callq 0x401684 0x00000000004010c1 <+54>: mov $0xe,%edx 0x00000000004010c6 <+59>: mov $0x0,%esi 0x00000000004010cb <+64>: mov (%rsp),%edi 0x00000000004010ce <+67>: callq 0x401058 0x00000000004010d3 <+72>: cmp $0x23,%eax 0x00000000004010d6 <+75>: jne 0x4010df 0x00000000004010d8 <+77>: cmpl $0x23,0x4(%rsp) 0x00000000004010dd <+82>: je 0x4010e4 0x00000000004010df <+84>: callq 0x401684 0x00000000004010e4 <+89>: mov 0x8(%rsp),%rax 0x00000000004010e9 <+94>: xor %fs:0x28,%rax 0x00000000004010f2 <+103>: je 0x4010f9 0x00000000004010f4 <+105>: callq 0x400b90 <__stack_chk_fail@plt> 0x00000000004010f9 <+110>: add $0x18,%rsp 0x00000000004010fd <+114>: retq
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