| OLD | NEW |
| 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 #include <string.h> | 7 #include <string.h> |
| 8 | 8 |
| 9 /* | 9 /* |
| 10 * NaCl Simple/secure ELF loader (NaCl SEL). | 10 * NaCl Simple/secure ELF loader (NaCl SEL). |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "native_client/src/shared/srpc/nacl_srpc.h" | 28 #include "native_client/src/shared/srpc/nacl_srpc.h" |
| 29 | 29 |
| 30 #include "native_client/src/trusted/desc/nacl_desc_base.h" | 30 #include "native_client/src/trusted/desc/nacl_desc_base.h" |
| 31 #include "native_client/src/trusted/desc/nacl_desc_conn_cap.h" | 31 #include "native_client/src/trusted/desc/nacl_desc_conn_cap.h" |
| 32 #include "native_client/src/trusted/desc/nacl_desc_imc.h" | 32 #include "native_client/src/trusted/desc/nacl_desc_imc.h" |
| 33 #include "native_client/src/trusted/desc/nacl_desc_io.h" | 33 #include "native_client/src/trusted/desc/nacl_desc_io.h" |
| 34 #include "native_client/src/trusted/desc/nrd_xfer.h" | 34 #include "native_client/src/trusted/desc/nrd_xfer.h" |
| 35 #include "native_client/src/trusted/desc_cacheability/desc_cacheability.h" | 35 #include "native_client/src/trusted/desc_cacheability/desc_cacheability.h" |
| 36 #include "native_client/src/trusted/fault_injection/fault_injection.h" | 36 #include "native_client/src/trusted/fault_injection/fault_injection.h" |
| 37 #include "native_client/src/trusted/fault_injection/test_injection.h" | 37 #include "native_client/src/trusted/fault_injection/test_injection.h" |
| 38 #include "native_client/src/trusted/gio/gio_nacl_desc.h" | |
| 39 #include "native_client/src/trusted/gio/gio_shm.h" | |
| 40 #include "native_client/src/trusted/interval_multiset/nacl_interval_range_tree_i
ntern.h" | 38 #include "native_client/src/trusted/interval_multiset/nacl_interval_range_tree_i
ntern.h" |
| 41 #include "native_client/src/trusted/service_runtime/arch/sel_ldr_arch.h" | 39 #include "native_client/src/trusted/service_runtime/arch/sel_ldr_arch.h" |
| 42 #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h
" | 40 #include "native_client/src/trusted/service_runtime/include/bits/nacl_syscalls.h
" |
| 43 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" | 41 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" |
| 44 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" | 42 #include "native_client/src/trusted/service_runtime/include/sys/stat.h" |
| 45 #include "native_client/src/trusted/service_runtime/include/sys/time.h" | 43 #include "native_client/src/trusted/service_runtime/include/sys/time.h" |
| 46 #include "native_client/src/trusted/service_runtime/nacl_app.h" | 44 #include "native_client/src/trusted/service_runtime/nacl_app.h" |
| 47 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" | 45 #include "native_client/src/trusted/service_runtime/nacl_app_thread.h" |
| 48 #include "native_client/src/trusted/service_runtime/nacl_desc_effector_ldr.h" | 46 #include "native_client/src/trusted/service_runtime/nacl_desc_effector_ldr.h" |
| 49 #include "native_client/src/trusted/service_runtime/nacl_globals.h" | 47 #include "native_client/src/trusted/service_runtime/nacl_globals.h" |
| (...skipping 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1345 nacl_global_xlate_base = mem_start; | 1343 nacl_global_xlate_base = mem_start; |
| 1346 | 1344 |
| 1347 NaClSandboxMemoryStartForValgrind(mem_start); | 1345 NaClSandboxMemoryStartForValgrind(mem_start); |
| 1348 | 1346 |
| 1349 _ovly_debug_event(); | 1347 _ovly_debug_event(); |
| 1350 } | 1348 } |
| 1351 | 1349 |
| 1352 void NaClGdbHook(struct NaClApp const *nap) { | 1350 void NaClGdbHook(struct NaClApp const *nap) { |
| 1353 StopForDebuggerInit(nap->mem_start); | 1351 StopForDebuggerInit(nap->mem_start); |
| 1354 } | 1352 } |
| OLD | NEW |