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

Unified Diff: src/trusted/validator_arm/model.h

Issue 11361222: ARM validator: fix sandbox escape with SP update at the end of the last bundle (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 8 years, 1 month 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_arm/model.h
diff --git a/src/trusted/validator_arm/model.h b/src/trusted/validator_arm/model.h
index 9d704c937a2fadfb6e9372692a6000e065d3d135..55c2f272e42011f90e934a240ce5a0f56b70c1de 100644
--- a/src/trusted/validator_arm/model.h
+++ b/src/trusted/validator_arm/model.h
@@ -286,6 +286,9 @@ static const uint32_t kHaltFill = NACL_INSTR_ARM_HALT_FILL;
static const uint32_t kAbortNow = NACL_INSTR_ARM_ABORT_NOW;
static const uint32_t kFailValidation = NACL_INSTR_ARM_FAIL_VALIDATION;
+// Not-so-special instructions.
+static const uint32_t kNop = NACL_INSTR_ARM_NOP;
Mark Seaborn 2012/11/13 00:30:18 Would it make sense for the code to refer to NACL_
JF 2012/11/13 00:49:42 It's following the pattern above of having validat
+
// Models an instruction, either a 32-bit ARM instruction of unspecified type,
// or one word (16-bit) and two word (32-bit) THUMB instructions.
//

Powered by Google App Engine
This is Rietveld 408576698