The property ThreadContext,syscall_number could cause confusion and it is wrongly documented.
The property maps to orig_rax on AMD64, orig_eax on i386, and to x8 on AARCH64.
The field only works to change the syscall number while in a callback. We should add a field to be able to do that outside the syscall number or make some fancy changes to make the field dynamic.
The property ThreadContext,
syscall_numbercould cause confusion and it is wrongly documented.The property maps to orig_rax on AMD64, orig_eax on i386, and to x8 on AARCH64.
The field only works to change the syscall number while in a callback. We should add a field to be able to do that outside the syscall number or make some fancy changes to make the field dynamic.