Todd C. Miller
e343e07543
Use #include <foo.h> instead of #include "foo.h" in most cases.
...
We rely on the include path to find many of these headers. It
especially doesn't make sense to use #include "foo.h" for headers
in the top-level include directory.
2023-09-25 10:13:28 -06:00
Todd C. Miller
e93913e2bb
libfuzzstub: silence -Wconversion warnings.
2023-07-07 15:07:04 -06:00
Todd C. Miller
6a84523671
Make fuzzer stub main() quiet by default.
...
LLVM LibFuzzer displays the input and running time by default but
we don't care about that for the stub fuzzer library.
2022-02-28 13:33:54 -07:00
Todd C. Miller
90b4f4c4fe
Change ms from size_t to long.
...
Avoids a spurious test failure on Solaris 9
2021-06-21 10:19:10 -06:00
Todd C. Miller
b913a832e8
Make sure we link with libsudo_util *after* libfuzzstub.
...
This only affects builds with a static libsudo_util.
Also fix a warning on HP-UX about main not being public.
2021-06-07 15:53:57 -06:00
Todd C. Miller
5498c6a938
We can now rely on LLVMFuzzerTestOneInput to flush stdout.
2021-03-18 13:40:26 -06:00
Todd C. Miller
4adc11e335
Print "running" and "executed" lines to stderr like libfuzzer does.
2021-02-22 15:43:45 -07:00
Todd C. Miller
722759d0b9
Fix CID 217123, size check always false on 64-bit systems.
2021-02-08 15:57:19 -07:00
Todd C. Miller
30d9497eb6
Add stub library that just feeds files to the fuzzing target.
...
This will allow the fuzzers to be run as part of "make check".
2021-02-07 15:43:51 -07:00