Page MenuHomePhabricator

[hwasan] Fix TestCases/thread-uaf.c.

Authored by eugenis on Oct 14 2021, 2:30 PM.



On newer glibc, this test detects an extra match somewhere under
pthread_getattr_np. This results in Thread: lines getting spread out in
the report and failing to match the CHECKs.

Fix the CHECKs to allow this possibility.

Diff Detail

Event Timeline

eugenis requested review of this revision.Oct 14 2021, 2:30 PM
eugenis created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptOct 14 2021, 2:30 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
fmayer accepted this revision.Oct 14 2021, 2:32 PM


This revision is now accepted and ready to land.Oct 14 2021, 2:32 PM
This revision was landed with ongoing or failed builds.Oct 14 2021, 3:03 PM
This revision was automatically updated to reflect the committed changes.