Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

can mathematical operations be performed on a string

Answered: 1 week ago

Question

What can Chandra do to correct her mistake?

Answered: 1 week ago