Question: 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.

phase_3 needs to be diffused and I have been stucked for the

dump from the whole phase:

longest tim. expected input is %d %d. this is where I keep

(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 0x400fd0 0x0000000000400fcb : mov $0x8,%eax 0x0000000000400fd0141> : sub $0x355,%eax 0x0000000000400fd5 : jmp 0x0000000000400fd7 0x8000000000400fdc : mov $0x0,%eax 0x0000000000400fe1 : jg 0x0000000000400fe8 : cmp 0x8(Xrsp),%eax 0x0000000000400fec :je 0x0000000000400fee : callq 0x401574 0x8000000000400ff3 : add $8x18,%rsp 0x0000000000400ff7 : retq mov callq p $8x0,%eax 0x400c10<_1soc99-sscanf> $0x1,%eax 0x400fa callq 0x401574 0x400fd7 $0x0,%eax 0x400f88 $0x61,%eax $0x1ca,%eax 0x400f94 $0x8,%eax $0x379,%eax 0x400fa0 $8x0,%eax $0x355 , %eax 0x400fac mov mov sub jmp mov add jmp mov sub j mp 0x400fb8 0x400fc4 0x400fe1 0x400fee 0x400ff3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!