I've ported the newest release of valgrind to NetBSD. It can already boostrap a program and detect invalid read/write operations in a process. http://netbsd.org/~kamil/valgrind/vg4netbsd-2019-03-31.txt It has support for a set of NetBSD syscalls, like SYS_exit. http://netbsd.org/~kamil/valgrind/vg4netbsd-SYS_exit-2019-03-31.txt However the truth is that it's breaking after the first report in unspecified location. With our improving tooling (LLDB! sanitizers!) the process of investigating software bugs keeps improving, but it's still non-trivial to catch bugs in a valgrind port and it will take a while. http://netbsd.org/~kamil/valgrind/vg4netbsd-under-lldb-2019-04-01.txt My port so far consists of 16kLOC diff. It's inspired by existing support done for BSDs recently and in old times.
Description: OpenPGP digital signature