Index: src/trusted/validator/x86/decoder/nc_inst_state_internal.h |
=================================================================== |
--- src/trusted/validator/x86/decoder/nc_inst_state_internal.h (revision 7726) |
+++ src/trusted/validator/x86/decoder/nc_inst_state_internal.h (working copy) |
@@ -102,6 +102,11 @@ |
* It defines the decoder tables to use to decode the instruction. |
*/ |
struct NaClDecodeTables* decoder_tables; |
+ /* True if the instruction is unchanged while dynamically replacing code. |
+ * False if the instruction has changed or if code replacement is not being |
+ * performed (i.e. normal validation.) |
+ */ |
+ Bool unchanged; |
}; |
/* Model of an instruction iterator. */ |