Chromium Code Reviews| 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..c60a6533ce720cbb96a221db34ab450c850d78f2 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 { |
| + int pnacl_mode; |
|
Petr Hosek
2015/07/28 19:05:46
Change to `uint32_t flags` please.
ruiq
2015/07/28 21:34:55
Done.
|
| + 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. */ |