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. 08048d25 : 8048d25: 53 push %ebx 8048d26: 83 ec 28 sub

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

08048d25 : 8048d25: 53 push %ebx 8048d26: 83 ec 28 sub $0x28,%esp 8048d29: 8d 44 24 1c lea 0x1c(%esp),%eax 8048d2d: 89 44 24 08 mov %eax,0x8(%esp) 8048d31: c7 44 24 04 24 a6 04 movl $0x804a624,0x4(%esp) 8048d38: 08 8048d39: 8b 44 24 30 mov 0x30(%esp),%eax 8048d3d: 89 04 24 mov %eax,(%esp) 8048d40: e8 3b fb ff ff call 8048880 <__isoc99_sscanf@plt> 8048d45: 83 f8 01 cmp $0x1,%eax 8048d48: 74 05 je 8048d4f 8048d4a: e8 36 06 00 00 call 8049385 8048d4f: 8b 5c 24 1c mov 0x1c(%esp),%ebx 8048d53: 85 db test %ebx,%ebx 8048d55: 7e 1e jle 8048d75 8048d57: b8 01 00 00 00 mov $0x1,%eax 8048d5c: ba 00 00 00 00 mov $0x0,%edx 8048d61: 8d 0c 40 lea (%eax,%eax,2),%ecx 8048d64: 8d 04 81 lea (%ecx,%eax,4),%eax 8048d67: 83 c2 01 add $0x1,%edx 8048d6a: 39 da cmp %ebx,%edx 8048d6c: 75 f3 jne 8048d61 8048d6e: 3d a7 41 00 00 cmp $0x41a7,%eax 8048d73: 74 05 je 8048d7a 8048d75: e8 0b 06 00 00 call 8049385 8048d7a: 83 c4 28 add $0x28,%esp 8048d7d: 5b pop %ebx 8048d7e: c3 ret

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_2

Step: 3

blur-text-image_3

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

Databases DeMYSTiFieD

Authors: Andy Oppel

2nd Edition

0071747990, 978-0071747998

More Books

Students also viewed these Databases questions