Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what should i do type in Phase2 in bomblab. Can someone help me figure out the answer. Dump of assembler code for function phase_2: 0x0000000000400f0c

what should i do type in Phase2 in bomblab. Can someone help me figure out the answer. Dump of assembler code for function phase_2: 0x0000000000400f0c <+0>: push %rbp 0x0000000000400f0d <+1>: push %rbx 0x0000000000400f0e <+2>: sub $0x28,%rsp 0x0000000000400f12 <+6>: mov %rsp,%rsi 0x0000000000400f15 <+9>: callq 0x40157a 0x0000000000400f1a <+14>: cmpl $0x0,(%rsp) 0x0000000000400f1e <+18>: jns 0x400f44 0x0000000000400f20 <+20>: callq 0x401544 0x0000000000400f25 <+25>: jmp 0x400f44 0x0000000000400f27 <+27>: mov %ebx,%eax 0x0000000000400f29 <+29>: add -0x4(%rbp),%eax 0x0000000000400f2c <+32>: cmp %eax,0x0(%rbp) 0x0000000000400f2f <+35>: je 0x400f36 0x0000000000400f31 <+37>: callq 0x401544 0x0000000000400f36 <+42>: add $0x1,%ebx 0x0000000000400f39 <+45>: add $0x4,%rbp 0x0000000000400f3d <+49>: cmp $0x6,%ebx 0x0000000000400f40 <+52>: jne 0x400f27 0x0000000000400f42 <+54>: jmp 0x400f50 0x0000000000400f44 <+56>: lea 0x4(%rsp),%rbp 0x0000000000400f49 <+61>: mov $0x1,%ebx 0x0000000000400f4e <+66>: jmp 0x400f27 0x0000000000400f50 <+68>: add $0x28,%rsp 0x0000000000400f54 <+72>: pop %rbx 0x0000000000400f55 <+73>: pop %rbp 0x0000000000400f56 <+74>: retq End of assembler dump. Dump of assembler code for function read_six_numbers: 0x000000000040157a <+0>: sub $0x18,%rsp 0x000000000040157e <+4>: mov %rsi,%rdx 0x0000000000401581 <+7>: lea 0x4(%rsi),%rcx 0x0000000000401585 <+11>: lea 0x14(%rsi),%rax 0x0000000000401589 <+15>: mov %rax,0x8(%rsp) 0x000000000040158e <+20>: lea 0x10(%rsi),%rax 0x0000000000401592 <+24>: mov %rax,(%rsp) 0x0000000000401596 <+28>: lea 0xc(%rsi),%r9 0x000000000040159a <+32>: lea 0x8(%rsi),%r8 0x000000000040159e <+36>: mov $0x402781,%esi 0x00000000004015a3 <+41>: mov $0x0,%eax 0x00000000004015a8 <+46>: callq 0x400c30 <__isoc99_sscanf@plt> 0x00000000004015ad <+51>: cmp $0x5,%eax 0x00000000004015b0 <+54>: jg 0x4015b7 0x00000000004015b2 <+56>: callq 0x401544 0x00000000004015b7 <+61>: add $0x18,%rsp 0x00000000004015bb <+65>: retq End of assembler dump.

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

Modern Database Management

Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi

13th Edition Global Edition

1292263350, 978-1292263359

More Books

Students also viewed these Databases questions

Question

15.2 Explain the costs associated with employee turnover.

Answered: 1 week ago