Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is Phase_6 from the Bomb Lab. I am looking for the solution. The answer should be six digits from 1 to 6, and distinct

This is Phase_6 from the Bomb Lab. I am looking for the solution. The answer should be six digits from 1 to 6, and distinct to each other. These six digits are node references. Additional info: takes in six intergers (eg. 1 2 3 4 5 6) and explodes the bomb.

0x0000000000401103 <+0>: push %r13 0x0000000000401105 <+2>: push %r12 0x0000000000401107 <+4>: push %rbp 0x0000000000401108 <+5>: push %rbx 0x0000000000401109 <+6>: sub $0x58,%rsp 0x000000000040110d <+10>: lea 0x30(%rsp),%rsi 0x0000000000401112 <+15>: callq 0x4015ba 0x0000000000401117 <+20>: lea 0x30(%rsp),%r13 0x000000000040111c <+25>: mov $0x0,%r12d 0x0000000000401122 <+31>: mov %r13,%rbp 0x0000000000401125 <+34>: mov 0x0(%r13),%eax 0x0000000000401129 <+38>: sub $0x1,%eax 0x000000000040112c <+41>: cmp $0x5,%eax 0x000000000040112f <+44>: jbe 0x401136 0x0000000000401131 <+46>: callq 0x401584 0x0000000000401136 <+51>: add $0x1,%r12d 0x000000000040113a <+55>: cmp $0x6,%r12d 0x000000000040113e <+59>: jne 0x401147 0x0000000000401140 <+61>: mov $0x0,%esi 0x0000000000401145 <+66>: jmp 0x401189 0x0000000000401147 <+68>: mov %r12d,%ebx 0x000000000040114a <+71>: movslq %ebx,%rax ---Type to continue, or q to quit--- 0x000000000040114d <+74>: mov 0x30(%rsp,%rax,4),%eax 0x0000000000401151 <+78>: cmp %eax,0x0(%rbp) 0x0000000000401154 <+81>: jne 0x40115b 0x0000000000401156 <+83>: callq 0x401584 0x000000000040115b <+88>: add $0x1,%ebx 0x000000000040115e <+91>: cmp $0x5,%ebx 0x0000000000401161 <+94>: jle 0x40114a 0x0000000000401163 <+96>: add $0x4,%r13 0x0000000000401167 <+100>: jmp 0x401122 0x0000000000401169 <+102>: mov 0x8(%rdx),%rdx 0x000000000040116d <+106>: add $0x1,%eax 0x0000000000401170 <+109>: cmp %ecx,%eax 0x0000000000401172 <+111>: jne 0x401169 0x0000000000401174 <+113>: jmp 0x40117b 0x0000000000401176 <+115>: mov $0x6042f0,%edx 0x000000000040117b <+120>: mov %rdx,(%rsp,%rsi,2) 0x000000000040117f <+124>: add $0x4,%rsi 0x0000000000401183 <+128>: cmp $0x18,%rsi 0x0000000000401187 <+132>: je 0x40119e 0x0000000000401189 <+134>: mov 0x30(%rsp,%rsi,1),%ecx 0x000000000040118d <+138>: cmp $0x1,%ecx 0x0000000000401190 <+141>: jle 0x401176 0x0000000000401192 <+143>: mov $0x1,%eax ---Type to continue, or q to quit--- 0x0000000000401197 <+148>: mov $0x6042f0,%edx 0x000000000040119c <+153>: jmp 0x401169 0x000000000040119e <+155>: mov (%rsp),%rbx 0x00000000004011a2 <+159>: lea 0x8(%rsp),%rax 0x00000000004011a7 <+164>: lea 0x30(%rsp),%rsi 0x00000000004011ac <+169>: mov %rbx,%rcx 0x00000000004011af <+172>: mov (%rax),%rdx 0x00000000004011b2 <+175>: mov %rdx,0x8(%rcx) 0x00000000004011b6 <+179>: add $0x8,%rax 0x00000000004011ba <+183>: cmp %rsi,%rax 0x00000000004011bd <+186>: je 0x4011c4 0x00000000004011bf <+188>: mov %rdx,%rcx 0x00000000004011c2 <+191>: jmp 0x4011af 0x00000000004011c4 <+193>: movq $0x0,0x8(%rdx) 0x00000000004011cc <+201>: mov $0x5,%ebp 0x00000000004011d1 <+206>: mov 0x8(%rbx),%rax 0x00000000004011d5 <+210>: mov (%rax),%eax 0x00000000004011d7 <+212>: cmp %eax,(%rbx) 0x00000000004011d9 <+214>: jle 0x4011e0 0x00000000004011db <+216>: callq 0x401584 0x00000000004011e0 <+221>: mov 0x8(%rbx),%rbx 0x00000000004011e4 <+225>: sub $0x1,%ebp 0x00000000004011e7 <+228>: jne 0x4011d1 ---Type to continue, or q to quit--- 0x00000000004011e9 <+230>: add $0x58,%rsp 0x00000000004011ed <+234>: pop %rbx 0x00000000004011ee <+235>: pop %rbp 0x00000000004011ef <+236>: pop %r12 0x00000000004011f1 <+238>: pop %r13 0x00000000004011f3 <+240>: retq

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

Write a brief note on a marketing plan of tata company

Answered: 1 week ago