LCOV - code coverage report
Current view: top level - openssh-6.6p1/openbsd-compat - explicit_bzero.c (source / functions) Hit Total Coverage
Test: lcov_coverage_final.info Lines: 3 3 100.0 %
Date: 2014-08-01 Functions: 1 1 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* OPENBSD ORIGINAL: lib/libc/string/explicit_bzero.c */
       2                 :            : /*      $OpenBSD: explicit_bzero.c,v 1.1 2014/01/22 21:06:45 tedu Exp $ */
       3                 :            : /*
       4                 :            :  * Public domain.
       5                 :            :  * Written by Ted Unangst
       6                 :            :  */
       7                 :            : 
       8                 :            : #include "includes.h"
       9                 :            : 
      10                 :            : #ifndef HAVE_EXPLICIT_BZERO
      11                 :            : 
      12                 :            : /*
      13                 :            :  * explicit_bzero - don't let the compiler optimize away bzero
      14                 :            :  */
      15                 :            : void
      16                 :    1096709 : explicit_bzero(void *p, size_t n)
      17                 :            : {
      18                 :    1096709 :         bzero(p, n);
      19                 :    1096709 : }
      20                 :            : #endif

Generated by: LCOV version 1.9