LCOV - code coverage report
Current view: directory - src/trusted/sel_universal - pnacl_emu_handler.cc (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 15 0 0.0 %
Date: 2014-06-18 Functions: 0 0 -

       1                 : /*
       2                 :  * Copyright (c) 2011 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                 : #include "native_client/src/trusted/sel_universal/pnacl_emu_handler.h"
       8                 : 
       9                 : #include "native_client/src/shared/platform/nacl_log.h"
      10                 : 
      11                 : #include "native_client/src/trusted/sel_universal/parsing.h"
      12                 : #include "native_client/src/trusted/sel_universal/pnacl_emu.h"
      13                 : 
      14                 : // ======================================================================
      15               0 : bool HandlerPnaclEmuInitialize(NaClCommandLoop* ncl,
      16               0 :                                const vector<string>& args) {
      17               0 :   UNREFERENCED_PARAMETER(args);
      18               0 :   NaClLog(LOG_INFO, "HandlerPnaclEmuInitialize\n");
      19               0 :   PnaclEmulateCoordinator(ncl);
      20               0 :   return true;
      21                 : }
      22                 : 
      23               0 : bool HandlerPnaclEmuAddVarnameMapping(NaClCommandLoop* ncl,
      24               0 :                                       const vector<string>& args) {
      25               0 :   UNREFERENCED_PARAMETER(ncl);
      26               0 :   if (args.size() < 3) {
      27               0 :     NaClLog(LOG_ERROR, "not enough args\n");
      28               0 :     return false;
      29                 :   }
      30               0 :   PnaclEmulateAddKeyVarnameMapping(args[1], args[2]);
      31               0 :   return true;
      32               0 : }

Generated by: LCOV version 1.7