GaloisInc / dismantle

A library of assemblers and disassemblers derived from LLVM TableGen data
24 stars 5 forks source link

[dismantle-arm-xml]: Collate the warning output into a collection of errata for the ARM XML spec #15

Open danmatichuk opened 4 years ago

danmatichuk commented 4 years ago

There are two sources of decoding information in the ARM XML spec: the individual xml files for each instruction family and two "encodings" files: one for each instruction set.

Currently the xml backend for dismantle reads both of these to build a decoding table, and throws warnings when inconsistencies are found between them (deferring to the mask specification in the instruction set file in this case).

Each of these warnings indicates an issue with the spec, however, and should be reported as such.