dyninstAPI: Pad the fixed x86 instructions
authorJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 02:15:24 +0000 (18:15 -0800)
committerJosh Stone <jistone@redhat.com>
Tue, 21 Jan 2014 02:15:24 +0000 (18:15 -0800)
commitd485638560cf4b3788ab3a6e3e35b4e18e83d5f9
tree1f5f22ba40b558918b0ef518a9cc45607dda7cbf
parentae50619c98cfa4aaadd613bd74c52ee154ca384d
dyninstAPI: Pad the fixed x86 instructions

The arrays used to generate illegal & trap instructions can be static
const, but still the analyzer doesn't see that the instruction decoder
won't actually read past their ends.  It's not a big deal to just pad
both illegalRep[] and trapRep[] to 8 bytes to be sure.

Reported by coverity as OVERRUN.
common/src/arch-x86.C
dyninstAPI/src/codegen-x86.C