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

Side by Side Diff: src/trusted/service_runtime/sel_main_chrome.h

Issue 10070010: validator_ragel: Link into TCB, use under env var (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: . Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
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 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 7 #ifndef NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_
8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1 8 #define NATIVE_CLIENT_SRC_TRUSTED_SERVICE_RUNTIME_SEL_MAIN_CHROME_H_ 1
9 9
10 #include "native_client/src/include/nacl_base.h" 10 #include "native_client/src/include/nacl_base.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func; 52 NaClBrokerDuplicateHandleFunc broker_duplicate_handle_func;
53 53
54 /* 54 /*
55 * Callback to use for requesting that a debug exception handler be 55 * Callback to use for requesting that a debug exception handler be
56 * attached to this process for handling hardware exceptions via the 56 * attached to this process for handling hardware exceptions via the
57 * Windows debug API. The data in info/info_size must be passed to 57 * Windows debug API. The data in info/info_size must be passed to
58 * NaClDebugExceptionHandlerRun(). Optional; may be NULL. 58 * NaClDebugExceptionHandlerRun(). Optional; may be NULL.
59 */ 59 */
60 int (*attach_debug_exception_handler_func)(void *info, size_t info_size); 60 int (*attach_debug_exception_handler_func)(void *info, size_t info_size);
61 #endif 61 #endif
62
63 /* Dangerous: replace the main validator with the new DFA-based validator. */
64 int enable_dfa_validator;
Mark Seaborn 2012/04/19 22:11:39 I don't think this belongs here. Chromium does no
pasko-google - do not use 2012/04/19 22:36:27 I do not have a strong preference on flag vs. env
Nick Bray 2012/04/19 23:11:08 In general, plumbing stuff from Chrome is a pain a
pasko-google - do not use 2012/04/20 14:30:38 Yes, keeping the check high has the benefit of kee
62 }; 65 };
63 66
64 /* Create a new args struct containing default values. */ 67 /* Create a new args struct containing default values. */
65 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void); 68 struct NaClChromeMainArgs *NaClChromeMainArgsCreate(void);
66 69
67 /* Launch NaCl. */ 70 /* Launch NaCl. */
68 void NaClChromeMainStart(struct NaClChromeMainArgs *args); 71 void NaClChromeMainStart(struct NaClChromeMainArgs *args);
69 72
70 73
71 EXTERN_C_END 74 EXTERN_C_END
72 75
73 #endif 76 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698