Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

what should i do type in Phase2 in bomblab Dump of assembler code for function phase_2: 0x0000000000400f49 : push %rbp 0x0000000000400f4a : push %rbx 0x0000000000400f4b

what should i do type in Phase2 in bomblab

Dump of assembler code for function phase_2: 0x0000000000400f49 <+0>: push %rbp 0x0000000000400f4a <+1>: push %rbx 0x0000000000400f4b <+2>: sub $0x28,%rsp 0x0000000000400f4f <+6>: mov %fs:0x28,%rax 0x0000000000400f58 <+15>: mov %rax,0x18(%rsp) 0x0000000000400f5d <+20>: xor %eax,%eax 0x0000000000400f5f <+22>: mov %rsp,%rsi 0x0000000000400f62 <+25>: callq 0x4016c7 0x0000000000400f67 <+30>: cmpl $0x0,(%rsp) 0x0000000000400f6b <+34>: jne 0x400f74 0x0000000000400f6d <+36>: cmpl $0x1,0x4(%rsp) 0x0000000000400f72 <+41>: je 0x400f79 0x0000000000400f74 <+43>: callq 0x401691 0x0000000000400f79 <+48>: mov %rsp,%rbx 0x0000000000400f7c <+51>: lea 0x10(%rsp),%rbp 0x0000000000400f81 <+56>: mov 0x4(%rbx),%eax 0x0000000000400f84 <+59>: add (%rbx),%eax 0x0000000000400f86 <+61>: cmp %eax,0x8(%rbx) 0x0000000000400f89 <+64>: je 0x400f90 0x0000000000400f8b <+66>: callq 0x401691 0x0000000000400f90 <+71>: add $0x4,%rbx 0x0000000000400f94 <+75>: cmp %rbp,%rbx 0x0000000000400f97 <+78>: jne 0x400f81 0x0000000000400f99 <+80>: mov 0x18(%rsp),%rax 0x0000000000400f9e <+85>: xor %fs:0x28,%rax 0x0000000000400fa7 <+94>: je 0x400fae 0x0000000000400fa9 <+96>: callq 0x400b90 <__stack_chk_fail@plt> 0x0000000000400fae <+101>: add $0x28,%rsp 0x0000000000400fb2 <+105>: pop %rbx 0x0000000000400fb3 <+106>: pop %rbp ---Type to continue, or q to quit--- 0x0000000000400fb4 <+107>: retq End of assembler dump. (gdb) disas read_six_numbers Dump of assembler code for function read_six_numbers: 0x00000000004016c7 <+0>: sub $0x8,%rsp 0x00000000004016cb <+4>: mov %rsi,%rdx 0x00000000004016ce <+7>: lea 0x4(%rsi),%rcx 0x00000000004016d2 <+11>: lea 0x14(%rsi),%rax 0x00000000004016d6 <+15>: push %rax 0x00000000004016d7 <+16>: lea 0x10(%rsi),%rax 0x00000000004016db <+20>: push %rax 0x00000000004016dc <+21>: lea 0xc(%rsi),%r9 0x00000000004016e0 <+25>: lea 0x8(%rsi),%r8 0x00000000004016e4 <+29>: mov $0x402961,%esi 0x00000000004016e9 <+34>: mov $0x0,%eax 0x00000000004016ee <+39>: callq 0x400c40 <__isoc99_sscanf@plt> 0x00000000004016f3 <+44>: add $0x10,%rsp 0x00000000004016f7 <+48>: cmp $0x5,%eax 0x00000000004016fa <+51>: jg 0x401701 0x00000000004016fc <+53>: callq 0x401691 0x0000000000401701 <+58>: add $0x8,%rsp 0x0000000000401705 <+62>: 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_2

Step: 3

blur-text-image_3

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

Database Processing Fundamentals Design And Implementation

Authors: KROENKE DAVID M.

1st Edition

8120322258, 978-8120322257

More Books

Students also viewed these Databases questions

Question

Provide examples of KPIs in Human Capital Management.

Answered: 1 week ago

Question

What are OLAP Cubes?

Answered: 1 week ago