Searched refs:uptr (Results 1 - 25 of 213) sorted by relevance

123456789

/external/compiler-rt/lib/asan/
H A Dasan_stats.h26 // 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_redzone
[all...]
H A Dasan_fake_stack.h24 uptr magic; // Modified by the instrumented code.
25 uptr descr; // Modified by the instrumented code.
26 uptr pc; // Modified by the instrumented code.
27 uptr real_stack;
58 static const uptr kMinStackFrameSizeLog = 6; // Min frame is 64B.
59 static const uptr kMaxStackFrameSizeLog = 16; // Max stack frame is 64K.
62 static const uptr kNumberOfSizeClasses =
66 static FakeStack *Create(uptr stack_size_log);
71 static uptr SizeRequiredForFlags(uptr stack_size_lo
[all...]
H A Dasan_report.h23 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 add
[all...]
H A Dasan_interface_internal.h22 using __sanitizer::uptr;
35 uptr beg; // The address of the global.
36 uptr size; // The original size of the global.
37 uptr size_with_redzone; // The size with the redzone.
41 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 void __asan_poison_stack_memory(uptr addr, uptr size);
67 void __asan_unpoison_stack_memory(uptr add
[all...]
H A Dasan_allocator.h31 static const uptr kNumberOfSizeClasses = 255;
42 uptr Beg(); // First byte of user memory.
43 uptr End(); // Last byte of user memory.
44 uptr UsedSize(); // Size requested by the user.
45 uptr AllocTid();
46 uptr FreeTid();
50 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) {
57 bool AddrIsAtLeft(uptr addr, uptr access_siz
[all...]
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stacktrace.h20 static const uptr kStackTraceMax = 256;
35 uptr top_frame_bp;
36 uptr size;
37 uptr trace[kStackTraceMax];
40 static void PrintStack(const uptr *addr, uptr size);
45 void CopyFrom(const uptr *src, uptr src_size) {
49 for (uptr i = 0; i < size; i++)
65 void Unwind(uptr max_dept
[all...]
H A Dsanitizer_allocator_interface.h19 using __sanitizer::uptr;
23 uptr __sanitizer_get_estimated_allocated_size(uptr size);
25 SANITIZER_INTERFACE_ATTRIBUTE uptr
27 SANITIZER_INTERFACE_ATTRIBUTE uptr __sanitizer_get_current_allocated_bytes();
28 SANITIZER_INTERFACE_ATTRIBUTE uptr __sanitizer_get_heap_size();
29 SANITIZER_INTERFACE_ATTRIBUTE uptr __sanitizer_get_free_bytes();
30 SANITIZER_INTERFACE_ATTRIBUTE uptr __sanitizer_get_unmapped_bytes();
33 /* OPTIONAL */ void __sanitizer_malloc_hook(void *ptr, uptr size);
H A Dsanitizer_procmaps.h26 uptr mmaped_size;
27 uptr len;
35 bool Next(uptr *start, uptr *end, uptr *offset,
36 char filename[], uptr filename_size, uptr *protection);
44 uptr DumpListOfModules(LoadedModule *modules, uptr max_modules,
48 static const uptr kProtectionRea
[all...]
H A Dsanitizer_libc.h28 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_bzero_aligned16(void *s, uptr n);
35 void *internal_memset(void *s, int c, uptr n);
39 uptr internal_strcspn(const char *s, const char *reject);
41 uptr internal_strlen(const char *s);
42 char *internal_strncat(char *dst, const char *src, uptr n);
43 int internal_strncmp(const char *s1, const char *s2, uptr
[all...]
H A Dsanitizer_syscall_generic.inc26 bool internal_iserror(uptr retval, int *rverrno) {
27 if (retval == (uptr)-1) {
H A Dsanitizer_tls_get_addr.h40 uptr beg, size;
43 uptr dtv_size;
47 uptr last_memalign_size;
48 uptr last_memalign_ptr;
54 void DTLS_on_libc_memalign(void *ptr, uptr size);
H A Dsanitizer_stacktrace.cc20 uptr StackTrace::GetPreviousInstructionPc(uptr pc) {
35 uptr StackTrace::GetCurrentPc() {
39 void StackTrace::FastUnwindStack(uptr pc, uptr bp,
40 uptr stack_top, uptr stack_bottom,
41 uptr max_depth) {
52 IsAligned((uptr)frame, sizeof(*frame)) &&
56 trace[size++] = (uptr) pc
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_stack_trace.h31 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...]
H A Dtsan_platform_windows.cc24 uptr GetShadowMemoryConsumption() {
31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
34 uptr GetRSS() {
H A Dtsan_fd.h42 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 p
[all...]
H A Dtsan_symbolize.h23 ReportStack *SymbolizeCode(uptr addr);
24 ReportLocation *SymbolizeData(uptr addr);
27 ReportStack *NewReportStackEntry(uptr addr);
H A Dtsan_sync.h31 uptr addr; // overwritten by DenseSlabAlloc freelist
49 void Init(ThreadState *thr, uptr pc, uptr addr, u64 uid);
60 static uptr SplitId(u64 id, u64 *uid) {
62 return (uptr)GetLsb(id, 47);
74 void AllocBlock(ThreadState *thr, uptr pc, uptr p, uptr sz);
75 uptr FreeBlock(ThreadState *thr, uptr p
[all...]
H A Dtsan_platform.h74 static const uptr kLinuxAppMemBeg = 0x000000000000ULL;
75 static const uptr kLinuxAppMemEnd = 0x04dfffffffffULL;
77 static const uptr kLinuxShadowMsk = 0x010000000000ULL;
78 static const uptr kMetaShadow = 0x076000000000ULL;
79 static const uptr kMetaSize = 0x007000000000ULL;
81 static const uptr kLinuxShadowMsk = 0x200000000000ULL;
82 static const uptr kMetaShadow = 0x300000000000ULL;
83 static const uptr kMetaSize = 0x100000000000ULL;
86 static const uptr kMetaShadow = 0x300000000000ULL;
87 static const uptr kMetaSiz
[all...]
H A Dtsan_ignoreset.h23 static const uptr kMaxSize = 16;
28 uptr Size() const;
29 u32 At(uptr i) const;
32 uptr size_;
/external/compiler-rt/lib/lsan/
H A Dlsan_allocator.h23 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);
H A Dlsan_common.h41 uptr pointer_alignment() const {
42 return use_unaligned ? 1 : sizeof(uptr);
86 uptr hit_count;
87 uptr total_size;
95 uptr addr;
96 uptr size;
103 void AddLeakedChunk(uptr chunk, u32 stack_trace_id, uptr leaked_size,
105 void ReportTopLeaks(uptr max_leaks);
108 uptr UnsuppressedLeakCoun
[all...]
H A Dlsan_thread.h27 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 ui
[all...]
/external/compiler-rt/lib/interception/
H A Dinterception_win.h26 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))
H A Dinterception_linux.cc21 bool GetRealFunctionAddress(const char *func_name, uptr *func_addr,
22 uptr real, uptr wrapper) {
23 *func_addr = (uptr)dlsym(RTLD_NEXT, func_name);
/external/compiler-rt/lib/msan/
H A Dmsan_allocator.h22 uptr quarantine_cache[16];
24 ALIGNED(8) uptr allocator_cache[96 * (512 * 8 + 16)]; // Opaque.

Completed in 2183 milliseconds

123456789