Skip to content

Commit

Permalink
fix restart
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisBrunner committed Oct 3, 2024
1 parent 592af50 commit 3ef196e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coregrind/m_syswrap/syswrap-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3090,7 +3090,7 @@ void ML_(fixup_guest_state_to_restart_syscall) ( ThreadArchState* arch )
}

#elif defined(VGP_arm64_darwin)
arch->vex.guest_PC = arch->vex.guest_IP_AT_SYSCALL;
arch->vex.guest_PC -= 4;

/* Make sure our caller is actually sane, and we're really backing
back over a syscall.
Expand Down

0 comments on commit 3ef196e

Please sign in to comment.