Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Unified Diff: src/trusted/validator_ragel/dfa_validate_64.c

Issue 1276543006: Experimental: Bundle revalidation inside user callback Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fix error checking Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/trusted/validator_ragel/dfa_validate_32.c ('k') | src/trusted/validator_ragel/dfa_validate_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator_ragel/dfa_validate_64.c
diff --git a/src/trusted/validator_ragel/dfa_validate_64.c b/src/trusted/validator_ragel/dfa_validate_64.c
index f91d36fe95be581edacec83c3c3a303e2dec2f6e..b5f466dba9b25c48d0b33eb19d1d49cd3363fa1a 100644
--- a/src/trusted/validator_ragel/dfa_validate_64.c
+++ b/src/trusted/validator_ragel/dfa_validate_64.c
@@ -40,8 +40,12 @@ static NaClValidationStatus ApplyDfaValidator_x86_64(
enum NaClValidationStatus status = NaClValidationFailed;
void *query = NULL;
struct StubOutCallbackData callback_data;
+
callback_data.flags = flags;
callback_data.did_rewrite = 0;
+ callback_data.chunk_processed_as_a_contiguous_stream = 0;
+ callback_data.bundle_begin_offset = (intptr_t) data & kBundleMask;
+ callback_data.cpu_features = cpu_features;
UNREFERENCED_PARAMETER(guest_addr);
if (stubout_mode)
« no previous file with comments | « src/trusted/validator_ragel/dfa_validate_32.c ('k') | src/trusted/validator_ragel/dfa_validate_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698