template <typename AllocatorConfig>
struct BaseConfig
Defined at line 43 of file ../../third_party/scudo/src/allocator_config_wrapper.h
Public Methods
removeConst<const bool>::type getMaySupportMemoryTagging ()
BASE_OPTIONAL(TYPE, NAME, DEFAULT)
Indicates possible support for Memory Tagging.
Defined at line 55 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getQuarantineDisabled ()
Disable the quarantine code.
Defined at line 58 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getExactUsableSize ()
If set to true, malloc_usable_size returns the exact size of the allocation.
If set to false, return the total available size in the allocation.
Defined at line 62 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getEnableZeroOnDealloc ()
Writes zeros to the memory slot when a allocation is returned to
the allocator. This decommits memory on operating systems that
detects pages full of zero."
Defined at line 68 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getAbortOnDeallocTypeMismatch ()
Abort if there is a mismatch between the function type that allocates memory
and the function type that deallocates memory.
These conditions will abort with an error message:
new/any C free operation
any C allocation operation/any delete operation
new/delete[]
new[]/delete
aligned alloc/free_sized
non-aligned alloc/free_aligned_sized
Defined at line 80 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getAbortOnDeallocSizeMismatch ()
Abort if there is free function that takes a size value but that size
does not match the allocation size.
Defined at line 84 of file ../../third_party/scudo/src/allocator_config.def
removeConst<const bool>::type getAbortOnDeallocAlignmentMismatch ()
Abort if there is free function that takes an alignment value but that
alignment does not match the allocation alignment.
Defined at line 88 of file ../../third_party/scudo/src/allocator_config.def
Records
-
class AbortOnDeallocAlignmentMismatchState -
class AbortOnDeallocAlignmentMismatchState -
class AbortOnDeallocSizeMismatchState -
class AbortOnDeallocSizeMismatchState -
class AbortOnDeallocTypeMismatchState -
class AbortOnDeallocTypeMismatchState -
class EnableZeroOnDeallocState -
class EnableZeroOnDeallocState -
class ExactUsableSizeState -
class ExactUsableSizeState -
class MaySupportMemoryTaggingState -
class MaySupportMemoryTaggingState -
class QuarantineDisabledState -
class QuarantineDisabledState