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

Unified Diff: src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c

Issue 10134056: Refactor the process of choosing validators. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: tweaks for win64 Created 8 years, 6 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/ncval_seg_sfi/ncvalidate.c
diff --git a/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c b/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
index dbc3fb277061932b61da090cb2a8b4ff73cc570c..cfd06516fbe01d7fcef36e563d3858fda7e6f117 100644
--- a/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
+++ b/src/trusted/validator/x86/ncval_seg_sfi/ncvalidate.c
@@ -1010,7 +1010,8 @@ int NCValidateSegmentPair(uint8_t *mbase_old, uint8_t *mbase_new,
NCDecoderStatePairConstruct(&pair,
&old_vstate->dstate,
- &new_vstate->dstate);
+ &new_vstate->dstate,
+ NULL); /* copy_func */
pair.action_fn = ValidateInstReplacement;
if (NCDecoderStatePairDecode(&pair)) {
result = 1;

Powered by Google App Engine
This is Rietveld 408576698