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

Unified Diff: src/include/arm_sandbox.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 | « no previous file | src/trusted/validator_arm/model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/include/arm_sandbox.h
diff --git a/src/include/arm_sandbox.h b/src/include/arm_sandbox.h
index 88b5d1e9bd6cee27a1e4ce6eb2080575b48865c0..639b9c31030728dab1eb8822f41ced671511ffb0 100644
--- a/src/include/arm_sandbox.h
+++ b/src/include/arm_sandbox.h
@@ -67,4 +67,12 @@
*/
#define NACL_INSTR_ARM_FAIL_VALIDATION 0xE7FEDEF1
+/*
+ * NOP.
+ *
+ * This NOP encoding is the newer NOP instead of being the one that aliases
+ * to MOV. Note: It can actually decrease performance compared to MOV.
+ */
+#define NACL_INSTR_ARM_NOP 0xE320F000
+
#endif /* NATIVE_CLIENT_SRC_INCLUDE_ARM_SANDBOX_H_ */
« no previous file with comments | « no previous file | src/trusted/validator_arm/model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698