Answered step by step
Verified Expert Solution
Question
1 Approved Answer
phase_3 needs to be diffused and I have been stucked for the longest tim. expected input is %d %d. this is where I keep ending
phase_3 needs to be diffused and I have been stucked for the longest tim. expected input is %d %d.
this is where I keep ending up.
dump from the whole phase:
(gdb) disas Dump of assembler code for function phase_3: sub lea lea $0x18 , %rsp 0x8(%r sp ) ,%rcx 0xc(%r sp ) ,%rdx 0x0000000000400f43 : 0x0000000000400f47 : 0x0000000000400f4C 0x8000000000400f51 : mov $0x4027bd%esi 0x0000000000400f56 : 0x0000000000400f5b : 0x0000000000400f60 : 0x0000000000400f63 : jg 0x0000000000400f65 : 0x0000000000400f6a: cmp! $0x7 , 0xc(%rsp) 0x0000000000400f6f : 0x0000000000400f71 : mov 0xc(%r sp ) ,%eax 0x0000000000400f75 : jmpq 0x402520 (,%rax,8) 0x0000000000400f7c : 0x0000000000400f81 0x0000000000400f83 : 0x0000000000400f88 : 0x0000000000400f8d : 0x8000000000400f8f762; 0x0000000000400f94 : 0x0000000000400f99 : 0x0000000000400f9b : 0x0000000000400fa0 : 0x0000000000400fa5 0x0000000000400fa7 : mov $8x0,%eax 0x8000000000400fac : Jmp 0x8000000000400fb3 : mov $8x0,%eax 0x8000000000400fb8 : sub $0x355,%eax 0x0000000000400fbd : jmp 0x8000000000400fbf : mov $8x0,%eax 0x8000000000400fc4: add $0x355,%eax 0x0000000000400fc9 : jmp 0x400fd0Step 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