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

Unified Diff: src/trusted/validator_x86/ncenuminsts_x86_64.c

Issue 10024039: Replace kind variable from validator API with Boolean stubout parameter. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Edits Created 8 years, 8 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
Index: src/trusted/validator_x86/ncenuminsts_x86_64.c
diff --git a/src/trusted/validator_x86/ncenuminsts_x86_64.c b/src/trusted/validator_x86/ncenuminsts_x86_64.c
index f315031c866197349110868d767c77cf9fb1bca8..9d1b62e1d71b93c21c9c98e0c8549f5fc472ac29 100644
--- a/src/trusted/validator_x86/ncenuminsts_x86_64.c
+++ b/src/trusted/validator_x86/ncenuminsts_x86_64.c
@@ -165,8 +165,9 @@ Bool NaClSegmentValidates(uint8_t* mbase,
/* check if NaCl thinks the given code segment is valid. */
NaClSetAllCPUFeatures(&cpu_features);
status = NaCl_ApplyValidator_x86_64(
- NACL_SB_DEFAULT, NaClApplyCodeValidation, vbase, mbase, size, 32,
- FALSE, &cpu_features, NULL);
+ NACL_SB_DEFAULT, vbase, mbase, size, 32,
+ /* stubout_mode= */ FALSE, /* readonly_text= */ FALSE, &cpu_features,
+ NULL);
switch (status) {
case NaClValidationSucceeded:
return TRUE;
« src/trusted/validator/x86/32/ncvalidate.c ('K') | « src/trusted/validator_x86/ncenuminsts_x86_32.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698