Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

how to disassemble phase_2 0x000000000000160b : endbr64 0x000000000000160f : push %rbp 0x0000000000001610 : push %rbx 0x0000000000001611 : sub $0x28,%rsp 0x0000000000001615 : mov %fs:0x28,%rax 0x000000000000161e :

how to disassemble phase_2

0x000000000000160b <+0>: endbr64

0x000000000000160f <+4>: push %rbp 0x0000000000001610 <+5>: push %rbx 0x0000000000001611 <+6>: sub $0x28,%rsp 0x0000000000001615 <+10>: mov %fs:0x28,%rax 0x000000000000161e <+19>: mov %rax,0x18(%rsp) 0x0000000000001623 <+24>: xor %eax,%eax 0x0000000000001625 <+26>: mov %rsp,%rsi

0x0000000000001628 <+29>: callq 0x1e08 0x000000000000162d <+34>: cmpl $0x0,(%rsp) 0x0000000000001631 <+38>: jne 0x163a 0x0000000000001633 <+40>: cmpl $0x1,0x4(%rsp) 0x0000000000001638 <+45>: je 0x163f 0x000000000000163a <+47>: callq 0x1dc6 0x000000000000163f <+52>: mov %rsp,%rbx 0x0000000000001642 <+55>: lea 0x10(%rsp),%rbp 0x0000000000001647 <+60>: jmp 0x1657 0x0000000000001649 <+62>: callq 0x1dc6 0x000000000000164e <+67>: add $0x4,%rbx 0x0000000000001652 <+71>: cmp %rbp,%rbx 0x0000000000001655 <+74>: je 0x1663

0x0000000000001657 <+76>: mov 0x4(%rbx),%eax 0x000000000000165a <+79>: add (%rbx),%eax 0x000000000000165c <+81>: cmp %eax,0x8(%rbx) 0x000000000000165f <+84>: je 0x164e 0x0000000000001661 <+86>: jmp 0x1649 0x0000000000001663 <+88>: mov 0x18(%rsp),%rax 0x0000000000001668 <+93>: xor %fs:0x28,%rax --Type for more, q to quit, c to continue without paging-- 0x0000000000001671 <+102>: jne 0x167a 0x0000000000001673 <+104>: add $0x28,%rsp 0x0000000000001677 <+108>: pop %rbx 0x0000000000001678 <+109>: pop %rbp 0x0000000000001679 <+110>: retq 0x000000000000167a <+111>: callq 0x1250 <__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

More Books

Students also viewed these Databases questions