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

Unified Diff: src/trusted/validator/x86/decoder/nc_inst_state_internal.h

Issue 9328024: Merge 7712 - Ensure super instructions are marked during dynamic code modification. (Closed) Base URL: svn://svn.chromium.org/native_client/branches/963/src/native_client/
Patch Set: '' Created 8 years, 10 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 | « no previous file | src/trusted/validator/x86/decoder/nc_inst_state_statics.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/validator/x86/decoder/nc_inst_state_internal.h
===================================================================
--- src/trusted/validator/x86/decoder/nc_inst_state_internal.h (revision 7726)
+++ src/trusted/validator/x86/decoder/nc_inst_state_internal.h (working copy)
@@ -102,6 +102,11 @@
* It defines the decoder tables to use to decode the instruction.
*/
struct NaClDecodeTables* decoder_tables;
+ /* True if the instruction is unchanged while dynamically replacing code.
+ * False if the instruction has changed or if code replacement is not being
+ * performed (i.e. normal validation.)
+ */
+ Bool unchanged;
};
/* Model of an instruction iterator. */
« no previous file with comments | « no previous file | src/trusted/validator/x86/decoder/nc_inst_state_statics.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698