Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What should be the inputs of phase_2 in bomb lab: and pls explain all the steps because I want to learn how to get to

What should be the inputs of phase_2 in bomb lab:

and pls explain all the steps because I want to learn how to get to the answer I have spend 2 days on it and cant figure it out

0000000000001334 : 1334: 55 push %rbp 1335: 53 push %rbx 1336: 48 83 ec 28 sub $0x28,%rsp 133a: 64 48 8b 04 25 28 00 mov %fs:0x28,%rax 1341: 00 00 1343: 48 89 44 24 18 mov %rax,0x18(%rsp) 1348: 31 c0 xor %eax,%eax 134a: 48 89 e6 mov %rsp,%rsi 134d: e8 b9 07 00 00 callq 1b0b 1352: 83 3c 24 00 cmpl $0x0,(%rsp) 1356: 78 0a js 1362 1358: bb 01 00 00 00 mov $0x1,%ebx 135d: 48 89 e5 mov %rsp,%rbp 1360: eb 11 jmp 1373 1362: e8 68 07 00 00 callq 1acf 1367: eb ef jmp 1358 1369: 48 83 c3 01 add $0x1,%rbx 136d: 48 83 fb 06 cmp $0x6,%rbx 1371: 74 13 je 1386 1373: 89 d8 mov %ebx,%eax 1375: 03 44 9d fc add -0x4(%rbp,%rbx,4),%eax 1379: 39 44 9d 00 cmp %eax,0x0(%rbp,%rbx,4) 137d: 74 ea je 1369 137f: e8 4b 07 00 00 callq 1acf 1384: eb e3 jmp 1369 1386: 48 8b 44 24 18 mov 0x18(%rsp),%rax 138b: 64 48 33 04 25 28 00 xor %fs:0x28,%rax 1392: 00 00 1394: 75 07 jne 139d 1396: 48 83 c4 28 add $0x28,%rsp 139a: 5b pop %rbx 139b: 5d pop %rbp 139c: c3 retq 139d: e8 ae fb ff ff callq f50 <__stack_chk_fail@plt>

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

The Audit Is A Powerful Management Tool

Authors: Fateh Bouchene

1st Edition

6204366548, 978-6204366548

More Books

Students also viewed these Accounting questions

Question

2. List the advantages of listening well

Answered: 1 week ago