This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho] Don't crash upon seeing uleb128 ptr encoding while parsing CIE.
AbandonedPublic

Authored by oontvoo on Aug 1 2022, 1:58 PM.

Details

Reviewers
thakis
Group Reviewers
Restricted Project
Summary

Follow up to D130804

Fixes #56576.

Diff Detail

Event Timeline

oontvoo created this revision.Aug 1 2022, 1:58 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 1 2022, 1:58 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
oontvoo requested review of this revision.Aug 1 2022, 1:58 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 1 2022, 1:58 PM
oontvoo updated this revision to Diff 449123.Aug 1 2022, 2:00 PM

formatting

int3 added a comment.Aug 1 2022, 3:23 PM

Why not parse the pointer instead of ignoring it?

(I assume you're putting this diff up because libffi also uses DW_EH_PE_uleb128?)

oontvoo planned changes to this revision.Aug 2 2022, 8:23 AM
oontvoo abandoned this revision.Aug 8 2022, 6:55 AM