In phase 5 of my bomb lab, I need to input seven integers.
Here's the assembly code for the part I'm stuck on:
0x00005555555568cc <+11>: xor 0x8(%rsp),%esi
0x00005555555568d0 <+15>: cmp $0xffffffff,%esi
0x00005555555568d3 <+18>: jne 0x555555556900 <fun5+63>
The value at 0x8(%rsp) is my 7th input, and the value at %esi is my 6th input. I'm stuck on what I should make these inputs to make the cmp line equal so that my code does not jump.
See Eric's comment: you need
6th_input
XOR
7th_input
to be0xffffffff
. For example, one of them could be4294967295
and the other0
.Presumably you have a 6th input already in which case you can trivially use
bash
to determine what the 7th input must be: