OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:kShadowGranularity
(Results
1 - 3
of
3
) sorted by null
/bionic/libc/private/
CFIShadow.h
39
// __cfi_check for a 2**
kShadowGranularity
range of memory. Array elements (called "shadow values"
43
// align_up(P, 2**
kShadowGranularity
) - (V - 2) * (2 ** kCfiCheckGranularity)
49
// Loader requirement: each aligned 2**
kShadowGranularity
region of address space may contain at
55
static constexpr uintptr_t
kShadowGranularity
= kLibraryAlignmentBits;
59
static constexpr uintptr_t kShadowAlign = 1UL <<
kShadowGranularity
;
70
// Shadow is 2 -> 2**
kShadowGranularity
.
72
align_up((kMaxTargetAddr >> (
kShadowGranularity
- 1)), PAGE_SIZE);
76
return (x >>
kShadowGranularity
) << 1;
/external/compiler-rt/test/cfi/cross-dso/
shadow_is_read_only.cpp
35
constexpr unsigned
kShadowGranularity
= 12;
44
(uint16_t *)(base + (((uintptr_t)ptr >>
kShadowGranularity
) << 1));
/external/compiler-rt/lib/cfi/
cfi.cc
47
static constexpr uptr
kShadowGranularity
= 12;
48
static constexpr uptr kShadowAlign = 1UL <<
kShadowGranularity
; // 4096
68
return (x >>
kShadowGranularity
) << 1;
91
uptr p = aligned_addr - (((uptr)v - 1) <<
kShadowGranularity
);
146
uint16_t sv = ((begin - cfi_check) >>
kShadowGranularity
) + 1;
274
// Shadow is 2 -> 2**
kShadowGranularity
.
275
SetShadowSize((vma >> (
kShadowGranularity
- 1)) + 1);
Completed in 121 milliseconds