Commit 61e4295
committed
simx86: unlink forward refs changing code (remove direct jumps)
So far NodeUnlinker only undid direct jumps for references *to* the node
that was removed, but for forward references *from* the node it wasn't
needed since the node would be deleted anyway.
However with BreakNodeHook excluding the last instruction the linking
jump instruction could still be kept and jump into a node that was also
deleted. We must therefore also undo the jump for forward references!
Fixes dosemu2#27081 parent bfb9225 commit 61e4295
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
812 | 812 | | |
813 | 813 | | |
814 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
815 | 822 | | |
816 | 823 | | |
817 | 824 | | |
| |||
0 commit comments