This is an archive of the discontinued LLVM Phabricator instance.

[scudo] Calling iterateOverChunks requires holding lock
ClosedPublic

Authored by Chia-hungDuan on Jan 19 2023, 2:00 PM.

Details

Summary

Ensure the allocator is disabled before visiting all chunks.

Diff Detail

Event Timeline

Chia-hungDuan created this revision.Jan 19 2023, 2:00 PM
Chia-hungDuan requested review of this revision.Jan 19 2023, 2:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2023, 2:00 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
cferris requested changes to this revision.Feb 9 2023, 11:08 PM

More small changes.

compiler-rt/lib/scudo/standalone/primary32.h
211

disabling

Same for the similar comment below.

212

locking

Same for the similar comment below.

This revision now requires changes to proceed.Feb 9 2023, 11:08 PM
Chia-hungDuan marked 2 inline comments as done.

Address review comment

cferris accepted this revision.Feb 10 2023, 2:30 PM

LGTM

This revision is now accepted and ready to land.Feb 10 2023, 2:30 PM
This revision was landed with ongoing or failed builds.Feb 15 2023, 3:46 PM
This revision was automatically updated to reflect the committed changes.