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

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: 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..32a34e7b74da96e7bc2ed0c2d25173770c161c9a 100644
--- a/src/trusted/validator_x86/ncenuminsts_x86_64.c
+++ b/src/trusted/validator_x86/ncenuminsts_x86_64.c
@@ -165,8 +165,8 @@ 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,
+ FALSE, FALSE, &cpu_features, NULL);
Mark Seaborn 2012/04/10 00:57:38 Ditto
Nick Bray (chromium) 2012/04/10 18:49:20 Done.
switch (status) {
case NaClValidationSucceeded:
return TRUE;

Powered by Google App Engine
This is Rietveld 408576698