[llvm-branch-commits] [sanitizer] Add MemCpyAccessible (PR #112794)

Florian Mayer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Oct 17 16:32:35 PDT 2024


================
@@ -273,6 +273,8 @@ bool IsAccessibleMemoryRange(uptr beg, uptr size);
 // Returns true if we can read a memory range starting at `src`, and copies
 // content into `dest`.
 bool TryMemCpy(void *dest, const void *src, uptr n);
+// Copies accesible memory, and zero fill the rest.
----------------
fmayer wrote:

nit: typo 

https://github.com/llvm/llvm-project/pull/112794


More information about the llvm-branch-commits mailing list