/external/compiler-rt/lib/asan/ |
asan_stats.h | 26 // AsanStats must be a struct consisting of uptr fields only. 27 // When merging two AsanStats structs, we treat them as arrays of uptr. 28 uptr mallocs; 29 uptr malloced; 30 uptr malloced_redzones; 31 uptr frees; 32 uptr freed; 33 uptr real_frees; 34 uptr really_freed; 35 uptr really_freed_redzones [all...] |
asan_report.h | 23 void DescribeHeapAddress(uptr addr, uptr access_size); 24 bool DescribeAddressIfGlobal(uptr addr, uptr access_size); 25 bool DescribeAddressRelativeToGlobal(uptr addr, uptr access_size, 27 bool DescribeAddressIfShadow(uptr addr); 28 bool DescribeAddressIfStack(uptr addr, uptr access_size); 30 void DescribeAddress(uptr addr, uptr access_size) [all...] |
asan_interface_internal.h | 20 using __sanitizer::uptr; 38 uptr beg; // The address of the global. 39 uptr size; // The original size of the global. 40 uptr size_with_redzone; // The size with the redzone. 44 uptr has_dynamic_init; // Non-zero if the global has dynamic initializer. 49 void __asan_register_globals(__asan_global *globals, uptr n) 51 void __asan_unregister_globals(__asan_global *globals, uptr n) 65 uptr __asan_stack_malloc(uptr size, uptr real_stack [all...] |
asan_fake_stack.h | 22 uptr magic; // Modified by the instrumented code. 23 uptr descr; // Modified by the instrumented code. 24 uptr pc; // Modified by the instrumented code. 40 template<uptr kMaxNumberOfFrames> 59 uptr n_frames_; 74 void Init(uptr stack_size); 77 uptr AllocateStack(uptr size, uptr real_stack); 78 static void OnFree(uptr ptr, uptr size, uptr real_stack) [all...] |
asan_allocator.h | 30 static const uptr kNumberOfSizeClasses = 255; 39 uptr Beg(); // first byte of user memory. 40 uptr End(); // last byte of user memory. 41 uptr UsedSize(); // size requested by the user. 42 uptr AllocTid(); 43 uptr FreeTid(); 46 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) { 53 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) [all...] |
asan_malloc_linux.cc | 26 DECLARE_REAL_AND_INTERCEPTOR(void*, malloc, uptr size) 28 DECLARE_REAL_AND_INTERCEPTOR(void*, calloc, uptr nmemb, uptr size) 29 DECLARE_REAL_AND_INTERCEPTOR(void*, realloc, void *ptr, uptr size) 30 DECLARE_REAL_AND_INTERCEPTOR(void*, memalign, uptr boundary, uptr size) 33 void* (*malloc)(uptr bytes); 35 void* (*calloc)(uptr n_elements, uptr elem_size); 36 void* (*realloc)(void* oldMem, uptr bytes) [all...] |
asan_interceptors.h | 20 DECLARE_REAL(int, memcmp, const void *a1, const void *a2, uptr size) 21 DECLARE_REAL(void*, memcpy, void *to, const void *from, uptr size) 22 DECLARE_REAL(void*, memset, void *block, int c, uptr size) 24 DECLARE_REAL(uptr, strlen, const char *s) 25 DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size) 26 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
|
/external/chromium_org/chrome/test/pyautolib/ |
asan_stub.c | 113 typedef unsigned long long uptr; typedef 114 uptr __asan_stack_malloc_1(uptr size, uptr real_stack) {} 115 uptr __asan_stack_malloc_2(uptr size, uptr real_stack) {} 116 uptr __asan_stack_malloc_3(uptr size, uptr real_stack) { [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stacktrace.h | 20 static const uptr kStackTraceMax = 256; 34 uptr size; 35 uptr max_size; 36 uptr trace[kStackTraceMax]; 37 static void PrintStack(const uptr *addr, uptr size, 40 void CopyTo(uptr *dst, uptr dst_size) { 41 for (uptr i = 0; i < size && i < dst_size; i++) 43 for (uptr i = size; i < dst_size; i++ [all...] |
sanitizer_stackdepot.h | 23 u32 StackDepotPut(const uptr *stack, uptr size); 25 const uptr *StackDepotGet(u32 id, uptr *size); 28 uptr n_uniq_ids; 29 uptr mapped;
|
sanitizer_symbolizer.h | 34 uptr address; 36 uptr module_offset; 48 void FillAddressAndModuleInfo(uptr addr, const char *mod_name, 49 uptr mod_offset) { 57 uptr address; 59 uptr module_offset; 61 uptr start; 62 uptr size; 69 uptr SymbolizeCode(uptr address, AddressInfo *frames, uptr max_frames [all...] |
sanitizer_libc.h | 28 void *internal_memchr(const void *s, int c, uptr n); 29 int internal_memcmp(const void* s1, const void* s2, uptr n); 30 void *internal_memcpy(void *dest, const void *src, uptr n); 31 void *internal_memmove(void *dest, const void *src, uptr n); 33 void *internal_memset(void *s, int c, uptr n); 36 uptr internal_strcspn(const char *s, const char *reject); 38 uptr internal_strlen(const char *s); 39 char *internal_strncat(char *dst, const char *src, uptr n); 40 int internal_strncmp(const char *s1, const char *s2, uptr n); 41 char *internal_strncpy(char *dst, const char *src, uptr n) [all...] |
sanitizer_procmaps.h | 28 bool GetObjectNameAndOffset(uptr addr, uptr *offset, 29 char filename[], uptr filename_size, 30 uptr *protection) { 39 uptr mmaped_size; 40 uptr len; 47 bool Next(uptr *start, uptr *end, uptr *offset, 48 char filename[], uptr filename_size, uptr *protection) [all...] |
sanitizer_linux.h | 28 uptr internal_getdents(fd_t fd, struct linux_dirent *dirp, unsigned int count); 29 uptr internal_prctl(int option, uptr arg2, uptr arg3, uptr arg4, uptr arg5); 30 uptr internal_sigaltstack(const struct sigaltstack* ss, 58 uptr ThreadDescriptorSize(); 59 uptr ThreadSelf(); 60 uptr ThreadSelfOffset() [all...] |
sanitizer_win.cc | 35 uptr GetPageSize() { 39 uptr GetMmapGranularity() { 43 uptr GetMaxVirtualAddress() { 46 return (uptr)si.lpMaximumApplicationAddress; 53 uptr internal_getpid() { 59 uptr GetTid() { 63 uptr GetThreadSelf() { 67 void GetThreadStackTopAndBottom(bool at_initialization, uptr *stack_top, 68 uptr *stack_bottom) { 76 *stack_top = (uptr)mbi.BaseAddress + mbi.RegionSize [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_symbolize.h | 21 ReportStack *SymbolizeCode(uptr addr); 22 ReportLocation *SymbolizeData(uptr addr); 25 ReportStack *SymbolizeCodeAddr2Line(uptr addr); 27 ReportStack *NewReportStackEntry(uptr addr);
|
tsan_platform.h | 67 static const uptr kLinuxAppMemBeg = 0x000000000000ULL; 68 static const uptr kLinuxAppMemEnd = 0x04dfffffffffULL; 70 static const uptr kLinuxShadowMsk = 0x010000000000ULL; 72 static const uptr kLinuxShadowMsk = 0x200000000000ULL; 78 static const uptr kLinuxAppMemBeg = 0x290000000000ULL; 79 static const uptr kLinuxAppMemEnd = 0x7fffffffffffULL; 81 static const uptr kLinuxAppMemBeg = 0x7cf000000000ULL; 82 static const uptr kLinuxAppMemEnd = 0x7fffffffffffULL; 85 static const uptr kLinuxAppMemMsk = 0x7c0000000000ULL; 88 const uptr kTraceMemBegin = 0x056000000000ULL [all...] |
tsan_fd.h | 42 void FdAcquire(ThreadState *thr, uptr pc, int fd); 43 void FdRelease(ThreadState *thr, uptr pc, int fd); 44 void FdAccess(ThreadState *thr, uptr pc, int fd); 45 void FdClose(ThreadState *thr, uptr pc, int fd); 46 void FdFileCreate(ThreadState *thr, uptr pc, int fd); 47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd); 48 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd); 49 void FdEventCreate(ThreadState *thr, uptr pc, int fd); 50 void FdSignalCreate(ThreadState *thr, uptr pc, int fd); 51 void FdInotifyCreate(ThreadState *thr, uptr pc, int fd) [all...] |
tsan_sync.h | 31 StackTrace(uptr *buf, uptr cnt); 35 void Init(const uptr *pcs, uptr cnt); 36 void ObtainCurrent(ThreadState *thr, uptr toppc); 38 uptr Size() const; 39 uptr Get(uptr i) const; 40 const uptr *Begin() const; 44 uptr n_ [all...] |
/external/compiler-rt/lib/interception/ |
interception_linux.h | 26 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr, 27 uptr real, uptr wrapper); 32 #func, (::__interception::uptr*)&REAL(func), \ 33 (::__interception::uptr)&(func), \ 34 (::__interception::uptr)&WRAP(func))
|
interception_win.h | 26 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr); 29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func); 35 #func, (::__interception::uptr*)&REAL(func)) 39 (::__interception::uptr)func, \ 40 (::__interception::uptr)WRAP(func), \ 41 (::__interception::uptr*)&REAL(func))
|
interception_linux.cc | 22 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr, 23 uptr real, uptr wrapper) { 24 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name);
|
/external/compiler-rt/lib/lsan/ |
lsan_allocator.h | 23 void *Allocate(const StackTrace &stack, uptr size, uptr alignment, 26 void *Reallocate(const StackTrace &stack, void *p, uptr new_size, 27 uptr alignment); 28 uptr GetMallocUsableSize(void *p); 33 void GetAllocatorCacheRange(uptr *begin, uptr *end);
|
lsan_common.h | 41 uptr pointer_alignment() const { 42 return use_unaligned ? 1 : sizeof(uptr); 82 uptr hit_count; 83 uptr total_size; 93 void Add(u32 stack_trace_id, uptr leaked_size, ChunkTag tag); 94 void PrintLargest(uptr max_leaks); 97 uptr ApplySuppressions(); 102 typedef InternalMmapVector<uptr> Frontier; 109 void ScanRangeForPointers(uptr begin, uptr end [all...] |
lsan_thread.h | 27 uptr stack_begin() { return stack_begin_; } 28 uptr stack_end() { return stack_end_; } 29 uptr tls_begin() { return tls_begin_; } 30 uptr tls_end() { return tls_end_; } 31 uptr cache_begin() { return cache_begin_; } 32 uptr cache_end() { return cache_end_; } 34 uptr stack_begin_, stack_end_, 41 void ThreadStart(u32 tid, uptr os_id); 43 u32 ThreadCreate(u32 tid, uptr uid, bool detached); 45 u32 ThreadTid(uptr uid) [all...] |