2014-05-15 107 views

回答

5

not possiblemiddle without destroying old instruction

添加新指令的唯一正確的方式來增加指令是detour to an empty place from existing instruction and jump back

現有指令

401023 xxxxxxx 
401028 xxxxxxx 

new instuctions placed at an empty area 

404023 yyyyy 
.......zzzzz 
..........cccccccccc 
restore old instruction destroyed by detoru jmp 
...... jmp 401028 
現在

在401023你組裝JMP 404023摧毀一個指令
在404023你添加要在末尾添加
其他所有指令你在401023和JMP恢復被破壞指令回到401028