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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | src/trusted/validator_arm/model.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * Minimal ARM sandbox constants. 8 * Minimal ARM sandbox constants.
9 * 9 *
10 * These constants are used in C code as well as assembly, hence the use of 10 * These constants are used in C code as well as assembly, hence the use of
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #define NACL_INSTR_ARM_ABORT_NOW 0xE7FEDEF0 60 #define NACL_INSTR_ARM_ABORT_NOW 0xE7FEDEF0
61 61
62 /* 62 /*
63 * UDF #0xEDE1: always fail validation. 63 * UDF #0xEDE1: always fail validation.
64 * 64 *
65 * It's guaranteed to always fail, and can be used to initialize buffers 65 * It's guaranteed to always fail, and can be used to initialize buffers
66 * that are expected to be filled later. 66 * that are expected to be filled later.
67 */ 67 */
68 #define NACL_INSTR_ARM_FAIL_VALIDATION 0xE7FEDEF1 68 #define NACL_INSTR_ARM_FAIL_VALIDATION 0xE7FEDEF1
69 69
70 /*
71 * NOP.
72 *
73 * This NOP encoding is the newer NOP instead of being the one that aliases
74 * to MOV. Note: It can actually decrease performance compared to MOV.
75 */
76 #define NACL_INSTR_ARM_NOP 0xE320F000
77
70 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ARM_SANDBOX_H_ */ 78 #endif /* NATIVE_CLIENT_SRC_INCLUDE_ARM_SANDBOX_H_ */
OLDNEW
« 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