You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Untested, but it appears that sections with a type of SHT_GROUP will be parsed as SectionKind::Unknown, and written out with a sh_type set to SHT_PROGBITS.
Even with that fixed, we'll also need to translate the section contents, which contains an array of section indices.
Might be worth auditing objcopy behaviour for all unknown values. It should either read the value as some Unknown variant and then refuse to write it, or preserve the value unchanged.
The text was updated successfully, but these errors were encountered:
Untested, but it appears that sections with a type of
SHT_GROUP
will be parsed asSectionKind::Unknown
, and written out with ash_type
set toSHT_PROGBITS
.Even with that fixed, we'll also need to translate the section contents, which contains an array of section indices.
Might be worth auditing objcopy behaviour for all unknown values. It should either read the value as some
Unknown
variant and then refuse to write it, or preserve the value unchanged.The text was updated successfully, but these errors were encountered: