Add dictionaries for fuzz_iolog_legacy and fuzz_iolog_timing.

This commit is contained in:
Todd C. Miller
2022-12-30 10:52:54 -07:00
parent 774b3c6e68
commit 148e5ad95b
3 changed files with 133 additions and 0 deletions

View File

@@ -169,7 +169,9 @@ lib/iolog/regress/corpus/seed/timing/timing.4
lib/iolog/regress/fuzz/fuzz_iolog_json.c
lib/iolog/regress/fuzz/fuzz_iolog_json.dict
lib/iolog/regress/fuzz/fuzz_iolog_legacy.c
lib/iolog/regress/fuzz/fuzz_iolog_legacy.dict
lib/iolog/regress/fuzz/fuzz_iolog_timing.c
lib/iolog/regress/fuzz/fuzz_iolog_timing.dict
lib/iolog/regress/host_port/host_port_test.c
lib/iolog/regress/iolog_filter/check_iolog_filter.c
lib/iolog/regress/iolog_filter/test1/log

View File

@@ -0,0 +1,42 @@
# Legacy I/O log info file:
# timestamp:submit_user:run_user:run_group:tty:lines:columns
# working directory
# command [args]
#
# users and groups
millert
root
bin
wheel
operator
testuser
alice
bob
users
#
# terminals
/dev/console
/dev/tty00
/dev/tty01
/dev/pts/0
/dev/pts/1
/dev/ttyp2
/dev/ttyp3
#
# directories
/root
/home/millert
/home/alice
/home/bob
/tmp
/usr/local
/usr/src
#
# commands
/bin/ls
/usr/bin/id -u
/usr/bin/su -
/usr/bin/mailq
/usr/bin/make -C /usr/src/usr.bin/sort install
/usr/bin/apt update
/usr/bin/rpm -e sudo

View File

@@ -0,0 +1,89 @@
# I/O log timing lines are formatted as:
# [0-4] sleep_time num_bytes
# 5 sleep_time lines cols
# 7 sleep_time signum|sigabbrev
#
# Signal abbreviations
ABRT
ALRM
BUS
CANCEL
CHLD
CLD
CONT
CONT
EMT
FPE
FREEZE
HUP
ILL
INFO
INT
IO
IOT
KILL
LOST
LWP
PIPE
POLL
PROF
PWR
QUIT
SEGV
STKFLT
STOP
STOP
SYS
TERM
THAW
TRAP
TSTP
TSTP
TTIN
TTIN
TTOU
TTOU
UNUSED
URG
USR1
USR2
VTALRM
WAITING
WINCH
XCPU
XFSZ
#
# Signal numbers, 0-32
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32