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

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: Fix comments from mseaborn. 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
« no previous file with comments | « src/include/arm_sandbox.h ('k') | src/trusted/validator_arm/validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
+
// Models an instruction, either a 32-bit ARM instruction of unspecified type,
// or one word (16-bit) and two word (32-bit) THUMB instructions.
//
« no previous file with comments | « src/include/arm_sandbox.h ('k') | src/trusted/validator_arm/validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698