Todd C. Miller
|
86ab362fd4
|
Move JSON log parsing from libsudo_iolog.la to libsudo_eventlog.la
It will be used in the upcoming log output tests.
|
2023-03-13 15:02:03 -06:00 |
|
Todd C. Miller
|
ad55f8ccee
|
Use correct dictionary file format.
Also use the new dictionaries in the Makefile fuzz target.
|
2022-12-30 11:26:49 -07:00 |
|
Todd C. Miller
|
148e5ad95b
|
Add dictionaries for fuzz_iolog_legacy and fuzz_iolog_timing.
|
2022-12-30 10:52:54 -07:00 |
|
Todd C. Miller
|
91d7592e8a
|
Use initprogname(), not setprogname() in the fuzzers.
This results in better coverage for progname.c.
|
2022-12-29 15:52:21 -07:00 |
|
Todd C. Miller
|
f5ac1317c4
|
Make sudo pass -Wmissing-prototypes
|
2022-06-27 12:48:03 -06:00 |
|
Todd C. Miller
|
41bc52302b
|
Do not disable fuzzer output if SUDO_FUZZ_VERBOSE env variable is set.
|
2022-02-22 12:04:10 -07:00 |
|
Todd C. Miller
|
f49c7ac5a5
|
Add new log.json keywords
|
2021-10-19 13:13:59 -06:00 |
|
Todd C. Miller
|
89b53d5edd
|
fuzz_iolog_json: initialize exit_value to -1
|
2021-10-19 13:13:29 -06:00 |
|
Todd C. Miller
|
eefb7b0d54
|
Use a consistent version of fuzz_conversation() with all fuzzers.
Also undo a change to fuzz_sudoers.c that snuck in to the last commit.
|
2021-09-28 20:20:28 -06:00 |
|
Todd C. Miller
|
7d964875df
|
Fuzzers should not produce output.
Excessive output makes the fuzzer runs much less efficient.
|
2021-09-28 18:53:49 -06:00 |
|
Todd C. Miller
|
95bfd65fec
|
Flush stdout before successful return from LLVMFuzzerTestOneInput().
Fixes a problem with diag lines from libFuzzer being interspersed
with test output.
|
2021-03-18 13:08:30 -06:00 |
|
Todd C. Miller
|
851247e58c
|
Split iolog_fileio.c into multiple files.
|
2021-02-26 21:07:48 -07:00 |
|
Todd C. Miller
|
80e223b6c8
|
Remove unnecessary warnings, we want to fail silently.
|
2021-02-25 16:15:47 -07:00 |
|
Todd C. Miller
|
a3f38fac0c
|
Set program name in fuzzers so we get consisten warnings.
|
2021-02-24 15:14:58 -07:00 |
|
Todd C. Miller
|
03e610dab5
|
Strings in dictionary files need to be quoted.
|
2021-02-23 12:38:02 -07:00 |
|
Todd C. Miller
|
081e219e23
|
Add dictionary files for fuzzers where possible.
|
2021-02-23 11:28:47 -07:00 |
|
Todd C. Miller
|
d81d7e0cf2
|
Fix unlinking of timing temp file.
|
2021-02-15 13:46:11 -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 |
|
Todd C. Miller
|
a72d743ec8
|
Fall back to a temp file if fmemopen() is not available().
|
2021-02-07 13:56:15 -07:00 |
|
Todd C. Miller
|
4480e26972
|
Build (but don't run) fuzzers as part of "make check".
Uses a stub to make it possible to link w/o libfuzzer.
The goal is to ensure the fuzzers are always buildable and avoid bit rot.
|
2021-02-06 08:38:38 -07:00 |
|
Todd C. Miller
|
5c2a21350d
|
fuzzer for I/O log timing files
|
2021-02-04 19:22:15 -07:00 |
|
Todd C. Miller
|
d2901f4121
|
Add fuzzer for legacy I/O log info file.
|
2021-02-03 07:41:20 -07:00 |
|
Todd C. Miller
|
20b3904f4f
|
Add missing fclose(3) of fmemopen(3) stream; it does not modify the data.
|
2021-02-02 13:58:31 -07:00 |
|
Todd C. Miller
|
1e3cecc608
|
Add initial fuzzers to be used by oss-fuzz.
These are not yet hooked up to the sudo build.
|
2021-02-01 15:17:57 -07:00 |
|