Displaying 1 result from an estimated 1 matches for "addr_is_typ".
Did you mean:
addr_is_type
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...ib/msan/msan_linux.cc:
diff --git a/lib/msan/msan_linux.cc b/lib/msan/msan_linux.cc
index d6a9588..ca59564 100644
--- a/lib/msan/msan_linux.cc
+++ b/lib/msan/msan_linux.cc
@@ -82,7 +82,7 @@ static void CheckMemoryLayoutSanity() {
CHECK_LT(start, end);
CHECK_EQ(prev_end, start);
CHECK(addr_is_type(start, type));
- CHECK(addr_is_type((start + end) / 2, type));
+ CHECK(addr_is_type(start/2 + end/2, type));
CHECK(addr_is_type(end - 1, type));
if (type == MappingDesc::APP) {
uptr addr = start;
@@ -90,7 +90,7 @@ static void CheckMemoryLayoutSanity() {
CHECK(MEM_IS_O...