/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_lfstack.h | 40 u64 xch = (u64)(uptr)p | cnt; 41 p->next = (T*)(uptr)(cmp & kPtrMask); 51 T *cur = (T*)(uptr)(cmp & kPtrMask); 56 u64 xch = (u64)(uptr)nxt | cnt;
|
sanitizer_atomic_msvc.h | 73 DCHECK(!((uptr)a % sizeof(*a))); 90 DCHECK(!((uptr)a % sizeof(*a))); 106 DCHECK(!((uptr)a % sizeof(*a))); 114 DCHECK(!((uptr)a % sizeof(*a))); 127 DCHECK(!((uptr)a % sizeof(*a))); 138 uptr *cmp, 139 uptr xchg, 141 uptr cmpv = *cmp; 142 uptr prev = (uptr)_InterlockedCompareExchangePointer [all...] |
sanitizer_atomic.h | 51 typedef uptr Type;
|
sanitizer_platform_limits_posix.cc | 59 uptr __sanitizer_get_msghdr_iov_iov_len(void* msg, int idx) { 63 uptr __sanitizer_get_msghdr_iovlen(void* msg) { 67 uptr __sanitizer_get_socklen_t(void* socklen_ptr) {
|
sanitizer_list.h | 35 uptr size() const { return size_; } 106 uptr count = 0; 117 uptr size_;
|
sanitizer_internal_defs.h | 46 typedef unsigned long long uptr; // NOLINT typedef in namespace:__sanitizer 49 typedef unsigned long uptr; // NOLINT 57 typedef uptr uhwptr; // NOLINT 76 typedef uptr OFF_T; 262 # define GET_CALLER_PC() (uptr)__builtin_return_address(0) 263 # define GET_CURRENT_FRAME() (uptr)__builtin_frame_address(0) 267 # define GET_CALLER_PC() (uptr)_ReturnAddress() 271 # define GET_CURRENT_FRAME() (uptr)0xDEADBEEF
|
sanitizer_mutex.h | 78 uptr opaque_storage_[10]; 79 uptr owner_; // for debugging
|
/external/compiler-rt/lib/tsan/rtl/ |
tsan_suppressions.h | 22 uptr IsSuppressed(ReportType typ, const ReportStack *stack);
|
tsan_symbolize_addr2line_linux.cc | 33 uptr base; 41 uptr base; 42 uptr end; 104 m->base = (uptr)info->dlpi_addr; 112 (uptr)s->p_type, (uptr)s->p_offset, (uptr)s->p_vaddr, 113 (uptr)s->p_paddr, (uptr)s->p_filesz, (uptr)s->p_memsz [all...] |
tsan_symbolize.cc | 39 ReportStack *NewReportStackEntry(uptr addr) { 72 ReportStack *SymbolizeCode(uptr addr) { 76 static const uptr kMaxAddrFrames = 16; 78 for (uptr i = 0; i < kMaxAddrFrames; i++) 80 uptr addr_frames_num = __sanitizer::SymbolizeCode(addr, addr_frames.data(), 86 for (uptr i = 0; i < addr_frames_num; i++) { 99 ReportLocation *SymbolizeData(uptr addr) {
|
tsan_interceptors.cc | 41 uptr opaque[117]; 47 extern "C" int pthread_attr_setstacksize(void *attr, uptr stacksize); 48 extern "C" int pthread_attr_getstacksize(void *attr, uptr *stacksize); 59 extern "C" void *__libc_malloc(uptr size); 60 extern "C" void *__libc_calloc(uptr size, uptr n); 61 extern "C" void *__libc_realloc(void *ptr, uptr size); 133 MemoryResetRange(thr, (uptr)&SigCtx, (uptr)ctx, sizeof(*ctx)); 143 ScopedInterceptor(ThreadState *thr, const char *fname, uptr pc) [all...] |
tsan_rtl_mutex.cc | 23 void MutexCreate(ThreadState *thr, uptr pc, uptr addr, 42 void MutexDestroy(ThreadState *thr, uptr pc, uptr addr) { 82 void MutexLock(ThreadState *thr, uptr pc, uptr addr) { 115 void MutexUnlock(ThreadState *thr, uptr pc, uptr addr) { 152 void MutexReadLock(ThreadState *thr, uptr pc, uptr addr) [all...] |
tsan_trace.h | 49 uptr stack0buf[kTraceStackSize];
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_printf_test.cc | 24 uptr len = internal_snprintf(buf, sizeof(buf), 43 uptr len = internal_snprintf(buf, 4, "%s", "abcdef"); // NOLINT 44 EXPECT_EQ(len, (uptr)6); 70 uptr val; 72 val = (uptr)0x12345678; 74 val = (uptr)0x123456789ULL; 109 uptr len = internal_snprintf(buf, sizeof(buf), fmt, min, max);
|
sanitizer_stoptheworld_test.cc | 59 for (uptr i = 0; i < 1000; i++) { 91 static const uptr kThreadCount = 50; 92 static const uptr kStopWorldAfter = 10; // let this many threads spawn first 97 volatile uptr thread_index; 113 uptr this_thread_index = __sync_fetch_and_add( 148 for (uptr j = 0; j < kThreadCount; j++) 151 for (uptr i = 0; i < 10; i++) { 153 for (uptr j = 0; j < kThreadCount; j++) 186 for (uptr i = 0; i < kThreadCount; i++)
|
sanitizer_thread_registry_test.cc | 33 static void CheckThreadQuantity(ThreadRegistry *registry, uptr exp_total, 34 uptr exp_running, uptr exp_alive) { 35 uptr total, running, alive; 46 static uptr get_uid(u32 tid) { 56 uptr uid = (uptr)arg; 161 uptr shard; // started from 1. 168 uptr shard = (uptr)arg [all...] |
sanitizer_libc_test.cc | 54 uptr len1 = internal_strlen(str1); 56 uptr len2 = internal_strlen(str2); 80 uptr fsize = internal_filesize(fd); 88 EXPECT_EQ(fsize, (uptr)st3.st_size);
|
/external/compiler-rt/lib/asan/ |
asan_globals.cc | 38 uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY); 51 bool DescribeAddressIfGlobal(uptr addr, uptr size) { 134 void __asan_register_globals(__asan_global *globals, uptr n) { 137 for (uptr i = 0; i < n; i++) { 144 void __asan_unregister_globals(__asan_global *globals, uptr n) { 147 for (uptr i = 0; i < n; i++) { 156 void __asan_before_dynamic_init(uptr first_addr, uptr last_addr) {
|
asan_mac.cc | 42 void GetPcSpBp(void *context, uptr *pc, uptr *sp, uptr *bp) { 58 uptr len = 0, maxlen = sizeof(version) / sizeof(version[0]); 59 for (uptr i = 0; i < maxlen; i++) version[i] = '\0'; 102 uptr name_len = internal_strlen(name); 104 uptr len = internal_strlen(*environ); 131 CHECK(dladdr((void*)((uptr)__asan_init), &info)); 134 uptr old_env_len = dyld_insert_libraries ? 136 uptr fname_len = internal_strlen(info.dli_fname) [all...] |
asan_posix.cc | 32 static const uptr kAltStackSize = SIGSTKSZ * 4; // SIGSTKSZ is not enough. 52 uptr addr = (uptr)siginfo->si_addr; 55 uptr pc, sp, bp;
|
/external/compiler-rt/lib/interception/ |
interception.h | 26 typedef __sanitizer::uptr SIZE_T; 87 const uptr replacement; 88 const uptr original; 97 { reinterpret_cast<const uptr>(WRAP(func_name)), \ 98 reinterpret_cast<const uptr>(func_name) } \ 107 { reinterpret_cast<const uptr>(wrapper_name), \ 108 reinterpret_cast<const uptr>(func_name) } \ 202 // so we use casting via an integral type __interception::uptr, 208 typedef unsigned long long uptr; // NOLINT typedef in namespace:__interception 210 typedef unsigned long uptr; // NOLIN [all...] |
interception_win.cc | 22 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr) { 31 *func_addr = (uptr)GetProcAddress(GetModuleHandleA(DLLS[i]), func_name); 59 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func) { 136 *orig_old_func = (uptr)trampoline;
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers_cxx.cc | 49 << Range(Pointer, Pointer + sizeof(uptr), "invalid vptr"); 53 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %0"); 61 << Range(Pointer, Pointer + sizeof(uptr), "vptr for %2 base class of %1");
|
ubsan_type_hash.h | 20 typedef uptr HashValue;
|
/external/compiler-rt/lib/msan/ |
msan_report.cc | 47 static void PrintStack(const uptr *trace, uptr size) { 68 uptr size = 0; 69 const uptr *trace = StackDepotGet(origin, &size); 79 uptr pc = StackTrace::GetPreviousInstructionPc(stack->trace[0]);
|