HomeSort by relevance Sort by last modified time
    Searched refs:uptr (Results 1 - 25 of 245) sorted by null

1 2 3 4 5 6 7 8 910

  /external/compiler-rt/lib/asan/
asan_fake_stack.h 24 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_log)
    [all...]
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 reallocs
    [all...]
asan_report.h 22 uptr beg;
23 uptr size;
25 uptr name_len;
30 uptr name_size;
31 uptr region_address;
32 uptr region_size;
38 int GetGlobalsForAddress(uptr addr, __asan_global *globals, u32 *reg_sites,
40 bool GetInfoForAddressIfGlobal(uptr addr, AddressDescription *descr);
43 void DescribeHeapAddress(uptr addr, uptr access_size)
    [all...]
asan_interface_internal.h 25 using __sanitizer::uptr;
48 uptr beg; // The address of the global.
49 uptr size; // The original size of the global.
50 uptr size_with_redzone; // The size with the redzone.
54 uptr has_dynamic_init; // Non-zero if the global has dynamic initializer.
62 void __asan_register_globals(__asan_global *globals, uptr n);
64 void __asan_unregister_globals(__asan_global *globals, uptr n);
78 void __asan_poison_stack_memory(uptr addr, uptr size);
80 void __asan_unpoison_stack_memory(uptr addr, uptr size)
    [all...]
asan_allocator.h 54 uptr Beg(); // First byte of user memory.
55 uptr End(); // Last byte of user memory.
56 uptr UsedSize(); // Size requested by the user.
57 uptr AllocTid();
58 uptr FreeTid();
62 bool AddrIsInside(uptr addr, uptr access_size, sptr *offset) {
69 bool AddrIsAtLeft(uptr addr, uptr access_size, sptr *offset) {
77 bool AddrIsAtRight(uptr addr, uptr access_size, sptr *offset)
    [all...]
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_procmaps.h 26 uptr mmaped_size;
27 uptr len;
38 bool Next(uptr *start, uptr *end, uptr *offset,
39 char filename[], uptr filename_size, uptr *protection);
47 uptr DumpListOfModules(LoadedModule *modules, uptr max_modules,
51 static const uptr kProtectionRead = 1
    [all...]
sanitizer_tls_get_addr.h 40 uptr beg, size;
43 uptr dtv_size;
47 uptr last_memalign_size;
48 uptr last_memalign_ptr;
53 DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res, uptr static_tls_begin,
54 uptr static_tls_end);
55 void DTLS_on_libc_memalign(void *ptr, uptr size);
sanitizer_allocator_interface.h 19 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);
sanitizer_stacktrace.h 40 const uptr *trace;
50 StackTrace(const uptr *trace, u32 size) : trace(trace), size(size), tag(0) {}
51 StackTrace(const uptr *trace, u32 size, u32 tag)
65 static uptr GetCurrentPc();
66 static inline uptr GetPreviousInstructionPc(uptr pc);
67 static uptr GetNextInstructionPc(uptr pc);
74 uptr StackTrace::GetPreviousInstructionPc(uptr pc)
    [all...]
sanitizer_libc.h 30 void *internal_memchr(const void *s, int c, uptr n);
31 void *internal_memrchr(const void *s, int c, uptr n);
32 int internal_memcmp(const void* s1, const void* s2, uptr n);
33 void *internal_memcpy(void *dest, const void *src, uptr n);
34 void *internal_memmove(void *dest, const void *src, uptr n);
36 void internal_bzero_aligned16(void *s, uptr n);
38 void *internal_memset(void *s, int c, uptr n);
42 uptr internal_strcspn(const char *s, const char *reject);
44 char *internal_strndup(const char *s, uptr n);
45 uptr internal_strlen(const char *s)
    [all...]
sanitizer_posix.h 29 uptr internal_open(const char *filename, int flags);
30 uptr internal_open(const char *filename, int flags, u32 mode);
31 uptr internal_close(fd_t fd);
33 uptr internal_read(fd_t fd, void *buf, uptr count);
34 uptr internal_write(fd_t fd, const void *buf, uptr count);
37 uptr internal_mmap(void *addr, uptr length, int prot, int flags,
39 uptr internal_munmap(void *addr, uptr length)
    [all...]
sanitizer_stacktrace.cc 20 uptr StackTrace::GetNextInstructionPc(uptr pc) {
30 uptr StackTrace::GetCurrentPc() {
34 void BufferedStackTrace::Init(const uptr *pcs, uptr cnt, uptr extra_top_pc) {
44 static inline bool IsValidFrame(uptr frame, uptr stack_top, uptr stack_bottom) {
51 static inline uhwptr *GetCanonicFrame(uptr bp
    [all...]
sanitizer_symbolizer.h 30 uptr address;
33 uptr module_offset;
35 static const uptr kUnknown = ~(uptr)0;
37 uptr function_offset;
46 void FillModuleInfo(const char *mod_name, uptr mod_offset);
53 static SymbolizedStack *New(uptr addr);
67 uptr module_offset;
69 uptr start;
70 uptr size
    [all...]
  /external/compiler-rt/lib/tsan/rtl/
tsan_platform_windows.cc 24 uptr GetShadowMemoryConsumption() {
31 void WriteMemoryProfile(char *buf, uptr buf_size, uptr nthread, uptr nlive) {
tsan_stack_trace.h 24 uptr *trace_buffer; // Owned.
28 void Init(const uptr *pcs, uptr cnt, uptr extra_top_pc = 0);
31 void ResizeBuffer(uptr new_size);
tsan_sync.h 31 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 pc, uptr p)
    [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, bool write = true);
46 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
47 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
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_symbolize.h 23 SymbolizedStack *SymbolizeCode(uptr addr);
24 ReportLocation *SymbolizeData(uptr addr);
27 ReportStack *NewReportStackEntry(uptr addr);
tsan_interface_inl.h 17 #define CALLERPC ((uptr)__builtin_return_address(0))
22 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1);
26 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2);
30 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4);
34 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
38 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1);
42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2);
46 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4);
50 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
54 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog1)
    [all...]
  /external/compiler-rt/lib/dfsan/
dfsan_platform.h 22 static const uptr kShadowAddr = 0x10000;
23 static const uptr kUnionTableAddr = 0x200000000000;
24 static const uptr kAppAddr = 0x700000008000;
25 static const uptr kShadowMask = ~0x700000000000;
29 static const uptr kShadowAddr = 0x10000;
30 static const uptr kUnionTableAddr = 0x2000000000;
31 static const uptr kAppAddr = 0xF000008000;
32 static const uptr kShadowMask = ~0xF000000000;
36 static const uptr kShadowAddr = 0x10000;
37 static const uptr kUnionTableAddr = 0x1000000000
    [all...]
  /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(const void *p);
33 void GetAllocatorCacheRange(uptr *begin, uptr *end);
lsan_common.h 52 uptr pointer_alignment() const {
53 return use_unaligned ? 1 : sizeof(uptr);
63 uptr hit_count;
64 uptr total_size;
72 uptr addr;
73 uptr size;
80 void AddLeakedChunk(uptr chunk, u32 stack_trace_id, uptr leaked_size,
82 void ReportTopLeaks(uptr max_leaks);
85 uptr UnsuppressedLeakCount()
    [all...]
  /external/compiler-rt/lib/msan/
msan_poisoning.h 22 u32 GetOriginIfPoisoned(uptr addr, uptr size);
27 void SetOriginIfPoisoned(uptr addr, uptr src_shadow, uptr size, u32 src_origin);
32 void CopyOrigin(const void *dst, const void *src, uptr size, StackTrace *stack);
36 void MoveShadowAndOrigin(const void *dst, const void *src, uptr size,
41 void CopyShadowAndOrigin(const void *dst, const void *src, uptr size,
46 void CopyMemory(void *dst, const void *src, uptr size, StackTrace *stack);
49 void SetShadow(const void *ptr, uptr size, u8 value)
    [all...]
msan_allocator.h 22 uptr quarantine_cache[16];
24 ALIGNED(8) uptr allocator_cache[96 * (512 * 8 + 16)]; // Opaque.
  /external/compiler-rt/lib/interception/
interception_win.h 29 bool OverrideFunction(uptr old_func, uptr new_func, uptr *orig_old_func = 0);
32 bool OverrideFunction(const char *name, uptr new_func, uptr *orig_old_func = 0);
35 uptr InternalGetProcAddress(void *module, const char *func_name);
42 (::__interception::uptr)WRAP(func), \
43 (::__interception::uptr *)&REAL(func))
46 ::__interception::OverrideFunction((::__interception::uptr)func, \
47 (::__interception::uptr)WRAP(func),
    [all...]

Completed in 414 milliseconds

1 2 3 4 5 6 7 8 910