This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Fix an invalid read for lwm32 and reserved reglist values.
ClosedPublic

Authored by dsanders on Sep 18 2015, 6:39 AM.

Details

Summary

Some values of 'reglist' are reserved and cause the disassembler to read past
the end of the Regs array. Treat lwm32's containing reserved values as invalid
instructions.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 35078.Sep 18 2015, 6:39 AM
dsanders retitled this revision from to [mips][microMIPS] Fix an invalid read for lwm32 and reserved reglist values..
dsanders updated this object.
dsanders added a reviewer: zoran.jovanovic.
dsanders added a subscriber: llvm-commits.
zoran.jovanovic accepted this revision.Sep 18 2015, 7:05 AM
zoran.jovanovic edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Sep 18 2015, 7:05 AM
dsanders closed this revision.Sep 18 2015, 7:22 AM