[compiler-rt] [msan] Re-exec with no ASLR if memory layout is incompatible on Linux (PR #85142)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 14 18:00:55 PDT 2024


================
@@ -197,7 +197,7 @@ bool InitShadowWithReExec(bool init_origins) {
 
   // The earlier dry run didn't actually map or protect anything. Run again in
   // non-dry run mode.
-  success = InitShadow(__msan_get_track_origins(), false);
+  success = success && InitShadow(__msan_get_track_origins(), false);
----------------
vitalybuka wrote:

return success && InitShadow(__msan_get_track_origins(), false);

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


More information about the llvm-commits mailing list