Page MenuHomePhabricator

[SVE] Fix ubsan issues in DecodeIITType

Authored by david-arm on Jun 2 2020, 11:34 PM.



In an earlier patch I removed the need for
IITDescriptor::ScalableVecArgument, which involved changing
DecodeIITType to pull out the last IIT_Info from the list. However,
it turns out this is unsafe and causes ubsan failures. I've tried to
fix this a different way by simply passing the last IIT_Info as an
additional argument to DecodeIITType.

Diff Detail

Event Timeline

david-arm created this revision.Jun 2 2020, 11:34 PM
Herald added a project: Restricted Project. · View Herald Transcript
dsanders accepted this revision.Jun 3 2020, 9:26 AM


This revision is now accepted and ready to land.Jun 3 2020, 9:26 AM
This revision was automatically updated to reflect the committed changes.