OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ASAN_SHADOW_GRANULARITY
(Results
1 - 18
of
18
) sorted by relevancy
/src/external/gpl3/gcc/dist/libsanitizer/asan/
asan_poisoning.h
48
MEM_TO_SHADOW(aligned_beg + aligned_size -
ASAN_SHADOW_GRANULARITY
) + 1;
81
for (uptr i = 0; i < redzone_size; i +=
ASAN_SHADOW_GRANULARITY
, shadow++) {
82
if (i +
ASAN_SHADOW_GRANULARITY
<= size) {
86
(
ASAN_SHADOW_GRANULARITY
== 128) ? 0xff : value; // unaddressable
asan_poisoning.cpp
40
CHECK(AddrIsInMem(addr + size -
ASAN_SHADOW_GRANULARITY
));
57
s8 offset; // in [0,
ASAN_SHADOW_GRANULARITY
)
62
offset = address & (
ASAN_SHADOW_GRANULARITY
- 1);
77
CHECK(IsAligned(end,
ASAN_SHADOW_GRANULARITY
));
78
if (!IsAligned(ptr,
ASAN_SHADOW_GRANULARITY
)) {
80
poison ? static_cast<u8>(ptr %
ASAN_SHADOW_GRANULARITY
) : 0;
81
ptr |=
ASAN_SHADOW_GRANULARITY
- 1;
84
for (; ptr < end; ptr +=
ASAN_SHADOW_GRANULARITY
)
182
uptr aligned_b = RoundUpTo(beg,
ASAN_SHADOW_GRANULARITY
);
183
uptr aligned_e = RoundDownTo(end,
ASAN_SHADOW_GRANULARITY
);
[
all
...]
asan_rtl.cpp
161
uptr s = size <=
ASAN_SHADOW_GRANULARITY
? *reinterpret_cast<u8 *>(sp) \
164
if (UNLIKELY(size >=
ASAN_SHADOW_GRANULARITY
|| \
165
((s8)((addr & (
ASAN_SHADOW_GRANULARITY
- 1)) + size - 1)) >= \
384
Printf("SHADOW_GRANULARITY: %d\n", (int)
ASAN_SHADOW_GRANULARITY
);
443
SetLowLevelAllocateMinAlignment(
ASAN_SHADOW_GRANULARITY
);
557
PoisonShadow(bottom, RoundUpTo(top - bottom,
ASAN_SHADOW_GRANULARITY
), 0);
asan_flags.cpp
143
// Ensure that redzone is at least
ASAN_SHADOW_GRANULARITY
.
144
if (f->redzone < (int)
ASAN_SHADOW_GRANULARITY
)
145
f->redzone =
ASAN_SHADOW_GRANULARITY
;
asan_thread.cpp
308
stack_top_ = RoundDownTo(stack_bottom_ + stack_size,
ASAN_SHADOW_GRANULARITY
);
309
stack_bottom_ = RoundDownTo(stack_bottom_,
ASAN_SHADOW_GRANULARITY
);
325
uptr tls_begin_aligned = RoundDownTo(tls_begin_,
ASAN_SHADOW_GRANULARITY
);
326
uptr tls_end_aligned = RoundUpTo(tls_end_,
ASAN_SHADOW_GRANULARITY
);
348
uptr mem_ptr = RoundDownTo(aligned_addr,
ASAN_SHADOW_GRANULARITY
);
355
mem_ptr -=
ASAN_SHADOW_GRANULARITY
;
361
mem_ptr -=
ASAN_SHADOW_GRANULARITY
;
368
uptr *ptr = (uptr *)(mem_ptr +
ASAN_SHADOW_GRANULARITY
);
asan_mapping.h
239
# define
ASAN_SHADOW_GRANULARITY
(1ULL << ASAN_SHADOW_SCALE)
389
return (a & (
ASAN_SHADOW_GRANULARITY
- 1)) == 0;
399
(a & (
ASAN_SHADOW_GRANULARITY
- 1)) + kAccessSize - 1;
asan_fake_stack.cpp
313
uptr PartialRzAligned = PartialRzAddr & ~(
ASAN_SHADOW_GRANULARITY
- 1);
316
PartialRzAligned, PartialRzAddr %
ASAN_SHADOW_GRANULARITY
,
326
(bottom - top) /
ASAN_SHADOW_GRANULARITY
);
asan_activation.cpp
115
disabled.min_redzone = Max(16, (int)
ASAN_SHADOW_GRANULARITY
);
asan_globals.cpp
63
uptr aligned_size = RoundUpTo(g.size,
ASAN_SHADOW_GRANULARITY
);
68
g.beg + RoundDownTo(g.size,
ASAN_SHADOW_GRANULARITY
),
69
g.size %
ASAN_SHADOW_GRANULARITY
,
ASAN_SHADOW_GRANULARITY
,
asan_interceptors_memintrinsics.h
29
if (UNLIKELY(size == 0 || size > sizeof(uptr) *
ASAN_SHADOW_GRANULARITY
))
asan_errors.cpp
330
uptr granularity =
ASAN_SHADOW_GRANULARITY
;
350
uptr granularity =
ASAN_SHADOW_GRANULARITY
;
431
if (*shadow_addr == 0 && access_size >
ASAN_SHADOW_GRANULARITY
)
523
(int)
ASAN_SHADOW_GRANULARITY
);
526
for (u8 i = 1; i <
ASAN_SHADOW_GRANULARITY
; i++)
asan_allocator.cpp
219
PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(),
ASAN_SHADOW_GRANULARITY
),
242
PoisonShadow(m->Beg(), RoundUpTo(m->UsedSize(),
ASAN_SHADOW_GRANULARITY
),
292
uptr user_end = RoundDownTo(user_begin + user_size,
ASAN_SHADOW_GRANULARITY
);
293
user_begin = RoundUpTo(user_begin,
ASAN_SHADOW_GRANULARITY
);
413
uptr end_aligned_down = RoundDownTo(end,
ASAN_SHADOW_GRANULARITY
);
539
const uptr min_alignment =
ASAN_SHADOW_GRANULARITY
;
616
uptr tail_beg = RoundUpTo(user_end,
ASAN_SHADOW_GRANULARITY
);
623
RoundDownTo(size,
ASAN_SHADOW_GRANULARITY
);
631
*shadow = fl.poison_partial ? (size & (
ASAN_SHADOW_GRANULARITY
- 1)) : 0;
/src/external/gpl3/gcc/dist/gcc/
asan.h
70
#define
ASAN_SHADOW_GRANULARITY
(1UL << ASAN_SHADOW_SHIFT)
asan.cc
1501
*
ASAN_SHADOW_GRANULARITY
<= MAX_SUPPORTED_STACK_ALIGNMENT);
1503
return ROUND_UP (size,
ASAN_SHADOW_GRANULARITY
) /
ASAN_SHADOW_GRANULARITY
;
1550
gcc_assert ((offset & (
ASAN_SHADOW_GRANULARITY
- 1)) == 0);
1554
= m_prev_offset +
ASAN_SHADOW_GRANULARITY
* m_shadow_bytes.length ();
1557
else if (offset < m_prev_offset + (HOST_WIDE_INT) (
ASAN_SHADOW_GRANULARITY
1562
for (; off < offset; off +=
ASAN_SHADOW_GRANULARITY
)
2055
bool extra_byte = (offset - base_offset) & (
ASAN_SHADOW_GRANULARITY
- 1);
2056
/* If a red-zone is not aligned to
ASAN_SHADOW_GRANULARITY
then
2057
the previous stack variable has size %
ASAN_SHADOW_GRANULARITY
!= 0
[
all
...]
gimplify.cc
1286
= hwasan_sanitize_p () ? HWASAN_TAG_GRANULE_SIZE :
ASAN_SHADOW_GRANULARITY
;
/src/external/gpl3/gcc.old/dist/gcc/
asan.h
69
#define
ASAN_SHADOW_GRANULARITY
(1UL << ASAN_SHADOW_SHIFT)
asan.cc
1459
*
ASAN_SHADOW_GRANULARITY
<= MAX_SUPPORTED_STACK_ALIGNMENT);
1461
return ROUND_UP (size,
ASAN_SHADOW_GRANULARITY
) /
ASAN_SHADOW_GRANULARITY
;
1508
gcc_assert ((offset & (
ASAN_SHADOW_GRANULARITY
- 1)) == 0);
1512
= m_prev_offset +
ASAN_SHADOW_GRANULARITY
* m_shadow_bytes.length ();
1515
else if (offset < m_prev_offset + (HOST_WIDE_INT) (
ASAN_SHADOW_GRANULARITY
1520
for (; off < offset; off +=
ASAN_SHADOW_GRANULARITY
)
2012
bool extra_byte = (offset - base_offset) & (
ASAN_SHADOW_GRANULARITY
- 1);
2013
/* If a red-zone is not aligned to
ASAN_SHADOW_GRANULARITY
then
2014
the previous stack variable has size %
ASAN_SHADOW_GRANULARITY
!= 0
[
all
...]
gimplify.cc
1255
= hwasan_sanitize_p () ? HWASAN_TAG_GRANULE_SIZE :
ASAN_SHADOW_GRANULARITY
;
Completed in 64 milliseconds
Indexes created Mon Jul 06 00:25:43 UTC 2026