This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Initialize the allocator in setTrackAllocationStacks.
ClosedPublic

Authored by eugenis on Apr 29 2020, 2:48 PM.

Details

Summary

If this is called before the malloc call in a thread (or in the whole
program), the lazy initialization of the allocation can overwrite
Options.

Diff Detail

Event Timeline

eugenis created this revision.Apr 29 2020, 2:48 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 29 2020, 2:48 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cryptoad accepted this revision.Apr 29 2020, 4:03 PM
This revision is now accepted and ready to land.Apr 29 2020, 4:03 PM
This revision was automatically updated to reflect the committed changes.