LCOV - code coverage report
Current view: top level - discof/ipecho - fuzz_ipecho_client.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 6 6 100.0 %
Date: 2025-09-19 04:41:14 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "fd_ipecho_client_private.h"
       2             : #include "../../util/fd_util.h"
       3             : 
       4             : #if !FD_HAS_HOSTED
       5             : #error "This target requires FD_HAS_HOSTED"
       6             : #endif
       7             : 
       8             : #include <stdlib.h>
       9             : #include <assert.h>
      10             : 
      11             : int
      12             : LLVMFuzzerInitialize( int  *   argc,
      13          12 :                       char *** argv ) {
      14          12 :   putenv( "FD_LOG_BACKTRACE=0" );
      15          12 :   fd_boot( argc, argv );
      16          12 :   atexit( fd_halt );
      17          12 :   return 0;
      18          12 : }
      19             : 
      20             : int
      21             : LLVMFuzzerTestOneInput( uchar const * data,
      22             :                         ulong         size ) {
      23             :   ushort shred_version;
      24             :   fd_ipecho_client_parse_response( data, size, &shred_version );
      25             :   return 0;
      26             : }

Generated by: LCOV version 1.14