Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
i#58 MacOS: handle system call invocation features unique to MacOS
1) Encode syscall numbers properly for MacOS: high-order bits are used to pass the system call class for 64-bit, and the argument size for 32-bit. 2) 32-bit syscall args are on the stack and not in registers 3) Syscall failure is indicated by setting CF and returning +errno, rather than by returning -errno. These are fixed for DR's invocation of its own syscalls. Still TODO: handling all 3 of these for monitoring app syscalls. SVN-Revision: 2456
- Loading branch information