Page MenuHomePhabricator

scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI.

Authored by pcc on Feb 10 2020, 1:43 PM.



This lets us remove two pointer indirections (one by removing the pointer,
and another by making the AllocatorPtr declaration hidden) in the C++ wrappers.

Diff Detail

Event Timeline

pcc created this revision.Feb 10 2020, 1:43 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 10 2020, 1:43 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad accepted this revision.Feb 10 2020, 1:58 PM

Thanks for doing this. I'll update the g3 code once this gets in.

This revision is now accepted and ready to land.Feb 10 2020, 1:58 PM
This revision was automatically updated to reflect the committed changes.