Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Dump of assembler code for function phase _ 3 : = > 0 x 0 0 0 0 5 5 5 5 5 5 5

Dump of assembler code for function phase_3:
=>0x00005555555556ba <+0>: endbr64
0x00005555555556be <+4>: sub $0x18,%rsp
0x00005555555556c2<+8>: mov %fs:0x28,%rax
0x00005555555556cb <+17>: mov %rax,0x8(%rsp)
0x00005555555556d0<+22>: xor %eax,%eax
0x00005555555556d2<+24>: lea 0x4(%rsp),%rcx
0x00005555555556d7<+29>: mov %rsp,%rdx
0x00005555555556da <+32>: lea 0x1d34(%rip),%rsi # 0x555555557415
0x00005555555556e1<+39>: call 0x555555555330<__isoc99_sscanf@plt>
0x00005555555556e6<+44>: cmp $0x1,%eax
0x00005555555556e9<+47>: jle 0x555555555705
0x00005555555556eb <+49>: cmpl $0x7,(%rsp)
0x00005555555556ef <+53>: ja 0x555555555756
0x00005555555556f1<+55>: mov (%rsp),%eax
0x00005555555556f4<+58>: lea 0x1ab5(%rip),%rdx # 0x5555555571b0
0x00005555555556fb <+65>: movslq (%rdx,%rax,4),%rax
0x00005555555556ff <+69>: add %rdx,%rax
0x0000555555555702<+72>: notrack jmp *%rax
0x0000555555555705<+75>: call 0x555555555e17
0x000055555555570a <+80>: jmp 0x5555555556eb
0x000055555555570c <+82>: mov $0x1224,%eax
0x0000555555555711<+87>: cmp %eax,0x4(%rsp)
0x0000555555555715<+91>: jne 0x555555555769
0x0000555555555717<+93>: mov 0x8(%rsp),%rax
0x000055555555571c <+98>: sub %fs:0x28,%rax
0x0000555555555725<+107>: jne 0x555555555770
0x0000555555555727<+109>: add $0x18,%rsp
0x000055555555572b <+113>: ret
0x000055555555572c <+114>: mov $0xc99,%eax
0x0000555555555731<+119>: jmp 0x555555555711
0x0000555555555733<+121>: mov $0x9d0,%eax
0x0000555555555738<+126>: jmp 0x555555555711
0x000055555555573a <+128>: mov $0x12d2,%eax
0x000055555555573f <+133>: jmp 0x555555555711
--Type for more, q to quit, c to continue without paging--c
0x0000555555555741<+135>: mov $0xb3e,%eax
0x0000555555555746<+140>: jmp 0x555555555711
0x0000555555555748<+142>: mov $0xbf1,%eax
0x000055555555574d <+147>: jmp 0x555555555711
0x000055555555574f <+149>: mov $0x97f,%eax
0x0000555555555754<+154>: jmp 0x555555555711
0x0000555555555756<+156>: call 0x555555555e17
0x000055555555575b <+161>: mov $0x0,%eax
0x0000555555555760<+166>: jmp 0x555555555711
0x0000555555555762<+168>: mov $0xf3a,%eax
0x0000555555555767<+173>: jmp 0x555555555711
0x000055555555<

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

Students also viewed these Databases questions