[PATCH] D79133: [scudo] Zero- and pattern-initialization of memory.
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 30 13:26:46 PDT 2020
eugenis marked an inline comment as done.
eugenis added a comment.
Pattern initialization for heap can be used as a "poor man's MSan".
Also, it absolutely introduces a language dialect, as in certain code will now reliably work that did not work before. I think security considerations trump that in this case, but it's good to have pattern init as an option, at lease.
I agree on calloc, zeroing memory is in the function's contract.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D79133/new/
https://reviews.llvm.org/D79133
More information about the llvm-commits
mailing list