search for: check_eq

Displaying 1 result from an estimated 1 matches for "check_eq".

Did you mean: check_
2016 Jun 17
2
Attempt to modify memory sanitizer for support of X86
...ce = 0x700000000000ULL; - lib/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 CheckMem...