MMichael Jones[libc] Set min precision for strtofloat fuzz
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] add fuzz target for strtointeger functions The string to integer conversion functions are well suited to differential fuzzing, and this patch adds a target to enable just that. It also fixes a bug in the fuzzing comparison logic and changes atoi slightly to match the behavior described in the C standard. Reviewed By: sivachandra, lntue Differential Revision: https://reviews.llvm.org/D140178 | 3 年前 | |
[libc] Add basic fuzz target for the printf parser The goal is to fuzz the entirety of printf, but the plan is to do it in pieces for simplicity. This test fuzzes just the parser, while later tests will fuzz the converters. This also adds a mock version of the arg_list class. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D143784 | 3 年前 | |
[libc] Set min precision for strtofloat fuzz MPFR has a minimum precision of 2, but the strtofloat fuzz sometimes would request a precision of 1 for the case of the minimum subnormal. This patch tells the fuzzer to ignore any case where the precision would go below 2. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D155130 | 2 年前 | |
[libc] Adds fuzz test for strstr and alphabetizes string fuzz CMakeList. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D84611 | 5 年前 | |
[libc] Add basic fuzz target for the printf parser The goal is to fuzz the entirety of printf, but the plan is to do it in pieces for simplicity. This test fuzzes just the parser, while later tests will fuzz the converters. This also adds a mock version of the arg_list class. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D143784 | 3 年前 |