| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2011 The Native Client Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 # Flags defining reasons that Native Client rejects instructions, | |
| 6 # for better error reporting. | |
| 7 | |
| 8 # Flag defining when there more prefix bytes than allowed by Native Client | |
| 9 NaClTooManyPrefixBytes | |
| 10 | |
| 11 # Flag defining that instruction has been marked as illegal in Native | |
| 12 # Client | |
| 13 NaClMarkedIllegal | |
| 14 | |
| 15 # Flag defining that the instruction opcode sequence has been marked as | |
| 16 # invalid in Native Client | |
| 17 NaClMarkedInvalid | |
| 18 | |
| 19 # Flag defining that the instruction is a system instruction, and hence | |
| 20 # not allowed in Native Client | |
| 21 NaClMarkedSystem | |
| 22 | |
| 23 # Flag defining that the instruction uses a segment prefix byte, which isn't | |
| 24 # allowed by by Native Client in 64-bit executables. | |
| 25 NaClHasBadSegmentPrefix | |
| 26 | |
| 27 # Flag defining that 67 prefix (address 16) flag was found. | |
| 28 NaClCantUsePrefix67 | |
| 29 | |
| 30 # Flag defining that instruction has multiple REX prefixes. | |
| 31 NaClMultipleRexPrefix | |
| 32 | |
| 33 # Flag defining that instruction has REP prefix but isn't allowed. | |
| 34 NaClRepDisallowed | |
| 35 | |
| 36 # Flag defining that instruction has REPNE prefix but isn't allowed. | |
| 37 NaClRepneDisallowed | |
| 38 | |
| 39 # Flag defining that instruction has 66 prefix (data 16) flag but isn't allowed. | |
| 40 NaClData16Disallowed | |
| 41 | |
| 42 # Flag defining that the same prefix is used more than once in the instruction. | |
| 43 NaClHasDuplicatePrefix | |
| 44 | |
| 45 # Flag defining that more than one segment prefix has been specified. | |
| 46 NaClHasAmbigSegmentPrefixes | |
| 47 | |
| 48 # Flag defining that the REX prefix is not located last. | |
| 49 NaClRexPrefixNotLast | |
| OLD | NEW |