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. 08048ca7 : 8048ca7: 57 push %edi 8048ca8: 56 push %esi 8048ca9:

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

08048ca7 : 8048ca7: 57 push %edi 8048ca8: 56 push %esi 8048ca9: 53 push %ebx 8048caa: 83 ec 10 sub $0x10,%esp 8048cad: 8b 5c 24 20 mov 0x20(%esp),%ebx 8048cb1: 89 1c 24 mov %ebx,(%esp) 8048cb4: e8 12 04 00 00 call 80490cb 8048cb9: 83 c0 01 add $0x1,%eax 8048cbc: 89 04 24 mov %eax,(%esp) 8048cbf: e8 3c fb ff ff call 8048800 8048cc4: 89 c7 mov %eax,%edi 8048cc6: 0f b6 13 movzbl (%ebx),%edx 8048cc9: 84 d2 test %dl,%dl 8048ccb: 74 33 je 8048d00 8048ccd: 89 c6 mov %eax,%esi 8048ccf: b8 00 00 00 00 mov $0x0,%eax 8048cd4: 83 f8 0d cmp $0xd,%eax 8048cd7: 75 13 jne 8048cec 8048cd9: b0 00 mov $0x0,%al 8048cdb: 80 fa 74 cmp $0x74,%dl 8048cde: 74 14 je 8048cf4 8048ce0: e8 a0 06 00 00 call 8049385 8048ce5: b8 00 00 00 00 mov $0x0,%eax 8048cea: eb 08 jmp 8048cf4 8048cec: 83 c0 01 add $0x1,%eax 8048cef: 88 16 mov %dl,(%esi) 8048cf1: 8d 76 01 lea 0x1(%esi),%esi 8048cf4: 83 c3 01 add $0x1,%ebx 8048cf7: 0f b6 13 movzbl (%ebx),%edx 8048cfa: 84 d2 test %dl,%dl 8048cfc: 75 d6 jne 8048cd4 8048cfe: eb 02 jmp 8048d02 8048d00: 89 c6 mov %eax,%esi 8048d02: c6 06 00 movb $0x0,(%esi) 8048d05: 89 7c 24 04 mov %edi,0x4(%esp) 8048d09: c7 04 24 bc a3 04 08 movl $0x804a3bc,(%esp) 8048d10: e8 d5 03 00 00 call 80490ea 8048d15: 85 c0 test %eax,%eax 8048d17: 74 05 je 8048d1e 8048d19: e8 67 06 00 00 call 8049385 8048d1e: 83 c4 10 add $0x10,%esp 8048d21: 5b pop %ebx 8048d22: 5e pop %esi 8048d23: 5f pop %edi 8048d24: 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

The Manga Guide To Databases

Authors: Mana Takahashi, Shoko Azuma, Co Ltd Trend

1st Edition

1593271905, 978-1593271909

More Books

Students also viewed these Databases questions