Page MenuHomePhabricator

[scudo][standalone] Introduce the SizeClassMap

Authored by cryptoad on Wed, Apr 24, 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.Wed, Apr 24, 1:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptWed, Apr 24, 1:17 PM
Herald added subscribers: Restricted Project, delcypher, mgorny, srhines. · View Herald Transcript
cryptoad updated this revision to Diff 196524.Wed, Apr 24, 2:46 PM

Correct comment & a format string.

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