search for: mem_to_shadow

Displaying 4 results from an estimated 4 matches for "mem_to_shadow".

2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...32} ${MIPS64}) set(ALL_TSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64}) - lib/msan/msan.h: diff --git a/lib/msan/msan.h b/lib/msan/msan.h index be74f6e..10b5b05 100644 --- a/lib/msan/msan.h +++ b/lib/msan/msan.h @@ -147,6 +147,26 @@ const MappingDesc kMemoryLayout[] = { #define MEM_TO_SHADOW(mem) (LINEARIZE_MEM((mem)) + 0x100000000000ULL) #define SHADOW_TO_ORIGIN(shadow) (((uptr)(shadow)) + 0x280000000000) +#elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 32 + +const MappingDesc kMemoryLayout[] = { + {0x00000000ULL, 0x10000000ULL, MappingDesc::APP, "app-1"}, + {0x...
2017 Feb 23
4
RFC: Generalize means the sanitizers work with memory
...al memory pages that work as the storage for data that sanitizers currently read and write by virtual addresses. In presence of the concept of physical memory, every time we access virtual memory we have to translate the given virtual address to a physical one. For example, this check: *(u8 *)MEM_TO_SHADOW(allocated) == 0 becomes: *MEM_TO_PSHADOW(allocated) == 0 where the MEM_TO_PSHADOW(mem) macro is defined as: #define MEM_TO_PSHADOW(mem) VSHADOW_TO_PSHADOW(MEM_TO_VSHADOW(mem)) #define MEM_TO_VSHADOW(mem) /* Whatever currently MEM_TO_SHADOW() is. */ The VSHADOW_TO_PSHADOW(vs) macro...
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote: > [ CCed all people who were involved in this thread ] > > Hi Tom, > > personally, I am interested to test the prebuilt-toolchains for > Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64. > The available toolchains are incomplete and thus useless. > > Just as a fact: There is still no
2017 Oct 04
2
Fix for PR24155 on PPC
It would appear that the fix for https://bugs.llvm.org/show_bug.cgi?id=24155 really only applies to X86. Which I suppose is fine since that's where the bug was reported. However, we've recently upgraded the OS's on some of our PPC64 systems and are hitting the same problems. I certainly wouldn't mind providing a similar fix for PPC, but I don't know what the values in