forked from OSchip/llvm-project
parent
ab62b59a76
commit
5d26313ce0
|
@ -120,7 +120,8 @@ static void InitializeFlags() {
|
|||
#if HWASAN_CONTAINS_UBSAN
|
||||
ubsan_parser.ParseString(GetEnv("UBSAN_OPTIONS"));
|
||||
#endif
|
||||
VPrintf(1, "HWASAN_OPTIONS: %s\n", hwasan_options ? hwasan_options : "<empty>");
|
||||
VPrintf(1, "HWASAN_OPTIONS: %s\n",
|
||||
hwasan_options ? hwasan_options : "<empty>");
|
||||
|
||||
InitializeCommonFlags();
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_allocator.h ----------------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_allocator.h --------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_flags.h --------------------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_flags.h ------------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_interceptors.cc ----------------------------------------------===//
|
||||
//===-- hwasan_interceptors.cc --------------------------------------------===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
@ -132,7 +132,8 @@ static void *AllocateFromLocalPool(uptr size_in_bytes) {
|
|||
extern "C" SANITIZER_INTERFACE_ATTRIBUTE RET __sanitizer_##FN(ARGS) \
|
||||
ALIAS(WRAPPER_NAME(FN));
|
||||
|
||||
SANITIZER_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment, SIZE_T size);
|
||||
SANITIZER_ALIAS(int, posix_memalign, void **memptr, SIZE_T alignment,
|
||||
SIZE_T size);
|
||||
SANITIZER_ALIAS(void *, memalign, SIZE_T alignment, SIZE_T size);
|
||||
SANITIZER_ALIAS(void *, aligned_alloc, SIZE_T alignment, SIZE_T size);
|
||||
SANITIZER_ALIAS(void *, __libc_memalign, SIZE_T alignment, SIZE_T size);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_interface_internal.h -------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_interface_internal.h -----------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_poisoning.cc ---------------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_poisoning.cc -------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_poisoning.h ----------------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_poisoning.h --------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
|
@ -191,7 +191,8 @@ void ReportTagMismatch(StackTrace *stack, uptr tagged_addr, uptr access_size,
|
|||
tag_t mem_tag = *tag_ptr;
|
||||
Printf("%s", d.Access());
|
||||
Printf("%s of size %zu at %p tags: %02x/%02x (ptr/mem)\n",
|
||||
is_store ? "WRITE" : "READ", access_size, untagged_addr, ptr_tag, mem_tag);
|
||||
is_store ? "WRITE" : "READ", access_size, untagged_addr, ptr_tag,
|
||||
mem_tag);
|
||||
Printf("%s", d.Default());
|
||||
|
||||
stack->Print();
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
//===-- hwasan_thread.h -------------------------------------------*- C++ -*-===//
|
||||
//===-- hwasan_thread.h -----------------------------------------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue