Question: input = read _ line ( ) ; phase _ 2 ( input ) ; phase _ defused ( ) ; printf ( That

input = read_line();
phase_2(input);
phase_defused();
printf("That's number 2. Keep going!
");
i want to run this code
phase_2 is:
=>0x0000555555555663<+0>: endbr64
0x0000555555555667<+4>: push %rbp
0x0000555555555668<+5>: push %rbx
0x0000555555555669<+6>: sub $0x28,%rsp
0x000055555555566d <+10>: mov %fs:0x28,%rax
0x0000555555555676<+19>: mov %rax,0x18(%rsp)
0x000055555555567b <+24>: xor %eax,%eax
0x000055555555567d <+26>: mov %rsp,%rsi
0x0000555555555680<+29>: callq 0x5555555560c7
0x0000555555555685<+34>: mov (%rsp),%eax
0x0000555555555688<+37>: sub $0x1,%eax
0x000055555555568b <+40>: cmp $0x4,%eax
0x000055555555568e <+43>: ja 0x55555555569a
0x0000555555555690<+45>: mov %rsp,%rbx
0x0000555555555693<+48>: lea 0x14(%rsp),%rbp
0x0000555555555698<+53>: jmp 0x5555555556af
0x000055555555569a <+55>: callq 0x555555556085
0x000055555555569f <+60>: jmp 0x555555555690
0x00005555555556a1<+62>: callq 0x555555556085
0x00005555555556a6<+67>: add $0x4,%rbx
0x00005555555556aa <+71>: cmp %rbp,%rbx
0x00005555555556ad <+74>: je 0x5555555556bc
0x00005555555556af <+76>: mov (%rbx),%eax
0x00005555555556b1<+78>: lea 0x2(%rax,%rax,1),%eax
0x00005555555556b5<+82>: cmp %eax,0x4(%rbx)
0x00005555555556b8<+85>: je 0x5555555556a6
0x00005555555556ba <+87>: jmp 0x5555555556a1
0x00005555555556bc <+89>: mov 0x18(%rsp),%rax
--Type for more, q to quit, c to continue without paging--b read_six_numbers
0x00005555555556c1<+94>: xor %fs:0x28,%rax
0x00005555555556ca <+103>: jne 0x5555555556d3
0x00005555555556cc <+105>: add $0x28,%rsp
0x00005555555556d0<+109>: pop %rbx
0x00005555555556d1<+110>: pop %rbp
0x00005555555556d2<+111>: retq
0x00005555555556d3<+112>: callq 0x555555555280<__stack_chk_fail@plt>
and read_six_number is:
Dump of assembler code for function read_six_numbers:
=>0x00005555555560c7<+0>: endbr64
0x00005555555560cb <+4>: sub $0x8,%rsp
0x00005555555560cf <+8>: mov %rsi,%rdx
0x00005555555560d2<+11>: lea 0x4(%rsi),%rcx
0x00005555555560d6<+15>: lea 0x14(%rsi),%rax
0x00005555555560da <+19>: push %rax
0x00005555555560db <+20>: lea 0x10(%rsi),%rax
0x00005555555560df <+24>: push %rax
0x00005555555560e0<+25>: lea 0xc(%rsi),%r9
0x00005555555560e4<+29>: lea 0x8(%rsi),%r8
0x00005555555560e8<+33>: lea 0x2472(%rip),%rsi # 0x555555558561
0x00005555555560ef <+40>: mov $0x0,%eax
0x00005555555560f4<+45>: callq

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!