Answered step by step
Verified Expert Solution
Question
1 Approved Answer
binary bomb lab phase _ 4 . please help me . i need answer.. i should input % d % d % d % d
binary bomb lab phase please help me
i need answer..
i should input d d d d d i think we just need first and second integer
Dump of assembler code for function phase:
xb : endbr
xf : sub $xrsp
x: mov fs:xrax
xc : mov rax,xrsp
x: xor eax,eax
x: lea xrsprcx
x: mov rsprdx
xb : lea xcriprsi # xf
x: call xdisocsscanf@plt
x: cmp $xeax
xa : jne x
xc : cmpl $xersp
x: jbe x
x: call xd
x: mov $xeedx
xc : mov $xesi
xa: mov rspedi
xa: call xa
xa: cmp $xeax
xac : jne xb
xae : cmpl $xxrsp
xb: je xba
xb: call xd
xba : mov xrsprax
xbf : xor fs:xrax
xc: jne xcf
xca : add $xrsp
xce : ret
xcf : call xstackchkfail@plt
Dump of assembler code for function func:
xa : endbr
xe : sub $xrsp
x: mov edx,eax
x: sub esi,eax
x: mov eax,ecx
x: shr $xfecx
xb : add eax,ecx
xd : sar ecx
xf : add esi,ecx
x: cmp edi,ecx
x: jg x
x: mov $xeax
xa : jl xd
xc : add $xrsp
x: ret
x: lea xrcxedx
x: call xa
x: add eax,eax
x
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started