This is an archive of the discontinued LLVM Phabricator instance.

[obj2yaml] - Dump the content of a broken hash table properly.
ClosedPublic

Authored by grimar on Dec 24 2020, 2:07 AM.

Details

Summary

This is similar to D93760.

When something is wrong with the hash table header we dump
its context as a raw data.

Currently we have the calculation overflow issue and it is possible to
bypass the validation we have (and crash).

The patch fixes it.

Diff Detail

Event Timeline

grimar created this revision.Dec 24 2020, 2:07 AM
grimar requested review of this revision.Dec 24 2020, 2:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 24 2020, 2:07 AM
MaskRay accepted this revision.Dec 24 2020, 9:33 AM
This revision is now accepted and ready to land.Dec 24 2020, 9:33 AM