llvm-project/compiler-rt/lib/scudo/standalone
Petr Hosek 12e20a446e [scudo] Do not consider releasing unallocated pages
We already know that there are no free blocks above Region->AllocatedUser.
This results in a smaller RegionPageMap and faster releaseFreeMemoryToOS.

Patch By: fabio-d
Differential Revision: https://reviews.llvm.org/D138794
2022-11-30 02:34:46 +00:00
..
benchmarks
fuzz
include/scudo [scudo] Satisfy -Wstrict-prototypes 2022-07-11 10:28:38 -07:00
tests Revert "[scudo] Detect double free when running with MTE." 2022-11-21 16:57:14 -08:00
tools Use u16 to store Count/MaxCount 2022-10-13 23:35:06 +00:00
CMakeLists.txt [SCUDO] add cmake options for custom sysroot 2022-10-12 15:03:04 -07:00
allocator_config.h Reland "[scudo] Manage free blocks in BatchGroup." 2022-10-21 19:57:28 +00:00
atomic_helpers.h
bytemap.h
checksum.cpp [scudo] Add missing include for extern variable declaration 2022-03-29 14:26:15 -07:00
checksum.h [NFCI] clang-format scudo standalone 2022-05-18 14:04:04 -07:00
chunk.h [NFCI] clang-format scudo standalone 2022-05-18 14:04:04 -07:00
combined.h Revert "[scudo] Detect double free when running with MTE." 2022-11-21 16:57:14 -08:00
common.cpp
common.h
crc32_hw.cpp [NFCI] clang-format scudo standalone 2022-05-18 14:04:04 -07:00
flags.cpp
flags.h
flags.inc
flags_parser.cpp
flags_parser.h
fuchsia.cpp [scudo][NFC] Clang-format c823cbf699 2022-07-11 17:41:37 +00:00
fuchsia.h [scudo] Clean up Zircon header file uses 2022-05-27 21:39:03 -07:00
internal_defs.h [scudo] Use stdint types for internal types (redo) 2021-08-16 14:46:42 -07:00
linux.cpp Revert "[Scudo] enabling anonymous named pages on Linux 5.17 and onwards." 2022-04-05 16:38:49 +00:00
linux.h
list.h Reland "[scudo] Manage free blocks in BatchGroup." 2022-10-21 19:57:28 +00:00
local_cache.h Revert "Revert "[scudo] Support partial page releasing"" 2022-10-21 22:29:34 +00:00
memtag.h Revert "[compiler-rt][scudo] Add missing preprocessor token" and "[compiler-rt][scudo] Simplify TBI checks" 2022-05-24 11:30:31 -07:00
mutex.h
options.h
platform.h [scudo] Don't assume preprocessor macro is defined 2022-03-18 12:52:18 -07:00
primary32.h Revert "Revert "[scudo] Fix the calculating of memory group usage"" 2022-10-29 06:26:50 +00:00
primary64.h [scudo] Do not consider releasing unallocated pages 2022-11-30 02:34:46 +00:00
quarantine.h
release.cpp [scudo] Add PageReleaseContext to convey page usage status. 2022-10-13 23:35:06 +00:00
release.h [scudo] Lazy initialize the PageMap while page releasing 2022-10-28 20:29:17 +00:00
report.cpp
report.h
secondary.h [scudo] Fix definition of canCache() function 2022-03-29 14:26:15 -07:00
size_class_map.h [scudo] Fix size of MaxNumCachedHint Trusty Config 2022-10-26 18:07:22 +00:00
stack_depot.h
stats.h
string_utils.cpp scudo/standalone: prepare for enabling format string checking 2021-08-13 13:45:30 +02:00
string_utils.h scudo/standalone: prepare for enabling format string checking 2021-08-13 13:45:30 +02:00
trusty.cpp
trusty.h
tsd.h
tsd_exclusive.h [scudo] Fix static and unused function type annotations 2022-03-18 12:52:29 -07:00
tsd_shared.h
vector.h [scudo] Add [[no_unique_address]] attribute to new MapPlatformData variables 2022-07-07 13:12:55 -07:00
wrappers_c.cpp [scudo] Provide allocator declaration 2022-03-29 17:39:45 -07:00
wrappers_c.h [scudo] Provide allocator declaration 2022-03-29 17:39:45 -07:00
wrappers_c.inc [scudo] Handle mallinfo2 2021-11-16 19:29:37 -08:00
wrappers_c_bionic.cpp
wrappers_c_checks.h [scudo] Use cast on calls to __builtin_umul_overflow/__builtin_umull_overflow 2022-03-28 16:36:30 -07:00
wrappers_cpp.cpp [NFCI] clang-format scudo standalone 2022-05-18 14:04:04 -07:00