【发布时间】:2017-09-25 13:57:03
【问题描述】:
我正在研究二进制炸弹的修改版本,但我对%rsi 的值感到困惑。是否与第 5 行和将值移动到 rax 有关?
谢谢
Dump of assembler code for function phase_2:
=> 0x00000000004011c7 <+0>: sub $0x8,%rsp
0x00000000004011cb <+4>: cmp $0x3,%rdi //contains 3 values
0x00000000004011cf <+8>: je 0x4011df <phase_2+24> //check values if equal to three
0x00000000004011d1 <+10>: callq 0x401bd7 <bomb_explosion>
0x00000000004011d6 <+15>: mov $0xffffffffffffffff,%rax
0x00000000004011dd <+22>: jmp 0x401214 <phase_2+77>
0x00000000004011df <+24>: not %rsi
...
【问题讨论】:
-
看起来像 phase_2 的参数。
标签: assembly reverse-engineering