Skip to content

Commit

Permalink
Fixing Setting Linux Syscall Number
Browse files Browse the repository at this point in the history
The syscall number is suppose to be set at x8, not x7.
  • Loading branch information
CuriousTommy committed Jan 22, 2024
1 parent 9b73823 commit f6e9f91
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ _linux_syscall:
ret

#elif defined(__arm64__)
mov x7, x6
mov x8, x6
svc #0
ret

Expand Down

0 comments on commit f6e9f91

Please sign in to comment.