Page MenuHomePhabricator

[scudo][standalone] Introduce the SizeClassMap

Authored by cryptoad on Apr 24 2019, 1:17 PM.



As with the sanitizer_common allocator, the SCM allows for efficient
mapping between sizes and size-classes, table-free.

It doesn't depart significantly from the original, except that we
allow the use of size-class 0 for other purposes (as opposed to
chunks of size 0). The Primary will use it to hold TransferBatches.

Diff Detail

Event Timeline

cryptoad created this revision.Apr 24 2019, 1:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptApr 24 2019, 1:17 PM
Herald added subscribers: Restricted Project, delcypher, mgorny, srhines. · View Herald Transcript
cryptoad updated this revision to Diff 196524.Apr 24 2019, 2:46 PM

Correct comment & a format string.

vitalybuka accepted this revision.Apr 24 2019, 3:13 PM
This revision is now accepted and ready to land.Apr 24 2019, 3:13 PM
This revision was automatically updated to reflect the committed changes.