Question: this binary lab phase 5 , please give me solution to defuse the bomb Dump of assembler code for function phase _ 5 : 0
this binary lab phase please give me solution to defuse the bomb
Dump of assembler code for function phase:
xb : push rbx
xc : sub $xrsp
x: mov rdi,rbx
x: callq xce
x: cmp $xeax
xb : jne xbc
xd : mov $xeax
x: movzbl rbxrax,edx
x: and $xfedx
x: movzbl xdrdxedx
x: mov dlxrsprax,
x: add $xrax
x: cmp $xrax
xc : jne x
xe : movb $xxfrsp
xa: mov $xeesi
xa: lea xrsprdi
xad : callq xeb
xb: test eax,eax
xb: jne xc
xb: add $xrsp
xba : pop rbx
xbb : retq
xbc : callq x
xc: jmp xd
xc: callq x
xc: jmp xb
End of assembler dump.
gdb disas stringlength
Dump of assembler code for function stringlength:
xce : cmpb $xrdi
xd: je xe
xd: mov $xeax
xd: add $xrdi
xdc : add $xeax
xdf : cmpb $xrdi
xe: jne xd
xe: retq
xe: mov $xeax
xea : retq
End of assembler dump.
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
