LCOV - code coverage report
Current view: top level - lib/libkern - explicit_bzero.c (source / functions) Hit Total Coverage
Test: 6.4 Lines: 0 6 0.0 %
Date: 2018-10-19 03:25:38 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*      $OpenBSD: explicit_bzero.c,v 1.3 2014/06/21 02:34:26 matthew Exp $ */
       2             : /*
       3             :  * Public domain.
       4             :  * Written by Matthew Dempsky.
       5             :  */
       6             : 
       7             : #include <lib/libkern/libkern.h>
       8             : 
       9             : __attribute__((weak)) void __explicit_bzero_hook(void *, size_t);
      10             : 
      11             : __attribute__((weak)) void
      12           0 : __explicit_bzero_hook(void *buf, size_t len)
      13             : {
      14           0 : }
      15             : 
      16             : void
      17           0 : explicit_bzero(void *buf, size_t len)
      18             : {
      19           0 :         memset(buf, 0, len);
      20           0 :         __explicit_bzero_hook(buf, len);
      21           0 : }

Generated by: LCOV version 1.13