Question: input = read _ line ( ) ; phase _ 2 ( input ) ; phase _ defused ( ) ; printf ( That
input readline;
phaseinput;
phasedefused;
printfThats number Keep going!
;
i want to run this code
phase is:
x: endbr
x: push rbp
x: push rbx
x: sub $xrsp
xd : mov fs:xrax
x: mov rax,xrsp
xb : xor eax,eax
xd : mov rsprsi
x: callq xc
x: mov rspeax
x: sub $xeax
xb : cmp $xeax
xe : ja xa
x: mov rsprbx
x: lea xrsprbp
x: jmp xaf
xa : callq x
xf : jmp x
xa: callq x
xa: add $xrbx
xaa : cmp rbprbx
xad : je xbc
xaf : mov rbxeax
xb: lea xrax,rax,eax
xb: cmp eax,xrbx
xb: je xa
xba : jmp xa
xbc : mov xrsprax
Type for more, q to quit, c to continue without pagingb readsixnumbers
xc: xor fs:xrax
xca : jne xd
xcc : add $xrsp
xd: pop rbx
xd: pop rbp
xd: retq
xd: callq xstackchkfail@plt
and readsixnumber is:
Dump of assembler code for function readsixnumbers:
xc: endbr
xcb : sub $xrsp
xcf : mov rsi,rdx
xd: lea xrsircx
xd: lea xrsirax
xda : push rax
xdb : lea xrsirax
xdf : push rax
xe: lea xcrsir
xe: lea xrsir
xe: lea xriprsi # x
xef : mov $xeax
xf: callq
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
