brintos

brintos / llvm-project-archived public Read only

0
0
Text · 685 B · 401785a Raw
33 lines · plain
1add_libc_fuzzer(2  printf_parser_fuzz3  SRCS4    printf_parser_fuzz.cpp5  DEPENDS6    libc.src.stdio.printf_core.parser7    libc.src.errno.errno # needed for the strerror conversion8)9 10add_libc_fuzzer(11  printf_float_conv_fuzz12  NEED_MPFR13  SRCS14    printf_float_conv_fuzz.cpp15  DEPENDS16    libc.src.stdio.snprintf17    libc.src.__support.FPUtil.fp_bits18)19 20if(LIBC_COMPILER_HAS_FIXED_POINT)21  add_libc_fuzzer(22    printf_fixed_conv_fuzz23    NEED_MPFR24    SRCS25      printf_fixed_conv_fuzz.cpp26    DEPENDS27      libc.src.stdio.snprintf28      libc.src.__support.fixed_point.fx_bits29    COMPILE_OPTIONS30      -ffixed-point # TODO: add -ffixed-point to fuzz tests automatically31  )32endif()33