#include "asan_allocator.h"
#include "asan_internal.h"
#include "asan_mapping.h"
#include "asan_poisoning.h"
#include "asan_report.h"
#include "asan_stack.h"
#include "asan_thread.h"
#include "lsan/lsan_common.h"
#include "sanitizer_common/sanitizer_allocator_checks.h"
#include "sanitizer_common/sanitizer_allocator_interface.h"
#include "sanitizer_common/sanitizer_common.h"
#include "sanitizer_common/sanitizer_errno.h"
#include "sanitizer_common/sanitizer_flags.h"
#include "sanitizer_common/sanitizer_internal_defs.h"
#include "sanitizer_common/sanitizer_list.h"
#include "sanitizer_common/sanitizer_quarantine.h"
#include "sanitizer_common/sanitizer_stackdepot.h"
__asan
namespace __lsan {
void LockAllocator() { … }
void UnlockAllocator() { … }
void GetAllocatorGlobalRange(uptr *begin, uptr *end) { … }
uptr PointsIntoChunk(void *p) { … }
uptr GetUserBegin(uptr chunk) { … }
uptr GetUserAddr(uptr chunk) { … }
LsanMetadata::LsanMetadata(uptr chunk) { … }
bool LsanMetadata::allocated() const { … }
ChunkTag LsanMetadata::tag() const { … }
void LsanMetadata::set_tag(ChunkTag value) { … }
uptr LsanMetadata::requested_size() const { … }
u32 LsanMetadata::stack_trace_id() const { … }
void ForEachChunk(ForEachChunkCallback callback, void *arg) { … }
IgnoreObjectResult IgnoreObject(const void *p) { … }
}
usingnamespace__asan;
static const void *AllocationBegin(const void *p) { … }
uptr __sanitizer_get_estimated_allocated_size(uptr size) { … }
int __sanitizer_get_ownership(const void *p) { … }
uptr __sanitizer_get_allocated_size(const void *p) { … }
uptr __sanitizer_get_allocated_size_fast(const void *p) { … }
const void *__sanitizer_get_allocated_begin(const void *p) { … }
void __sanitizer_purge_allocator() { … }
int __asan_update_allocation_context(void* addr) { … }