Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dump of assembler code for function phase_2: => 0x000055555555666b : endbr64 0x000055555555666f : push %rbp 0x0000555555556670 : push %rbx 0x0000555555556671 : sub $0x28,%rsp 0x0000555555556675 :

Dump of assembler code for function phase_2: => 0x000055555555666b <+0>: endbr64 0x000055555555666f <+4>: push %rbp 0x0000555555556670 <+5>: push %rbx 0x0000555555556671 <+6>: sub $0x28,%rsp 0x0000555555556675 <+10>: mov %fs:0x28,%rax 0x000055555555667e <+19>: mov %rax,0x18(%rsp) 0x0000555555556683 <+24>: xor %eax,%eax 0x0000555555556685 <+26>: mov %rsp,%rsi 0x0000555555556688 <+29>: callq 0x555555556dd7 0x000055555555668d <+34>: cmpl $0x0,(%rsp) 0x0000555555556691 <+38>: js 0x55555555669d 0x0000555555556693 <+40>: mov %rsp,%rbp 0x0000555555556696 <+43>: mov $0x1,%ebx 0x000055555555669b <+48>: jmp 0x5555555566b5 0x000055555555669d <+50>: callq 0x555555556d95 0x00005555555566a2 <+55>: jmp 0x555555556693 0x00005555555566a4 <+57>: callq 0x555555556d95 0x00005555555566a9 <+62>: add $0x1,%ebx 0x00005555555566ac <+65>: add $0x4,%rbp 0x00005555555566b0 <+69>: cmp $0x6,%ebx 0x00005555555566b3 <+72>: je 0x5555555566c1 0x00005555555566b5 <+74>: mov %ebx,%eax 0x00005555555566b7 <+76>: add 0x0(%rbp),%eax 0x00005555555566ba <+79>: cmp %eax,0x4(%rbp) 0x00005555555566bd <+82>: je 0x5555555566a9 0x00005555555566bf <+84>: jmp 0x5555555566a4 0x00005555555566c1 <+86>: mov 0x18(%rsp),%rax 0x00005555555566c6 <+91>: xor %fs:0x28,%rax 0x00005555555566cf <+100>: jne 0x5555555566d8 0x00005555555566d1 <+102>: add $0x28,%rsp 0x00005555555566d5 <+106>: pop %rbx 0x00005555555566d6 <+107>: pop %rbp 0x00005555555566d7 <+108>: retq 0x00005555555566d8 <+109>: callq 0x5555555562c0 <__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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions