llvm-6502/lib
Johnny Chen e4000595fb CPS3p: Let's reject impossible imod values by returning false from the DisassembleMiscFrm() function.
Fixed rdar://problem/9179416 ARM disassembler crash: "Unknown imod operand" (fuzz testing)

Opcode=98 Name=CPS3p Format=ARM_FORMAT_MISCFRM(26)
 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0 
-------------------------------------------------------------------------------------------------
| 1: 1: 1: 1| 0: 0: 0: 1| 0: 0: 0: 0| 0: 0: 1: 0| 0: 0: 0: 1| 1: 1: 0: 0| 1: 0: 0: 1| 0: 0: 1: 1|
-------------------------------------------------------------------------------------------------

Before:
	cpsUnknown imod operand
UNREACHABLE executed at /Volumes/data/lldb/llvm/lib/Target/ARM/InstPrinter/../ARMBaseInfo.h:123!

After:
/Volumes/data/Radar/9179416/mc-input-arm.txt:1:1: warning: invalid instruction encoding
0x93 0x1c 0x2 0xf1
^


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128192 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-24 02:24:36 +00:00
..
Analysis Revert r128140 for now. 2011-03-23 15:51:12 +00:00
Archive
AsmParser
Bitcode
CodeGen PR9535: add support for splitting and scalarizing vector ISD::FP_ROUND. 2011-03-23 22:18:48 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Runtime dylib simple ARM 24-bit branch relocation support. 2011-03-23 23:35:17 +00:00
Linker
MC Fix a bug introduced by my patch yesterday: BL is a 4-byte instructions like BLX, rather than a 2-byte instruction like B. 2011-03-23 21:19:56 +00:00
Object
Support We don't need a null terminator for the output file. 2011-03-22 19:20:47 +00:00
Target CPS3p: Let's reject impossible imod values by returning false from the DisassembleMiscFrm() function. 2011-03-24 02:24:36 +00:00
Transforms Fix PR9464 by correcting some math that just happened to be right in most cases 2011-03-23 05:25:55 +00:00
VMCore Do not accidently initialize NumDbgValueLost and NumDbgLineLost counts. 2011-03-16 00:27:57 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile