能力值:
( LV2,RANK:10 )
|
-
-
[求助]HOOK API的同步问题
一個指令完成hook與恢復的動作就不會有線程同步的問題
因為CPU一次只能執行一條指令,沒辦法同時執行2條指令
所以只要能用一條指令完成hook或是恢復hook就不會有問題了
可用2個jmp完成hook,一個2 bytes的短程jmp,jmp到長程jmp的地方
然後長程jmp(5 bytes)再跳至hook函數即可
hook與恢復只要改2 bytes的短程jmp即可,一個指令可完成
|
能力值:
( LV2,RANK:10 )
|
-
-
|
能力值:
( LV2,RANK:10 )
|
-
-
|