LCOV - code coverage report
Current view: directory - src/trusted/service_runtime - nacl_all_modules.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 13 13 100.0 %
Date: 2014-06-18 Functions: 0 0 -

       1                 : /*
       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
       4                 :  * found in the LICENSE file.
       5                 :  */
       6                 : 
       7                 : /*
       8                 :  * Gather ye all module initializations and finalizations here.
       9                 :  */
      10                 : #include "native_client/src/shared/srpc/nacl_srpc.h"
      11                 : #include "native_client/src/trusted/debug_stub/debug_stub.h"
      12                 : #include "native_client/src/trusted/desc/nrd_all_modules.h"
      13                 : #include "native_client/src/trusted/fault_injection/fault_injection.h"
      14                 : #include "native_client/src/trusted/service_runtime/nacl_globals.h"
      15                 : #include "native_client/src/trusted/service_runtime/nacl_syscall_handlers.h"
      16                 : #include "native_client/src/trusted/service_runtime/nacl_thread_nice.h"
      17                 : #include "native_client/src/trusted/service_runtime/nacl_tls.h"
      18                 : #include "native_client/src/trusted/service_runtime/nacl_stack_safety.h"
      19                 : 
      20                 : void  NaClAllModulesInit(void) {
      21             275 :   NaClNrdAllModulesInit();
      22             275 :   NaClFaultInjectionModuleInit();
      23             275 :   NaClGlobalModuleInit();  /* various global variables */
      24             275 :   NaClSrpcModuleInit();
      25             275 :   NaClTlsInit();
      26             275 :   NaClSyscallTableInit();
      27             275 :   NaClThreadNiceInit();
      28             275 : }
      29                 : 
      30                 : 
      31                 : void NaClAllModulesFini(void) {
      32               7 :   NaClTlsFini();
      33               7 :   NaClSrpcModuleFini();
      34               7 :   NaClGlobalModuleFini();
      35               7 :   NaClNrdAllModulesFini();
      36               7 : }

Generated by: LCOV version 1.7