It's a cross of calloc and realloc. Sanitizers implement calloc-like check for size
overflow.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 30971 Build 30970: arc lint + arc unit
Paths
| Differential D61108
[sanitizer] Implement reallocarray. ClosedPublic Authored by eugenis on Apr 24 2019, 6:17 PM.
Details Summary It's a cross of calloc and realloc. Sanitizers implement calloc-like check for size
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 24 2019, 6:17 PM This revision is now accepted and ready to land.Apr 25 2019, 10:25 AM Closed by commit rL359708: [sanitizer] Implement reallocarray. (authored by eugenis). · Explain WhyMay 1 2019, 10:31 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 196562 compiler-rt/include/sanitizer/hwasan_interface.h
compiler-rt/lib/asan/asan_allocator.h
compiler-rt/lib/asan/asan_allocator.cc
compiler-rt/lib/asan/asan_errors.h
compiler-rt/lib/asan/asan_errors.cc
compiler-rt/lib/asan/asan_malloc_linux.cc
compiler-rt/lib/asan/asan_report.h
compiler-rt/lib/asan/asan_report.cc
compiler-rt/lib/hwasan/hwasan.h
compiler-rt/lib/hwasan/hwasan_allocator.cpp
compiler-rt/lib/hwasan/hwasan_interceptors.cpp
compiler-rt/lib/hwasan/hwasan_interface_internal.h
compiler-rt/lib/lsan/lsan_allocator.h
compiler-rt/lib/lsan/lsan_allocator.cc
compiler-rt/lib/lsan/lsan_interceptors.cc
compiler-rt/lib/msan/msan.h
compiler-rt/lib/msan/msan_allocator.cc
compiler-rt/lib/msan/msan_interceptors.cc
compiler-rt/lib/sanitizer_common/sanitizer_allocator.cc
compiler-rt/lib/sanitizer_common/sanitizer_allocator_internal.h
compiler-rt/lib/sanitizer_common/sanitizer_allocator_report.h
compiler-rt/lib/sanitizer_common/sanitizer_allocator_report.cc
compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
compiler-rt/lib/tsan/rtl/tsan_mman.h
compiler-rt/lib/tsan/rtl/tsan_mman.cc
compiler-rt/test/hwasan/TestCases/realloc-test.cc
compiler-rt/test/hwasan/TestCases/sanitizer_malloc.cc
compiler-rt/test/hwasan/TestCases/sizes.cpp
compiler-rt/test/sanitizer_common/TestCases/reallocarray-overflow.cc
|