Question: This is the fourth phase of my binary bomb lab. Need to find two numbers move on to the next phase. So far, I've managed

This is the fourth phase of my binary bomb lab. Need to find two numbers move on to the next phase.

So far, I've managed to find that the second number is 24. I've looked at other examples of this problem and they all either require only one number or they have a constraint on what the first number can be, 0-14,but as far as I can tell, I have a constraint of 0-2.

When I've input all the different cominations [0,24],[1,24],[2,24], they aren't correct so I've looked into function func4, but I can't figure out what the recursive function is doing.

This is the fourth phase of my binary bomb lab. Need to

find two numbers move on to the next phase. So far, I've

Dump of assembler code for function phase_4: $0x2c, %esp 0x1c (%esp), %eax %eax, 0xc (%esp) 0x18 (%esp), %eax %eax, 0x8 (%esp) sub lea mov lea mov mov! $0x804a5e1, 0x4(%esp) mov mov call 0x80489101soc99 sscanfeplt> cmip jne 0x8048dda mov sub cmip jbe 0x8048ddf call 0x804934c mov mov movl $0x5 , (%esp) call 0x8048d58 cmip 0x08048dbl 0x08048db5 0x08048dbd 0x08048dcl 0x08048dc4 0x30 (%esp), %eax %eax, (%esp) $0x2, %eax 0x08048dcc 0x08048dce 0x08048dd2 0x08048dd5 0x08048dd8 0x08048dda 0x1c (%esp), %eax $0x2, %eax $0x2, %eax 0x1c (%esp), %eax %eax, 0x4 (%esp) 0x08048de3 0x08048de7 0x08048dee 0x18 (%esp), %eax 0x8048dfephase 0x08048df7 0x08048df9 0x08048dfe 0x08048e01 4+92> call 0x804934c add ret $0x2c, %esp Dump of assembler code for function phase_4: $0x2c, %esp 0x1c (%esp), %eax %eax, 0xc (%esp) 0x18 (%esp), %eax %eax, 0x8 (%esp) sub lea mov lea mov mov! $0x804a5e1, 0x4(%esp) mov mov call 0x80489101soc99 sscanfeplt> cmip jne 0x8048dda mov sub cmip jbe 0x8048ddf call 0x804934c mov mov movl $0x5 , (%esp) call 0x8048d58 cmip 0x08048dbl 0x08048db5 0x08048dbd 0x08048dcl 0x08048dc4 0x30 (%esp), %eax %eax, (%esp) $0x2, %eax 0x08048dcc 0x08048dce 0x08048dd2 0x08048dd5 0x08048dd8 0x08048dda 0x1c (%esp), %eax $0x2, %eax $0x2, %eax 0x1c (%esp), %eax %eax, 0x4 (%esp) 0x08048de3 0x08048de7 0x08048dee 0x18 (%esp), %eax 0x8048dfephase 0x08048df7 0x08048df9 0x08048dfe 0x08048e01 4+92> call 0x804934c add ret $0x2c, %esp

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!