drmemory
drmemory copied to clipboard
macOS Ventura support
Just tried building the latest commit (d4b9a40c6f75ad0e7a03dccebb492876d866acb1) and, after fixing some warnings, I get to this road block:
[ 65%] Linking CXX static library ../drmf/lib64/release/libdrsymcache_static.a
[ 65%] Built target drx_static
rmemory/drsyscall/table_macos_bsd.c:1274:7: error: use of undeclared identifier 'SYS_nfsclnt'
{{SYS_nfsclnt /*247*/}, "nfsclnt", OK, RLONG, 2,
^
drmemory/drsyscall/table_macos_bsd.c:2105:7: error: use of undeclared identifier 'SYS___old_semwait_signal'
{{SYS___old_semwait_signal /*370*/}, "__old_semwait_signal", OK, RLONG, 5,
^
drmemory/drsyscall/table_macos_bsd.c:2114:7: error: use of undeclared identifier 'SYS___old_semwait_signal_nocancel'
{{SYS___old_semwait_signal_nocancel /*371*/}, "__old_semwait_signal_nocancel", OK, RLONG, 5,
^
drmemory/drsyscall/table_macos_bsd.c:2500:7: error: use of undeclared identifier 'SYS_shared_region_map_and_slide_np'
{{SYS_shared_region_map_and_slide_np /*438*/}, "shared_region_map_and_slide_np", OK, RLONG, 6,
^
drmemory/drsyscall/table_macos_bsd.c:2512:39: error: invalid application of 'sizeof' to an incomplete type 'syscall_info_t[]' (aka 'struct _syscall_info_t[]')
size_t count_syscall_info_bsd = sizeof(syscall_info_bsd)/sizeof(syscall_info_bsd[0]);Ik
Would be great to have macOS 13.5.x support.