Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

0x000000000040108b : push %rbx 0x000000000040108c : mov %rdi,%rbx 0x000000000040108f : callq 0x4012df 0x0000000000401094 : cmp $0x6,%eax 0x0000000000401097 : je 0x40109e 0x0000000000401099 : callq 0x401564 0x000000000040109e

0x000000000040108b <+0>: push %rbx 0x000000000040108c <+1>: mov %rdi,%rbx 0x000000000040108f <+4>: callq 0x4012df 0x0000000000401094 <+9>: cmp $0x6,%eax 0x0000000000401097 <+12>: je 0x40109e 0x0000000000401099 <+14>: callq 0x401564 0x000000000040109e <+19>: mov %rbx,%rax 0x00000000004010a1 <+22>: lea 0x6(%rbx),%rdi 0x00000000004010a5 <+26>: mov $0x0,%ecx 0x00000000004010aa <+31>: movzbl (%rax),%edx 0x00000000004010ad <+34>: and $0xf,%edx 0x00000000004010b0 <+37>: add 0x4025c0(,%rdx,4),%ecx 0x00000000004010b7 <+44>: add $0x1,%rax 0x00000000004010bb <+48>: cmp %rdi,%rax 0x00000000004010be <+51>: jne 0x4010aa 0x00000000004010c0 <+53>: cmp $0x30,%ecx 0x00000000004010c3 <+56>: je 0x4010ca 0x00000000004010c5 <+58>: callq 0x401564 0x00000000004010ca <+63>: pop %rbx 0x00000000004010cb <+64>: retq

This is the assembly code from bomb lab phase5.

The answer should be a six digit number or characters that follow ascii rules. And the sum is 0x30

The goal is to prevent the funtion to call 0x401564

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

8-9: What is the capacity and location of our longterm memories?

Answered: 1 week ago