OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SHADOW_GRANULARITY
(Results
1 - 7
of
7
) sorted by null
/external/compiler-rt/lib/asan/
asan_poisoning.cc
27
uptr shadow_end = MemToShadow(addr + size -
SHADOW_GRANULARITY
) + 1;
40
i +=
SHADOW_GRANULARITY
, shadow++) {
41
if (i +
SHADOW_GRANULARITY
<= size) {
44
*shadow = (
SHADOW_GRANULARITY
== 128) ? 0xff : value; // unaddressable
54
s8 offset; // in [0,
SHADOW_GRANULARITY
)
59
offset = address & (
SHADOW_GRANULARITY
- 1);
162
uptr aligned_b = RoundUpTo(beg,
SHADOW_GRANULARITY
);
163
uptr aligned_e = RoundDownTo(end,
SHADOW_GRANULARITY
);
167
// then check the
SHADOW_GRANULARITY
-aligned region by calling
188
uptr aligned_size = size & ~(
SHADOW_GRANULARITY
- 1)
[
all
...]
asan_globals.cc
38
uptr aligned_size = RoundUpTo(g.size,
SHADOW_GRANULARITY
);
44
g.beg + RoundDownTo(g.size,
SHADOW_GRANULARITY
),
45
g.size %
SHADOW_GRANULARITY
,
46
SHADOW_GRANULARITY
,
asan_mapping.h
80
#define
SHADOW_GRANULARITY
(1ULL << SHADOW_SCALE)
203
return (a & (
SHADOW_GRANULARITY
- 1)) == 0;
212
u8 last_accessed_byte = (a & (
SHADOW_GRANULARITY
- 1))
asan_allocator2.cc
206
uptr available = RoundUpTo(user_requested_size,
SHADOW_GRANULARITY
);
267
RoundUpTo(m->UsedSize(),
SHADOW_GRANULARITY
),
305
const uptr min_alignment =
SHADOW_GRANULARITY
;
394
uptr size_rounded_down_to_granularity = RoundDownTo(size,
SHADOW_GRANULARITY
);
401
*shadow = size & (
SHADOW_GRANULARITY
- 1);
452
RoundUpTo(m->UsedSize(),
SHADOW_GRANULARITY
),
asan_report.cc
125
"application bytes):\n", (int)
SHADOW_GRANULARITY
);
128
for (uptr i = 1; i <
SHADOW_GRANULARITY
; i++)
638
if (*shadow_addr == 0 && access_size >
SHADOW_GRANULARITY
)
asan_rtl.cc
375
Printf("
SHADOW_GRANULARITY
: %zx\n", (uptr)
SHADOW_GRANULARITY
);
asan_allocator.cc
88
CHECK(IsPowerOfTwo(
SHADOW_GRANULARITY
));
90
CHECK(REDZONE >=
SHADOW_GRANULARITY
);
Completed in 97 milliseconds