/external/llvm-project/compiler-rt/lib/asan/ |
D | asan_globals_win.cpp | 21 ALIGNED(sizeof(__asan_global)) __asan_global __asan_globals_start = {}; 23 ALIGNED(sizeof(__asan_global)) __asan_global __asan_globals_end = {}; 26 static void call_on_globals(void (*hook)(__asan_global *, uptr)) { in call_on_globals() argument 27 __asan_global *start = &__asan_globals_start + 1; in call_on_globals() 28 __asan_global *end = &__asan_globals_end; in call_on_globals() 30 if (bytediff % sizeof(__asan_global) != 0) { in call_on_globals()
|
D | asan_globals.cpp | 31 typedef __asan_global Global; 78 static bool IsAddressNearGlobal(uptr addr, const __asan_global &g) { in IsAddressNearGlobal() 289 void PrintGlobalNameIfASCII(InternalScopedString *str, const __asan_global &g) { in PrintGlobalNameIfASCII() 299 static const char *GlobalFilename(const __asan_global &g) { in GlobalFilename() 307 void PrintGlobalLocation(InternalScopedString *str, const __asan_global &g) { in PrintGlobalLocation() 340 CHECK_EQ(0, ((uptr)stop - (uptr)start) % sizeof(__asan_global)); in __asan_register_elf_globals() 341 __asan_global *globals_start = (__asan_global*)start; in __asan_register_elf_globals() 342 __asan_global *globals_stop = (__asan_global*)stop; in __asan_register_elf_globals() 350 CHECK_EQ(0, ((uptr)stop - (uptr)start) % sizeof(__asan_global)); in __asan_unregister_elf_globals() 351 __asan_global *globals_start = (__asan_global*)start; in __asan_unregister_elf_globals() [all …]
|
D | asan_report.h | 33 int GetGlobalsForAddress(uptr addr, __asan_global *globals, u32 *reg_sites, 37 void PrintGlobalNameIfASCII(InternalScopedString *str, const __asan_global &g); 38 void PrintGlobalLocation(InternalScopedString *str, const __asan_global &g); 87 void ReportODRViolation(const __asan_global *g1, u32 stack_id1, 88 const __asan_global *g2, u32 stack_id2);
|
D | asan_mac.cpp | 82 __asan_global *globals = (__asan_global *)getsectiondata( in AsanApplyToGlobals() 88 if (size % sizeof(__asan_global) != 0) return; in AsanApplyToGlobals() 89 op(globals, size / sizeof(__asan_global)); in AsanApplyToGlobals()
|
D | asan_interface_internal.h | 48 struct __asan_global { struct 77 void __asan_register_globals(__asan_global *globals, uptr n); argument 79 void __asan_unregister_globals(__asan_global *globals, uptr n);
|
D | asan_errors.h | 335 __asan_global global1, global2; 339 ErrorODRViolation(u32 tid, const __asan_global *g1, u32 stack_id1_, in ErrorODRViolation() 340 const __asan_global *g2, u32 stack_id2_) in ErrorODRViolation()
|
D | asan_internal.h | 103 typedef void (*globals_op_fptr)(__asan_global *, uptr);
|
D | asan_descriptions.cpp | 278 const __asan_global &g) { in DescribeAddressRelativeToGlobal() 342 const __asan_global &a = globals[i]; in PointsInsideTheSameVariable() 344 const __asan_global &b = other.globals[j]; in PointsInsideTheSameVariable()
|
D | asan_descriptions.h | 153 __asan_global globals[kMaxGlobals];
|
D | asan_report.cpp | 355 void ReportODRViolation(const __asan_global *g1, u32 stack_id1, in ReportODRViolation() 356 const __asan_global *g2, u32 stack_id2) { in ReportODRViolation()
|
/external/compiler-rt/lib/asan/ |
D | asan_report.h | 38 int GetGlobalsForAddress(uptr addr, __asan_global *globals, u32 *reg_sites, 76 void ReportODRViolation(const __asan_global *g1, u32 stack_id1, 77 const __asan_global *g2, u32 stack_id2);
|
D | asan_mac.cc | 86 __asan_global *globals = (__asan_global *)getsectiondata( in AsanApplyToGlobals() 92 if (size % sizeof(__asan_global) != 0) return; in AsanApplyToGlobals() 93 op(globals, size / sizeof(__asan_global)); in AsanApplyToGlobals()
|
D | asan_globals.cc | 31 typedef __asan_global Global; 78 static bool IsAddressNearGlobal(uptr addr, const __asan_global &g) { in IsAddressNearGlobal() 307 void __asan_register_globals(__asan_global *globals, uptr n) { in __asan_register_globals() 328 void __asan_unregister_globals(__asan_global *globals, uptr n) { in __asan_unregister_globals()
|
D | asan_interface_internal.h | 47 struct __asan_global { struct 71 void __asan_register_globals(__asan_global *globals, uptr n); argument 73 void __asan_unregister_globals(__asan_global *globals, uptr n);
|
D | asan_report.cc | 262 const __asan_global &g) { in PrintGlobalNameIfASCII() 272 static const char *GlobalFilename(const __asan_global &g) { in GlobalFilename() 282 const __asan_global &g) { in PrintGlobalLocation() 293 const __asan_global &g) { in DescribeAddressRelativeToGlobal() 322 __asan_global globals[kMaxGlobalsInReport]; in DescribeAddressIfGlobal() 964 void ReportODRViolation(const __asan_global *g1, u32 stack_id1, in ReportODRViolation() 965 const __asan_global *g2, u32 stack_id2) { in ReportODRViolation()
|
D | asan_internal.h | 83 typedef void (*globals_op_fptr)(__asan_global *, uptr);
|