Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( gdb ) disas Dump of assembler code for function phase _ 3 : = > 0 x 0 0 0 0 0 0 0
gdb disas Dump of assembler code for function phase: xf: sub $xrsp xf: lea xrspr xfd : lea xrsprcx xf: lea xcrsprdx xf: mov $xesi xfc : mov $xeax xf: callq xcisocsscanf@plt xf: cmp $xeax xf: jle xf xfb : cmpl $xxcrsp xf: ja x xf: mov xcrspeax xfa : jmpq xrax, xf: callq xd xf: jmp xfb xf: mov $xfeax xfd : cmpl $xxrsp xfa: je x xfab : callq xd xfb: mov $xfeax xfb: jmpq x xfba : mov $xaeax xfbf : cmpl $xxrsp xfc: je x xfcd : callq xd xfd: mov $xaeax xfd: jmpq x xfdc : mov $xeax xfe: cmpl $xdxrsp xfe: je x xfef : callq xd xff: mov $xeax xff: jmpq x xffe : mov $xceax x: cmpl $xfxrsp xb : je x x: callq xd x: mov $xceax xb : jmp x xd : mov $xeax x: cmpl $xfxrsp xa : je x xc : callq xd x: mov $xeax x: jmp x x: mov $xeax xd : cmpl $xexrsp x
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started
gdb disas
Dump of assembler code for function phase:
xf: sub $xrsp
xf: lea xrspr
xfd : lea xrsprcx
xf: lea xcrsprdx
xf: mov $xesi
xfc : mov $xeax
xf: callq xcisocsscanf@plt
xf: cmp $xeax
xf: jle xf
xfb : cmpl $xxcrsp
xf: ja x
xf: mov xcrspeax
xfa : jmpq xrax,
xf: callq xd
xf: jmp xfb
xf: mov $xfeax
xfd : cmpl $xxrsp
xfa: je x
xfab : callq xd
xfb: mov $xfeax
xfb: jmpq x
xfba : mov $xaeax
xfbf : cmpl $xxrsp
xfc: je x
xfcd : callq xd
xfd: mov $xaeax
xfd: jmpq x
xfdc : mov $xeax
xfe: cmpl $xdxrsp
xfe: je x
xfef : callq xd
xff: mov $xeax
xff: jmpq x
xffe : mov $xceax
x: cmpl $xfxrsp
xb : je x
x: callq xd
x: mov $xceax
xb : jmp x
xd : mov $xeax
x: cmpl $xfxrsp
xa : je x
xc : callq xd
x: mov $xeax
x: jmp x
x: mov $xeax
xd : cmpl $xexrsp
x
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started