LCOV - code coverage report
Current view: top level - os_stub/cryptlib_mbedtls/sys_call - crt_wrapper_host.c (source / functions) Coverage Total Hit
Test: coverage.info Lines: 33.3 % 9 3
Test Date: 2025-07-27 08:10:33 Functions: 33.3 % 3 1

            Line data    Source code
       1              : /**
       2              :  *  Copyright Notice:
       3              :  *  Copyright 2021-2022 DMTF. All rights reserved.
       4              :  *  License: BSD 3-Clause License. For full text see link: https://github.com/DMTF/libspdm/blob/main/LICENSE.md
       5              :  **/
       6              : 
       7              : /** @file
       8              :  * C Run-Time Libraries (CRT) Wrapper Implementation.
       9              :  **/
      10              : 
      11              : #include <base.h>
      12              : #include "library/debuglib.h"
      13              : #include "library/memlib.h"
      14              : #include "mbedtls/libspdm_mbedtls_config.h"
      15              : #include <stddef.h>
      16              : 
      17            0 : int my_printf(const char *fmt, ...)
      18              : {
      19            0 :     LIBSPDM_ASSERT(false);
      20            0 :     return 0;
      21              : }
      22              : 
      23            0 : int my_snprintf(char *str, size_t size, const char *format, ...)
      24              : {
      25            0 :     LIBSPDM_ASSERT(false);
      26            0 :     return 0;
      27              : }
      28              : 
      29              : #ifdef MBEDTLS_PLATFORM_ZEROIZE_ALT
      30      2792344 : void mbedtls_platform_zeroize(void *buf, size_t len)
      31              : {
      32      2792344 :     libspdm_zero_mem(buf, len);
      33      2792344 : }
      34              : #endif /* MBEDTLS_PLATFORM_ZEROIZE_ALT */
        

Generated by: LCOV version 2.0-1