Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the following assembly code: What are the 3 values needed to defuse the bomb or please tell me how I would get them using
Given the following assembly code:
What are the values needed to defuse the bomb or please tell me how I would get them using gdb commands. The correct format is d c d
Dump of assembler code for function phase:
xfa : sub $xrsp
xfe : lea xrspr
xf: lea xrsprcx
xf: lea xcrsprdx
xfd : mov $xaesi
xf: mov $xeax
xf: callq xcisocsscanf@plt
xfc : cmp $xeax
xff : jle xf
xf: cmpl $xxcrsp
xf: ja xc
xfc : mov xcrspeax
xf: jmpq xrax,
xf: callq xc
xfc : jmp xf
xfe : mov $xeax
xfa: cmpl $xxrsp
xfab : je x
xfb: callq xc
xfb: mov $xeax
xfbb : jmpq x
xfc: mov $xaeax
xfc: cmpl $xbxrsp
xfcd : je x
xfd: callq xc
xfd: mov $xaeax
xfdd : jmpq x
xfe: mov $xaeax
xfe: cmpl $xdxrsp
xfef : je x
xff: callq xc
xffa : mov $xaeax
xfff : jmpq x
x: mov $xeax
x: cmpl $xxrsp
xe : je x
x: callq xc
x: mov $xeax
xe : jmp x
x: mov $xaeax
x: cmpl $xxrsp
xd : je x
xf : callq xc
x: mov $xaeax
x: jmp x
xb : mov $xeax
x: cmpl $xaxrsp
x: je x
Type for more, q to quit, c to continue without paging
x
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started