LCOV - code coverage report
Current view: top level - strace - getrandom.c (source / functions) Hit Total Coverage
Test: strace-4.18.0.129.97bbb Code Coverage Lines: 0 8 0.0 %
Date: 2017-07-31 03:46:08 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 4 0.0 %

           Branch data     Line data    Source code
       1                 :            : #include "defs.h"
       2                 :            : #include "xlat/getrandom_flags.h"
       3                 :            : 
       4                 :          0 : SYS_FUNC(getrandom)
       5                 :            : {
       6         [ #  # ]:          0 :         if (exiting(tcp)) {
       7         [ #  # ]:          0 :                 if (syserror(tcp))
       8                 :          0 :                         printaddr(tcp->u_arg[0]);
       9                 :            :                 else
      10                 :          0 :                         printstr_ex(tcp, tcp->u_arg[0], tcp->u_rval,
      11                 :            :                                     QUOTE_FORCE_HEX);
      12                 :          0 :                 tprintf(", %" PRI_klu ", ", tcp->u_arg[1]);
      13                 :          0 :                 printflags(getrandom_flags, tcp->u_arg[2], "GRND_???");
      14                 :            :         }
      15                 :          0 :         return 0;
      16                 :            : }

Generated by: LCOV version 1.11