This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][NFC] Check section contents before registering it
ClosedPublic

Authored by Amir on Mar 6 2022, 1:53 AM.

Details

Summary

Address fuzzer crash on malformed input:

BOLT-ERROR: cannot get section contents for .dynsym: The end of the file was unexpectedly encountered.

Diff Detail

Event Timeline

Amir created this revision.Mar 6 2022, 1:53 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: ayermolo. · View Herald Transcript
Amir requested review of this revision.Mar 6 2022, 1:53 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2022, 1:53 AM
rafauler accepted this revision.Mar 7 2022, 5:12 PM

LGTM

This revision is now accepted and ready to land.Mar 7 2022, 5:12 PM
This revision was automatically updated to reflect the committed changes.