2 # Sample test to see if we recognize multiple REX prefixes (40 and 41 below).
3 # Instruction is: add %r11d, %eax
6 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
7 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
8 VALIDATOR: Checking jump targets: 0 to 4
9 VALIDATOR: Checking that basic blocks are aligned
10 *** <input> IS UNSAFE ***
12 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
13 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
14 VALIDATOR: Checking jump targets: 0 to 4
15 VALIDATOR: Checking that basic blocks are aligned
16 *** <input> IS UNSAFE ***
18 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
19 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
20 VALIDATOR: Checking block alignment and jump targets: 0 to 4
21 *** <input> IS UNSAFE ***
23 VALIDATOR: 0000000000000000: 40 41 01 c3 add %r11d, %eax
24 VALIDATOR: ERROR: Multiple use of REX prefix not allowed
25 VALIDATOR: Checking jump targets: 0 to 4
26 VALIDATOR: Checking that basic blocks are aligned
27 *** <input> IS UNSAFE ***
29 0000000000000000: 40 41 01 c3 add %r11d, %eax
31 0000000000000000: 40 41 01 c3 add %r11d, %eax
33 0: [0] unrecognized instruction