-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
30 changed files
with
213 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
func_include ares_* | ||
|
||
// func_exclude ares_expand_name,ares_getaddrinfo,ares_gethostbyaddr | ||
// func_exclude ares_fds,ares_dup | ||
// func_exclude ares_library_init_mem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=/data/workspace/fuzzing_bench/c-ares/src/include/ares.h | ||
|
||
# Full path to shared library | ||
TEST_LIBRARY=/data/workspace/fuzzing_bench/c-ares/build/hopper_build/install/lib/libcares.so | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# Set map size | ||
HOPPER_MAP_SIZE_POW2=18 | ||
|
||
# Set the header include path | ||
HOPPER_INCLUDE_SEARCH_PATH=/data/workspace/fuzzing_bench/c-ares/src/include/ | ||
|
||
# Disable generate calls that failed to be invoked | ||
DISABLE_GEN_FAIL=1 | ||
|
||
# Set seeds | ||
HOPPER_SEED_DIR=/data/workspace/fuzzing_bench/c-ares/src/test/fuzzinput | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# from aom's source code. | ||
|
||
# IVF Signature + version (bytes 0-5) | ||
kw1="DKIF\x00\x00" | ||
|
||
# AV1 codec fourCC (bytes 8-11) | ||
kw2="AV01" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
func_include aom_* | ||
// func_include aom_codec_decode,aom_codec_dec_init_ver,aom_codec_av1_dx | ||
// func_key aom_codec_decode,aom_codec_get_frame | ||
func_exclude aom_img_metadata_free,aom_img_free,aom_codec_control,aom_img_alloc,aom_img_alloc_with_border |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=aom_all.h | ||
|
||
# Full path to shared library | ||
TEST_LIBRARY=/data/workspace/fuzzing_bench/libaom/build/hopper_build/libaom.so | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# Set map size for branch counting | ||
HOPPER_MAP_SIZE_POW2=18 | ||
|
||
# Set dictionary for bytes | ||
HOPPER_DICT=./av1_dec_fuzzer.dict | ||
|
||
# Set the header include path | ||
HOPPER_INCLUDE_SEARCH_PATH=/data/workspace/fuzzing_bench/libaom/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
target_include magic_* | ||
# You need to set it the correct path | ||
func magic_load[$1] = "/data/workspace/fuzzing_bench/libmagic/build/hopper_build/magic/magic.mgc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=/data/workspace/fuzzing_bench/libmagic/build/hopper_build/src/magic.h | ||
|
||
# Full path to shared library | ||
TEST_LIBRARY=/data/workspace/fuzzing_bench/libmagic/build/hopper_build/src/.libs/libmagic.so | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# set map size for branch counting | ||
HOPPER_MAP_SIZE_POW2=18 | ||
|
||
# Set seeds | ||
# HOPPER_SEED_DIR=./seeds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
func_include pcap_* | ||
# func_key pcap_compile | ||
# PCAP_DEPRECATED | ||
func_exclude pcap_freealldevs,pcap_geterr | ||
func_exclude pcap_dump_file,pcap_file,pcap_dump | ||
func_exclude pcap_open_live,pcap_activate | ||
|
||
# type pcap_pkthdr = $opaque | ||
# func pcap_open[$0] = $read_file | ||
# func pcap_dump_open_append[$1] = $write_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=/data/workspace/fuzzing_bench/libpcap/src/pcap/pcap.h | ||
|
||
# Full path to shared library | ||
TEST_LIBRARY=/data/workspace/fuzzing_bench/libpcap/build/hopper_build/libpcap.so.1.10.1 | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# Custom rule for invoking API functions | ||
CUSTOM_RULES=custom.rule | ||
|
||
# Set map size | ||
HOPPER_MAP_SIZE_POW2=18 | ||
|
||
# Do not use API-senitive | ||
#HOPPER_API_INSENSITIVE_COV=1 | ||
|
||
# Set seeds | ||
HOPPER_SEED_DIR=./seeds | ||
|
||
# Set the header include path | ||
HOPPER_INCLUDE_SEARCH_PATH=/data/workspace/fuzzing_bench/libpcap/src | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
host 192.168.1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
port 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tcp[tcpflags]&tcp-syn != 0 or tcp[tcpflags]&tcp-fin != 0 or tcp[tcpflags]&tcp-rst != 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ether[12:2] = 0x800 or ether[12:2] = 0x8100 or ether[0] & 0x80 != 0 or ether[12:2] = 0x9100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vlan 186 and ip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ip and ((icmp and dst host 1.1.1.1 and not host 2.2.2.2) or (host 1.1.1.1 and src host 3.3.3.3)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
not vlan and tcp port 80 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
func_include vpx_* | ||
// func_include vpx_codec_dec_init_ver,vpx_codec_vp9_dx,vpx_codec_decode | ||
// func_key vpx_codec_decode,vpx_codec_get_frame | ||
func_exclude vpx_img_free,vpx_codec_control_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=vpx_all.h | ||
|
||
# Full path to shared library | ||
TEST_LIBRARY=/data/workspace/fuzzing_bench/libvpx/build/hopper_build/libvpx.so.7.0.0 | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# Set map size for branch counting | ||
HOPPER_MAP_SIZE_POW2=18 | ||
|
||
# Set dictionary for bytes | ||
HOPPER_DICT=./vpx.dict | ||
|
||
# Set the header include path | ||
HOPPER_INCLUDE_SEARCH_PATH=/data/workspace/fuzzing_bench/libvpx/build/hopper_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# IVF Signature + version (bytes 0-5) | ||
kw1="DKIF\x00\x00" | ||
|
||
# VP9 codec fourCC (bytes 8-11) | ||
kw2="VP90" | ||
|
||
# VP8 codec fourCC (bytes 8-11) | ||
kw3="VP80" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
func_include cre2_* | ||
func_exclude cre2_delete,cre2_set_delete,cre2_named_groups_iter_delete | ||
|
||
type cre2_string_t[length] = $len(data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Configurations for hopper fuzzer | ||
|
||
# Full path for header file | ||
TEST_HEADER=/data/workspace/fuzzing_bench/re2/cre2.h | ||
|
||
# Full path to shared library | ||
TEST_LIB_DIR=/data/workspace/fuzzing_bench/re2/build/hopper_build/ | ||
TEST_LIBRARY=${TEST_LIB_DIR}/cre2/lib/libcre2.so ${TEST_LIB_DIR}/lib/libre2.so.10.0.0 | ||
|
||
# Output directory | ||
OUT_DIR=output | ||
|
||
# Custom rule for invoking API functions | ||
CUSTOM_RULES=custom.rule | ||
|
||
# set map size for branch counting | ||
HOPPER_MAP_SIZE_POW2=20 | ||
|
||
# set seeds for hopper | ||
# HOPPER_SEED_DIR=seeds | ||
|
||
|
||
# target library | ||
HOPPER_TEST_LIBRARY=cre2/lib/libre2.so | ||
|
||
HOPPER_CUSTOM_RULES=$SRC_DIR/../custom_rule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
use std::{ | ||
env, | ||
path::{PathBuf}, | ||
path::PathBuf, | ||
process::Command, | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters