[compiler-rt] [ASan][Windows] Fix rip-relative instruction replacement (PR #68432)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 9 14:23:19 PDT 2023


================
@@ -726,16 +726,22 @@ static bool CopyInstructions(uptr to, uptr from, size_t size) {
     size_t instruction_size = GetInstructionSize(from + cursor, &rel_offset);
     if (!instruction_size)
       return false;
-    _memcpy((void*)(to + cursor), (void*)(from + cursor),
+    _memcpy((void *)(to + cursor), (void *)(from + cursor),
----------------
vitalybuka wrote:

Is this clang-formater?


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


More information about the llvm-commits mailing list