Question: what would be the input values for this assembly code? bomb should not explode. 08048bd0 : 8048bd0: 83 ec 2c sub $0x2c,%esp 8048bd3: c7 44

what would be the input values for this assembly code? bomb should not explode.

08048bd0 : 8048bd0: 83 ec 2c sub $0x2c,%esp 8048bd3: c7 44 24 1c 00 00 00 movl $0x0,0x1c(%esp) 8048bda: 00 8048bdb: 8d 44 24 1c lea 0x1c(%esp),%eax 8048bdf: 89 44 24 08 mov %eax,0x8(%esp) 8048be3: c7 44 24 04 24 a6 04 movl $0x804a624,0x4(%esp) 8048bea: 08 8048beb: 8b 44 24 30 mov 0x30(%esp),%eax 8048bef: 89 04 24 mov %eax,(%esp) 8048bf2: e8 89 fc ff ff call 8048880 <__isoc99_sscanf@plt> 8048bf7: 83 f8 01 cmp $0x1,%eax 8048bfa: 74 05 je 8048c01 8048bfc: e8 84 07 00 00 call 8049385 8048c01: 81 7c 24 1c 8e 03 00 cmpl $0x38e,0x1c(%esp) 8048c08: 00 8048c09: 74 05 je 8048c10 8048c0b: e8 75 07 00 00 call 8049385 8048c10: 83 c4 2c add $0x2c,%esp 8048c13: c3 ret

function call -

08048880 <__isoc99_sscanf@plt>: 8048880: ff 25 5c d0 04 08 jmp *0x804d05c 8048886: 68 a0 00 00 00 push $0xa0 804888b: e9 a0 fe ff ff jmp 8048730 <_init+0x28>

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!