LCOV - code coverage report
Current view: directory - src/trusted/validator/x86 - nc_segment.c (source / functions) Found Hit Coverage
Test: coverage.lcov Lines: 5 5 100.0 %
Date: 2014-09-25 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                 :  * Defines the notion of a code segment.
       9                 :  */
      10                 : 
      11                 : #include "native_client/src/trusted/validator/x86/nc_segment.h"
      12                 : 
      13                 : void NaClSegmentInitialize(
      14                 :     uint8_t* mbase,
      15                 :     NaClPcAddress vbase,
      16                 :     NaClMemorySize size,
      17               2 :     NaClSegment* segment) {
      18               2 :   segment->mbase = mbase;
      19               2 :   segment->vbase = vbase;
      20               2 :   segment->size = size;
      21               2 : }

Generated by: LCOV version 1.7