Displaying 1 result from an estimated 1 matches for "move_mem".
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...0000ULL, MappingDesc::SHADOW, "shadow-3"},
+ {0x90000000ULL, 0xa0000000ULL, MappingDesc::ORIGIN, "origin-3"},
+ {0xa0000000ULL, 0xf0000000ULL, MappingDesc::INVALID, "invalid"},
+ {0xf0000000ULL, 0xffffffffULL, MappingDesc::APP, "app-3"},
+};
+#define MOVE_MEM(mem) \
+ ((uptr)(mem) & ~0x80000000ULL)
+#define MEM_TO_SHADOW(mem) (MOVE_MEM((mem)) + 0x10000000ULL)
+#define SHADOW_TO_ORIGIN(mem) (((uptr)(mem)) + 0x10000000ULL)
+
#elif SANITIZER_LINUX && SANITIZER_WORDSIZE == 64
#ifdef MSAN_LINUX_X86_64_OLD_MAPPING
- lib/msan/msan_allo...