Skip to content

Commit 238e4b5

Browse files
committed
Fix: hook first code is jump, inl_unhook mismatch.
1 parent 5090fce commit 238e4b5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

inl_hook.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ int inl_sethook(void **orig, void *hook)
244244
void *target = *orig;
245245

246246
target = skip_jumps(target);
247-
hook = skip_jumps(hook);
248247

249248
pr_debug("Started on the job: %p / %p\n", target, hook);
250249

0 commit comments

Comments
 (0)