improve valgrind client request support to include more targets #1989
Labels
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
enhancement
Solving this issue will likely involve adding new logic or components to the codebase.
Milestone
In debug builds, Zig memsets undefined memory to 0xaa, and then inserts a few instructions which provide metadata to Valgrind (or other tools that support this metadata, but I think it's only Valgrind currently). This makes it so that valgrind can detect uninitialized values:
I did a proof of concept of this with x86_64 (commit coming shortly). However Valgrind has support for more targets:
The text was updated successfully, but these errors were encountered: