Question: Given the following assembly code, what six numbers would I have to input to get to the end of the function? Assume if it calls
Given the following assembly code, what six numbers would I have to input to get to the end of the function? Assume if it calls any of the explode functions, the program fails.
Dump of assembler code for function phase_2: 0x000000000040104c <+0>: push %rbp 0x000000000040104d <+1>: push %rbx 0x000000000040104e <+2>: sub $0x28,%rsp 0x0000000000401052 <+6>: mov %rsp,%rsi 0x0000000000401055 <+9>: callq 0x401a16 0x000000000040105a <+14>: cmpl $0x4,0x14(%rsp) 0x000000000040105f <+19>: jg 0x401086 0x0000000000401061 <+21>: callq 0x4018ba 0x0000000000401066 <+26>: jmp 0x401086 0x0000000000401068 <+28>: mov -0x4(%rbp),%eax 0x000000000040106b <+31>: lea (%rbx,%rax,2),%eax 0x000000000040106e <+34>: cmp %eax,0x0(%rbp) 0x0000000000401071 <+37>: je 0x401078 0x0000000000401073 <+39>: callq 0x4018ba 0x0000000000401078 <+44>: add $0x1,%ebx 0x000000000040107b <+47>: add $0x4,%rbp 0x000000000040107f <+51>: cmp $0x6,%ebx 0x0000000000401082 <+54>: jne 0x401068 0x0000000000401084 <+56>: jmp 0x401092 0x0000000000401086 <+58>: lea 0x4(%rsp),%rbp 0x000000000040108b <+63>: mov $0x1,%ebx 0x0000000000401090 <+68>: jmp 0x401068 0x0000000000401092 <+70>: add $0x28,%rsp 0x0000000000401096 <+74>: pop %rbx 0x0000000000401097 <+75>: pop %rbp 0x0000000000401098 <+76>: retq End of assembler dump.