Question: What is the expected input for phase_4 of the binary bomb program? A picture of the assembly code for phase_4 is below. Dump of assembler

What is the expected input for phase_4 of the binary bomb program?

A picture of the assembly code for phase_4 is below.

What is the expected input for phase_4 of the binary bomb program?

Dump of assembler code for function phase 4 => 0x00000000004010ce : sub lea 0xc (%rsp) ,%rcx lea 0x8 (rsp), 8rdx mov mov callg0x400c30 0x00000000004010d2 0x00000000004010d7 0x00000000004010dc : cmp 0x00000000004010ee :jne 0x00000000004010f0 : mov 0x00000000004010f4 : 0x00000000004010fa : jbe 0x00000000004010fc : 0x0000000000401101 : 0x0000000000401105 0x000000000040110a : cmp 0x0000000000401113 : $0x40284d, %esi $0x0, %eax $0x2 , %eax 0x4010fc cmp 4+51> callq 0x4015f4 mov mov callq 0x401096 0xc ( % rsp ) , Bes 0x8(%rsp),8eax 0x40111a calld 0x4015f4 $0x18, %rsp retq End of assembler dump (gdb) disassemble func4 Dump of assembler code for function func4: 0x0000000000401096 0x0000000000401098 : 0x000000000040109a : 0x000000000040109c 0x000000000040109e : 0x00000000004010a0 : 0x00000000004010a2 : je 0x00000000004010a9 : 0x00000000004010ac : 0x00000000004010bl : 0x00000000004010c2:jmp 0x00000000004010c4 0x00000000004010cb mov mov cmp esi, %eax 0x4010c9 -0x1 (%rdi) , %edi callq 0x401096 ea ea mov (trax, %rbp, 1) , %r12d -0x2 ( % rbx ) , %edi %ebp, %esi callq 0x401096 0x4010c9 $0x0, %eax mov End of assembler dump Dump of assembler code for function phase 4 => 0x00000000004010ce : sub lea 0xc (%rsp) ,%rcx lea 0x8 (rsp), 8rdx mov mov callg0x400c30 0x00000000004010d2 0x00000000004010d7 0x00000000004010dc : cmp 0x00000000004010ee :jne 0x00000000004010f0 : mov 0x00000000004010f4 : 0x00000000004010fa : jbe 0x00000000004010fc : 0x0000000000401101 : 0x0000000000401105 0x000000000040110a : cmp 0x0000000000401113 : $0x40284d, %esi $0x0, %eax $0x2 , %eax 0x4010fc cmp 4+51> callq 0x4015f4 mov mov callq 0x401096 0xc ( % rsp ) , Bes 0x8(%rsp),8eax 0x40111a calld 0x4015f4 $0x18, %rsp retq End of assembler dump (gdb) disassemble func4 Dump of assembler code for function func4: 0x0000000000401096 0x0000000000401098 : 0x000000000040109a : 0x000000000040109c 0x000000000040109e : 0x00000000004010a0 : 0x00000000004010a2 : je 0x00000000004010a9 : 0x00000000004010ac : 0x00000000004010bl : 0x00000000004010c2:jmp 0x00000000004010c4 0x00000000004010cb mov mov cmp esi, %eax 0x4010c9 -0x1 (%rdi) , %edi callq 0x401096 ea ea mov (trax, %rbp, 1) , %r12d -0x2 ( % rbx ) , %edi %ebp, %esi callq 0x401096 0x4010c9 $0x0, %eax mov End of assembler dump

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!