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. 08048e48 : 8048e48: 83 ec 2c sub $0x2c,%esp 8048e4b: 8d 44

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

08048e48 : 8048e48: 83 ec 2c sub $0x2c,%esp 8048e4b: 8d 44 24 18 lea 0x18(%esp),%eax 8048e4f: 89 44 24 0c mov %eax,0xc(%esp) 8048e53: 8d 44 24 1c lea 0x1c(%esp),%eax 8048e57: 89 44 24 08 mov %eax,0x8(%esp) 8048e5b: c7 44 24 04 21 a6 04 movl $0x804a621,0x4(%esp) 8048e62: 08 8048e63: 8b 44 24 30 mov 0x30(%esp),%eax 8048e67: 89 04 24 mov %eax,(%esp) 8048e6a: e8 11 fa ff ff call 8048880 <__isoc99_sscanf@plt> 8048e6f: 83 f8 01 cmp $0x1,%eax 8048e72: 7f 05 jg 8048e79 8048e74: e8 0c 05 00 00 call 8049385 8048e79: 8b 44 24 1c mov 0x1c(%esp),%eax 8048e7d: 83 e0 0f and $0xf,%eax 8048e80: 89 44 24 1c mov %eax,0x1c(%esp) 8048e84: 83 f8 0f cmp $0xf,%eax 8048e87: 74 2a je 8048eb3 8048e89: b9 00 00 00 00 mov $0x0,%ecx 8048e8e: ba 00 00 00 00 mov $0x0,%edx 8048e93: 83 c2 01 add $0x1,%edx 8048e96: 8b 04 85 00 a4 04 08 mov 0x804a400(,%eax,4),%eax 8048e9d: 01 c1 add %eax,%ecx 8048e9f: 83 f8 0f cmp $0xf,%eax 8048ea2: 75 ef jne 8048e93 8048ea4: 89 44 24 1c mov %eax,0x1c(%esp) 8048ea8: 83 fa 0f cmp $0xf,%edx 8048eab: 75 06 jne 8048eb3 8048ead: 3b 4c 24 18 cmp 0x18(%esp),%ecx 8048eb1: 74 05 je 8048eb8 8048eb3: e8 cd 04 00 00 call 8049385 8048eb8: 83 c4 2c add $0x2c,%esp 8048ebb: 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

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

More Books

Students also viewed these Databases questions

Question

Name two key guidelines for making short-term special decisions.

Answered: 1 week ago

Question

Describe why intercultural communication is a necessity

Answered: 1 week ago