Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This Binary Bomb lab, please find six numbers to defuse the bomb ( gdb ) disas phase _ 2 Dump of assembler code for function
This Binary Bomb lab, please find six numbers to defuse the bomb
gdb disas phase
Dump of assembler code for function phase:
xf: push rbx
xf: sub $xrsp
xf: mov rsprsi
xf: callq x
xfd : cmpl $xrsp
xf: js xfa
xf: mov $xebx
xf: jmp xf
xfa : callq x
xff : jmp xf
xf: callq x
xf: add $xrbx
xfa : cmp $xrbx
xfe : je xfd
xf: mov ebx,eax
xf: add xrsprbxeax
xf: cmp eax,rsprbx
xf: je xf
xfb : jmp xf
xfd : add $xrsp
xf: pop rbx
xf: retq
End of assembler dump.
gdb disas readsixnumbers
Dump of assembler code for function readsixnumbers:
x: sub $xrsp
xc : mov rsi,rdx
xf : lea xrsircx
x: lea xrsirax
x: push rax
x: lea xrsirax
xc : push rax
xd : lea xcrsir
x: lea xrsir
x: mov $xfesi
xa : mov $xeax
xf : callq xcisocsscanf@plt
x: add $xrsp
x: cmp $xeax
xb : jle x
xd : add $xrsp
x: retq
x: callq x
End of assembler dump.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started