Index: src/trusted/validator_ragel/dfa_validate_common.h |
diff --git a/src/trusted/validator_ragel/dfa_validate_common.h b/src/trusted/validator_ragel/dfa_validate_common.h |
index 4835f2006ea7b4945f440b3be0a3b35ec5cc63a9..c033907629560c4d81e1b81204e8fdd246036fea 100644 |
--- a/src/trusted/validator_ragel/dfa_validate_common.h |
+++ b/src/trusted/validator_ragel/dfa_validate_common.h |
@@ -31,10 +31,16 @@ |
Bool NaClDfaProcessValidationError(const uint8_t *begin, const uint8_t *end, |
uint32_t info, void *callback_data); |
-Bool NaClDfaStubOutCPUUnsupportedInstruction(const uint8_t *begin, |
- const uint8_t *end, |
- uint32_t info, |
- void *callback_data); |
+struct StubOutCallbackData { |
+ uint32_t flags; |
+ int did_rewrite; |
+}; |
+ |
+Bool NaClDfaStubOutUnsupportedInstruction(const uint8_t *begin, |
+ const uint8_t *end, |
+ uint32_t info, |
+ void *callback_data); |
+ |
struct CodeCopyCallbackData { |
NaClCopyInstructionFunc copy_func; |
/* Difference between addresses: dest - src. */ |