Skip to content

Commit

Permalink
re-select comparison benchmark set (#99)
Browse files Browse the repository at this point in the history
Resolves #90
  • Loading branch information
cjx10 authored Feb 22, 2024
1 parent ce3f2ec commit 10a438e
Show file tree
Hide file tree
Showing 24 changed files with 187 additions and 682 deletions.
20 changes: 0 additions & 20 deletions benchmark-sets/comparison/avahi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,6 @@
"type": "int"
"return_type": "struct AvahiDnsPacket *"
"signature": "AvahiDnsPacket * avahi_dns_packet_new_reply(AvahiDnsPacket *, unsigned int, int, int)"
- "name": "avahi_get_host_name_strdup"
"params": []
"return_type": "char *"
"signature": "char * avahi_get_host_name_strdup()"
- "name": "avahi_get_host_name"
"params":
- "name": "ret_s"
"type": "char *"
- "name": "size"
"type": "size_t"
"return_type": "char *"
"signature": "char * avahi_get_host_name(char *, size_t)"
- "name": "avahi_string_list_add_pair"
"params":
- "name": "l"
Expand All @@ -33,14 +21,6 @@
"type": "char *"
"return_type": "struct AvahiStringList *"
"signature": "AvahiStringList * avahi_string_list_add_pair(AvahiStringList *, const char *, const char *)"
- "name": "avahi_string_list_add_printf"
"params":
- "name": "l"
"type": "struct AvahiStringList *"
- "name": "format"
"type": "char *"
"return_type": "struct AvahiStringList *"
"signature": "AvahiStringList * avahi_string_list_add_printf(AvahiStringList *, const char *, void)"
"language": "c++"
"project": "avahi"
"target_name": "fuzz-consume-record"
Expand Down
55 changes: 0 additions & 55 deletions benchmark-sets/comparison/cmake.yaml

This file was deleted.

19 changes: 19 additions & 0 deletions benchmark-sets/comparison/cppitertools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
"functions":
- "name": "_ZN4iter4impl10CombinatorIRNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEE8IteratorIS9_E15zero_length_endES9_"
"params":
- "name": "container"
"type": "iter::impl::Combinator<std::string &>::Iterator *"
- "name": ""
"type": "std::string *"
"return_type": "void"
"signature": "void Iterator(std::__1::allocator<char> > &> *, std::__1::allocator<char> >, size_t)"
- "name": "_ZN4iter4impl10CompressedIRNSt3__16vectorIiNS2_9allocatorIiEEEERNS3_IbNS4_IbEEEEE8IteratorIS7_SA_EppEv"
"params":
- "name": "this"
"type": "iter::impl::Compressed<std::vector<int> &, std::vector<bool> &>::Iterator *"
"return_type": "iter::impl::Compressed<std::vector<int> &, std::vector<bool> &>::Iterator *"
"signature": "std::__1::allocator<bool> > &> std::__1::allocator<bool> > &>::operator++()"
"language": "c++"
"project": "cppitertools"
"target_name": "fuzz_cppitertools"
"target_path": "/src/fuzz_cppitertools.cpp"
21 changes: 21 additions & 0 deletions benchmark-sets/comparison/eigen.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
"functions":
- "name": "_ZN5Eigen9TransposeINS_5BlockINS_6MatrixINSt3__17complexIdEELin1ELin1ELi0ELin1ELin1EEELin1ELi1ELb1EEEE6resizeEll"
"params":
- "name": "this"
"type": "Eigen::Transpose *"
- "name": "nrows"
"type": "size_t"
- "name": "ncols"
"type": "size_t"
"return_type": "void"
"signature": "void true> >::resize(Index, Index)"
- "name": "_ZN5Eigen6MatrixIdLin1ELin1ELi0ELin1ELin1EED2Ev"
"params":
- "name": "this"
"type": "Eigen::Matrix *"
"return_type": "void"
"signature": "void 1>::~Matrix()"
"language": "c++"
"project": "eigen"
"target_name": "solver_fuzzer"
"target_path": "/src/solver_fuzzer.cc"
38 changes: 0 additions & 38 deletions benchmark-sets/comparison/flex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,6 @@
"type": "char **"
"return_type": "int"
"signature": "int main2(int, char **)"
- "name": "scanopt_usage"
"params":
- "name": "scanner"
"type": "char **"
- "name": "fp"
"type": "struct _IO_FILE *"
- "name": "usage"
"type": "char *"
"return_type": "int"
"signature": "int scanopt_usage(scanopt_t *, FILE *, const char *)"
- "name": "buf_prints"
"params":
- "name": "buf"
"type": "struct Buf *"
- "name": "fmt"
"type": "char *"
- "name": "s"
"type": "char *"
"return_type": "struct Buf *"
"signature": "Buf * buf_prints(Buf *, const char *, const char *)"
- "name": "regmatch_strtol"
"params":
- "name": "m"
"type": "struct regmatch_t *"
- "name": "src"
"type": "char *"
- "name": "endptr"
"type": "char **"
- "name": "base"
"type": "int"
"return_type": "int"
"signature": "int regmatch_strtol(regmatch_t *, const char *, char **, int)"
- "name": "yy_flex_xmalloc"
"params":
- "name": "size"
"type": "int"
"return_type": "char *"
"signature": "void * yy_flex_xmalloc(int)"
"language": "c"
"project": "flex"
"target_name": "fuzz-main"
Expand Down
60 changes: 0 additions & 60 deletions benchmark-sets/comparison/fribidi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,66 +17,6 @@
"type": "char *"
"return_type": "char"
"signature": "FriBidiLevel fribidi_log2vis(const FriBidiChar *, const FriBidiStrIndex, FriBidiParType *, FriBidiChar *, FriBidiStrIndex *, FriBidiStrIndex *, FriBidiLevel *)"
- "name": "fribidi_shape"
"params":
- "name": "flags"
"type": "int"
- "name": "embedding_levels"
"type": "char *"
- "name": "len"
"type": "int"
- "name": "ar_props"
"type": "char *"
- "name": "str"
"type": "int *"
"return_type": "void"
"signature": "void fribidi_shape(FriBidiFlags, const FriBidiLevel *, const FriBidiStrIndex, FriBidiArabicProp *, FriBidiChar *)"
- "name": "fribidi_join_arabic"
"params":
- "name": "bidi_types"
"type": "int *"
- "name": "len"
"type": "int"
- "name": "embedding_levels"
"type": "char *"
- "name": "ar_props"
"type": "char *"
"return_type": "void"
"signature": "void fribidi_join_arabic(const FriBidiCharType *, const FriBidiStrIndex, const FriBidiLevel *, FriBidiArabicProp *)"
- "name": "fribidi_reorder_line"
"params":
- "name": "flags"
"type": "int"
- "name": "bidi_types"
"type": "int *"
- "name": "len"
"type": "int"
- "name": false
"type": "int"
- "name": "base_dir"
"type": "int"
- "name": "embedding_levels"
"type": "char *"
- "name": "visual_str"
"type": "int *"
- "name": "map"
"type": "int *"
"return_type": "char"
"signature": "FriBidiLevel fribidi_reorder_line(FriBidiFlags, const FriBidiCharType *, const FriBidiStrIndex, const FriBidiStrIndex, const FriBidiParType, FriBidiLevel *, FriBidiChar *, FriBidiStrIndex *)"
- "name": "fribidi_shape_arabic"
"params":
- "name": "flags"
"type": "int"
- "name": "embedding_levels"
"type": "char *"
- "name": "len"
"type": "int"
- "name": "ar_props"
"type": "char *"
- "name": "str"
"type": "int *"
"return_type": "void"
"signature": "void fribidi_shape_arabic(FriBidiFlags, const FriBidiLevel *, const FriBidiStrIndex, FriBidiArabicProp *, FriBidiChar *)"
"language": "c"
"project": "fribidi"
"target_name": "fribidi-fuzzer"
Expand Down
31 changes: 31 additions & 0 deletions benchmark-sets/comparison/guetzli.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"functions":
- "name": "_ZN7guetzli7ProcessERKNS_6ParamsEPNS_12ProcessStatsERKNSt3__16vectorIhNS5_9allocatorIhEEEEiiPNS5_12basic_stringIcNS5_11char_traitsIcEENS7_IcEEEE"
"params":
- "name": ""
"type": "struct guetzli::Params *"
- "name": ""
"type": "struct guetzli::ProcessStats *"
- "name": ""
"type": "std::vector *"
- "name": ""
"type": "int"
- "name": ""
"type": "int"
- "name": ""
"type": "std::string *"
"return_type": "bool"
"signature": "bool Process(const Params, ProcessStats *, const std::__1::allocator<unsigned char> >, int, int, string *)"
- "name": "_ZNK11butteraugli21ButteraugliComparator4MaskEPNSt3__16vectorINS_5ImageIfEENS1_9allocatorIS4_EEEES8_"
"params":
- "name": ""
"type": "butteraugli::ButteraugliComparator *"
- "name": ""
"type": "std::vector *"
- "name": ""
"type": "std::vector *"
"return_type": "void"
"signature": "void Mask(const ButteraugliComparator *, std::__1::allocator<butteraugli::Image<float> > > *, std::__1::allocator<butteraugli::Image<float> > > *)"
"language": "c++"
"project": "guetzli"
"target_name": "guetzli_fuzzer"
"target_path": "/src/guetzli/fuzz_target.cc"
28 changes: 0 additions & 28 deletions benchmark-sets/comparison/hiredis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
"type": "struct redisAsyncContext *"
"return_type": "void"
"signature": "void redisAsyncRead(redisAsyncContext *)"
- "name": "redisProcessCallbacks"
"params":
- "name": "ac"
"type": "struct redisAsyncContext *"
"return_type": "void"
"signature": "void redisProcessCallbacks(redisAsyncContext *)"
- "name": "redisCommand"
"params":
- "name": "c"
Expand All @@ -19,28 +13,6 @@
"type": "char *"
"return_type": "char *"
"signature": "void * redisCommand(redisContext *, const char *, void)"
- "name": "redisvCommand"
"params":
- "name": "c"
"type": "struct redisContext *"
- "name": "format"
"type": "char *"
- "name": "ap"
"type": "struct __va_list_tag *"
"return_type": "char *"
"signature": "void * redisvCommand(redisContext *, const char *, __va_list_tag *)"
- "name": "redisCommandArgv"
"params":
- "name": "c"
"type": "struct redisContext *"
- "name": "argc"
"type": "int"
- "name": "argv"
"type": "char **"
- "name": "argvlen"
"type": "size_t *"
"return_type": "char *"
"signature": "void * redisCommandArgv(redisContext *, int, const char **, const size_t *)"
"language": "c"
"project": "hiredis"
"target_name": "format_command_fuzzer"
Expand Down
32 changes: 0 additions & 32 deletions benchmark-sets/comparison/hunspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,38 +9,6 @@
"type": "char *"
"return_type": "int"
"signature": "int Hunspell_suggest(Hunhandle *, char ***, const char *)"
- "name": "_ZN8Hunspell7suggestEPPPcPKc"
"params":
- "name": "this"
"type": "Hunspell *"
- "name": "slst"
"type": "char ***"
- "name": "word"
"type": "char *"
"return_type": "int"
"signature": "int Hunspell::suggest(char ***, const char *)"
- "name": "_ZN12HunspellImpl7suggestEPPPcPKc"
"params":
- "name": "this"
"type": "HunspellImpl *"
- "name": "slst"
"type": "char ***"
- "name": "word"
"type": "char *"
"return_type": "int"
"signature": "int HunspellImpl::suggest(char ***, const char *)"
- "name": "Hunspell_generate"
"params":
- "name": "pHunspell"
"type": "struct Hunhandle *"
- "name": "slst"
"type": "char ***"
- "name": "word"
"type": "char *"
- "name": "pattern"
"type": "char *"
"return_type": "int"
"signature": "int Hunspell_generate(Hunhandle *, char ***, const char *, const char *)"
- "name": "_ZN8Hunspell8generateEPPPcPKcS4_"
"params":
- "name": "this"
Expand Down
Loading

0 comments on commit 10a438e

Please sign in to comment.