Add @(no_sanitize_memory) proc attribute with MSan additions to base:sanitizer

This commit is contained in:
Feoramund
2025-06-05 16:06:40 -04:00
parent 97fd228f01
commit 9c5640886d
6 changed files with 84 additions and 1 deletions
+6
View File
@@ -3776,6 +3776,12 @@ gb_internal DECL_ATTRIBUTE_PROC(proc_decl_attribute) {
}
ac->no_sanitize_address = true;
return true;
} else if (name == "no_sanitize_memory") {
if (value != nullptr) {
error(value, "'%.*s' expects no parameter", LIT(name));
}
ac->no_sanitize_memory = true;
return true;
}
return false;
}