Skip to content

Commit

Permalink
Update benchmarks (#162)
Browse files Browse the repository at this point in the history
FI has updated benchmarks, this PR updates the YAML files accordingly.
This is discovered by @trashvisor, because some function signatures in
YAML files are different from the ones expected by FI APIs.

Also cherrypicked #158, please let me know if I missed any.

---------

Co-authored-by: Oliver Chang <[email protected]>
  • Loading branch information
DonggeLiu and oliverchang authored Mar 19, 2024
1 parent 4ec83ad commit 236fbcf
Show file tree
Hide file tree
Showing 221 changed files with 1,215 additions and 2,116 deletions.
10 changes: 5 additions & 5 deletions benchmark-sets/all/abseil-cpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool Dispatch<absl::str_format_internal::VoidPtr>(Data, FormatConversionSpecImpl, void *)"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<absl::str_format_internal::VoidPtr>(DW_TAG_union_typeData, FormatConversionSpecImpl, void *)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIlEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
Expand All @@ -22,7 +22,7 @@
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool Dispatch<absl::str_format_internal::VoidPtr>(Data, FormatConversionSpecImpl, void *)"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<absl::str_format_internal::VoidPtr>(DW_TAG_union_typeData, FormatConversionSpecImpl, void *)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIsEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
Expand All @@ -34,7 +34,7 @@
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool Dispatch<absl::str_format_internal::VoidPtr>(Data, FormatConversionSpecImpl, void *)"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<absl::str_format_internal::VoidPtr>(DW_TAG_union_typeData, FormatConversionSpecImpl, void *)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIaEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
Expand All @@ -46,7 +46,7 @@
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool Dispatch<absl::str_format_internal::VoidPtr>(Data, FormatConversionSpecImpl, void *)"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<absl::str_format_internal::VoidPtr>(DW_TAG_union_typeData, FormatConversionSpecImpl, void *)"
- "name": "_ZN4absl19str_format_internal13FormatArgImpl8DispatchIcEEbNS1_4DataENS0_24FormatConversionSpecImplEPv"
"params":
- "name": "arg"
Expand All @@ -58,7 +58,7 @@
- "name": ""
"type": "char *"
"return_type": "bool"
"signature": "bool Dispatch<absl::str_format_internal::VoidPtr>(Data, FormatConversionSpecImpl, void *)"
"signature": "bool absl::str_format_internal::FormatArgImpl::Dispatch<absl::str_format_internal::VoidPtr>(DW_TAG_union_typeData, FormatConversionSpecImpl, void *)"
"language": "c++"
"project": "abseil-cpp"
"target_name": "string_escape_fuzzer"
Expand Down
2 changes: 1 addition & 1 deletion benchmark-sets/all/ada-url.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- "name": ""
"type": "size_t"
"return_type": "bool"
"signature": "bool url_aggregator::set_href(const string_view)"
"signature": "bool ada::url_aggregator::set_href(const string_view)"
"language": "c++"
"project": "ada-url"
"target_name": "parse"
Expand Down
10 changes: 5 additions & 5 deletions benchmark-sets/all/alembic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- "name": ""
"type": "std::shared_ptr *"
"return_type": "void"
"signature": "void getSample(AprImpl *, index_t, ArraySamplePtr)"
"signature": "void Alembic::AbcCoreOgawa::v12::AprImpl::getSample(index_t, ArraySamplePtr &)"
- "name": "_ZN7Alembic12AbcCoreOgawa3v1215ReadArraySampleENSt3__110shared_ptrINS_5Ogawa3v125IDataEEES7_mRKNS_15AbcCoreAbstract3v128DataTypeERNS3_INS9_11ArraySampleEEE"
"params":
- "name": "iDims"
Expand All @@ -22,7 +22,7 @@
- "name": ""
"type": "std::shared_ptr *"
"return_type": "void"
"signature": "void ReadArraySample(IDataPtr, IDataPtr, size_t, const DataType, ArraySamplePtr)"
"signature": "void Alembic::AbcCoreOgawa::v12::ReadArraySample(IDataPtr, IDataPtr, size_t, const DataType &, ArraySamplePtr &)"
- "name": "_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEE"
"params":
- "name": ""
Expand All @@ -32,7 +32,7 @@
- "name": ""
"type": "std::vector *"
"return_type": "void"
"signature": "IArchive getArchive(IFactory *, const std::__1::allocator<char> > > >)"
"signature": "IArchive Alembic::AbcCoreFactory::v12::IFactory::getArchive(const vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > &)"
- "name": "_ZN7Alembic14AbcCoreFactory3v128IFactory10getArchiveERKNSt3__16vectorINS3_12basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEENS8_ISA_EEEERNS2_8CoreTypeE"
"params":
- "name": ""
Expand All @@ -44,7 +44,7 @@
- "name": ""
"type": "int *"
"return_type": "void"
"signature": "IArchive getArchive(IFactory *, const std::__1::allocator<char> > > >, CoreType)"
"signature": "IArchive Alembic::AbcCoreFactory::v12::IFactory::getArchive(const vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > &, DW_TAG_enumeration_typeCoreType &)"
- "name": "_ZN7Alembic12AbcCoreOgawa3v127SprImpl9getSampleElPv"
"params":
- "name": ""
Expand All @@ -54,7 +54,7 @@
- "name": ""
"type": "char *"
"return_type": "void"
"signature": "void getSample(SprImpl *, index_t, void *)"
"signature": "void Alembic::AbcCoreOgawa::v12::SprImpl::getSample(index_t, void *)"
"language": "c++"
"project": "alembic"
"target_name": "alembic_dump_info_fuzzer"
Expand Down
22 changes: 11 additions & 11 deletions benchmark-sets/all/arduinojson.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
"functions":
- "name": "_ZN11ArduinoJson7V703HB46detail19MsgPackDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
- "name": "_ZN11ArduinoJson7V704HB46detail19MsgPackDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::detail::MsgPackDeserializer *"
"type": "ArduinoJson::V704HB4::detail::MsgPackDeserializer *"
"return_type": "void"
"signature": "void void> >::~MsgPackDeserializer()"
- "name": "_ZN11ArduinoJson7V703HB46detail16JsonDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
"signature": "void ArduinoJson::V704HB4::detail::MsgPackDeserializer<ArduinoJson::V704HB4::detail::BoundedReader<unsigned char const*, void> >::~MsgPackDeserializer(MsgPackDeserializer<ArduinoJson::V704HB4::detail::BoundedReader<const unsigned char *, void> > *)"
- "name": "_ZN11ArduinoJson7V704HB46detail16JsonDeserializerINS1_13BoundedReaderIPKhvEEED2Ev"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::detail::JsonDeserializer *"
"type": "ArduinoJson::V704HB4::detail::JsonDeserializer *"
"return_type": "void"
"signature": "void void> >::~JsonDeserializer()"
- "name": "_ZNK11ArduinoJson7V703HB415SerializedValueIPKcE4sizeEv"
"signature": "void ArduinoJson::V704HB4::detail::JsonDeserializer<ArduinoJson::V704HB4::detail::BoundedReader<unsigned char const*, void> >::~JsonDeserializer(JsonDeserializer<ArduinoJson::V704HB4::detail::BoundedReader<const unsigned char *, void> > *)"
- "name": "_ZNK11ArduinoJson7V704HB415SerializedValueIPKcE4sizeEv"
"params":
- "name": "this"
"type": "ArduinoJson::V703HB4::SerializedValue *"
"type": "ArduinoJson::V704HB4::SerializedValue *"
"return_type": "size_t"
"signature": "size_t const SerializedValue<const char >::size()"
- "name": "_ZN11ArduinoJson7V703HB46detail11VariantSlotdlEPvS3_"
"signature": "size_t ArduinoJson::V704HB4::SerializedValue<char const*>::size(const SerializedValue<const char *> *)"
- "name": "_ZN11ArduinoJson7V704HB46detail11VariantSlotdlEPvS3_"
"params":
- "name": ""
"type": "char *"
- "name": ""
"type": "char *"
"return_type": "void"
"signature": "void operator delete(void *, void *)"
"signature": "void ArduinoJson::V704HB4::detail::VariantSlot::operator delete(void *, void *)"
"language": "c++"
"project": "arduinojson"
"target_name": "msgpack_fuzzer"
Expand Down
10 changes: 5 additions & 5 deletions benchmark-sets/all/aspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- "name": ""
"type": "acommon::Config *"
"return_type": "void"
"signature": "PosibErr<void> create_default_readonly_dict(StringEnumeration *, Config)"
"signature": "PosibErr<void> aspeller::create_default_readonly_dict(StringEnumeration *, Config &)"
- "name": "_ZN12_GLOBAL__N_116WritableReplDict5mergeERN7acommon7FStreamENS1_10ParmStringEPNS1_6ConfigE"
"params":
- "name": "this"
Expand All @@ -24,7 +24,7 @@
- "name": ""
"type": "acommon::Config *"
"return_type": "void"
"signature": "PosibErr<void> WritableReplDict::merge(FStream, ParmString, Config *)"
"signature": "PosibErr<void> (anonymous namespace)::WritableReplDict::merge(FStream &, ParmString, Config *)"
- "name": "_ZN12_GLOBAL__N_112WritableDict5mergeERN7acommon7FStreamENS1_10ParmStringEPNS1_6ConfigE"
"params":
- "name": "this"
Expand All @@ -40,7 +40,7 @@
- "name": ""
"type": "acommon::Config *"
"return_type": "void"
"signature": "PosibErr<void> WritableDict::merge(FStream, ParmString, Config *)"
"signature": "PosibErr<void> (anonymous namespace)::WritableDict::merge(FStream &, ParmString, Config *)"
- "name": "_ZN12_GLOBAL__N_16createEPN7acommon17StringEnumerationERKN8aspeller8LanguageERNS0_6ConfigE"
"params":
- "name": "els"
Expand All @@ -52,7 +52,7 @@
- "name": ""
"type": "acommon::Config *"
"return_type": "void"
"signature": "PosibErr<void> create(StringEnumeration *, const Language, Config)"
"signature": "PosibErr<void> (anonymous namespace)::create(StringEnumeration *, const Language &, Config &)"
- "name": "_ZN7acommon23set_mode_from_extensionEPNS_6ConfigENS_10ParmStringEP8_IO_FILE"
"params":
- "name": "config"
Expand All @@ -66,7 +66,7 @@
- "name": ""
"type": "struct _IO_FILE *"
"return_type": "void"
"signature": "PosibErr<void> set_mode_from_extension(Config *, ParmString, FILE *)"
"signature": "PosibErr<void> acommon::set_mode_from_extension(Config *, ParmString, FILE *)"
"language": "c++"
"project": "aspell"
"target_name": "aspell_fuzzer"
Expand Down
6 changes: 3 additions & 3 deletions benchmark-sets/all/astc-encoder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
- "name": "pcb"
"type": "char *"
"return_type": "void"
"signature": "void symbolic_to_physical(const block_size_descriptor, const symbolic_compressed_block, uint8_t *)"
"signature": "void symbolic_to_physical(const block_size_descriptor &, const symbolic_compressed_block &, uint8_t *)"
- "name": "_ZL15get_quant_level12quant_method"
"params":
- "name": "method"
"type": "int"
"return_type": "int"
"signature": "unsigned int get_quant_level(quant_method)"
"signature": "unsigned int get_quant_level(DW_TAG_enumeration_typequant_method)"
- "name": "_Z10encode_ise12quant_methodjPKhPhj"
"params":
- "name": "quant_level"
Expand All @@ -28,7 +28,7 @@
- "name": "bit_offset"
"type": "int"
"return_type": "void"
"signature": "void encode_ise(quant_method, unsigned int, const uint8_t *, uint8_t *, unsigned int)"
"signature": "void encode_ise(DW_TAG_enumeration_typequant_method, unsigned int, const uint8_t *, uint8_t *, unsigned int)"
- "name": "_Z22is_legal_2d_block_sizejj"
"params":
- "name": "xdim"
Expand Down
57 changes: 0 additions & 57 deletions benchmark-sets/all/augeas.yaml

This file was deleted.

10 changes: 5 additions & 5 deletions benchmark-sets/all/bearssl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,27 @@
- "name": ""
"type": "cryptofuzz::operation::ECDSA_Sign *"
"return_type": "void"
"signature": "optional<cryptofuzz::component::ECDSA_Signature> OpECGDSA_Sign(Botan *, ECGDSA_Sign)"
"signature": "optional<cryptofuzz::component::ECDSA_Signature> cryptofuzz::module::Botan::OpECGDSA_Sign(ECGDSA_Sign &)"
- "name": "_ZN10cryptofuzz6module12Botan_detail11ECxDSA_SignIN5Botan17ECGDSA_PrivateKeyENS_9operation11ECGDSA_SignELb0EEENSt3__18optionalINS_9component15ECDSA_SignatureEEERT0_"
"params":
- "name": ""
"type": "std::optional *"
- "name": ""
"type": "cryptofuzz::operation::ECDSA_Sign *"
"return_type": "void"
"signature": "optional<cryptofuzz::component::ECDSA_Signature> ECxDSA_Sign<Botan::ECDSA_PrivateKey, cryptofuzz::operation::ECDSA_Sign, true>(ECDSA_Sign)"
"signature": "optional<cryptofuzz::component::ECDSA_Signature> std::__1::optional<cryptofuzz::component::ECDSA_Signature> cryptofuzz::module::Botan_detail::ECxDSA_Sign<Botan::ECGDSA_PrivateKey, cryptofuzz::operation::ECxDSA_Sign<Botan::ECDSA_PrivateKey, cryptofuzz::operation::ECDSA_Sign, true>(ECDSA_Sign &)"
- "name": "_ZN10cryptofuzz22Builtin_tests_importer3RunEv"
"params":
- "name": ""
"type": "anon *"
"return_type": "void"
"signature": "void Run(Builtin_tests_importer *)"
"signature": "void cryptofuzz::Builtin_tests_importer::Run()"
- "name": "_ZN5Botan13EC_PrivateKeyC2ERKNS_19AlgorithmIdentifierENSt3__14spanIKhLm18446744073709551615EEEb"
"params":
- "name": ""
"type": "Botan::EC_PrivateKey *"
- "name": ""
"type": "char **"
"type": "bool "
- "name": ""
"type": "Botan::AlgorithmIdentifier *"
- "name": ""
Expand All @@ -50,7 +50,7 @@
- "name": ""
"type": "bool"
"return_type": "void"
"signature": "void EC_PrivateKey(EC_PrivateKey *, const AlgorithmIdentifier, span<const unsigned char, 18446744073709551615UL>, bool)"
"signature": "void Botan::EC_PrivateKey::EC_PrivateKey(const AlgorithmIdentifier &, span<const unsigned char, 18446744073709551615UL>, bool)"
"language": "c++"
"project": "bearssl"
"target_name": "cryptofuzz-bearssl"
Expand Down
4 changes: 2 additions & 2 deletions benchmark-sets/all/bluez.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
- "name": "user_data"
"type": "char *"
- "name": "err"
"type": "struct _GError **"
"type": "bool "
- "name": "first_hdr_id"
"type": "int"
"return_type": "int"
Expand All @@ -62,7 +62,7 @@
- "name": "user_data"
"type": "char *"
- "name": "err"
"type": "struct _GError **"
"type": "bool "
"return_type": "int"
"signature": "guint g_obex_get_req_pkt(GObex *, GObexPacket *, GObexDataConsumer, GObexFunc, gpointer, GError **)"
"language": "c"
Expand Down
10 changes: 5 additions & 5 deletions benchmark-sets/all/boost-json.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- "name": "jv"
"type": "boost::json::value *"
"return_type": "std::istream *"
"signature": "istream operator>>(istream, value)"
"signature": "istream & boost::json::operator>>(istream &, value &)"
- "name": "_ZN5boost4json5parseERNSt3__113basic_istreamIcNS1_11char_traitsIcEEEERNS1_10error_codeENS0_11storage_ptrERKNS0_13parse_optionsE"
"params":
- "name": "is"
Expand All @@ -20,7 +20,7 @@
- "name": ""
"type": "struct boost::json::parse_options *"
"return_type": "void"
"signature": "value parse(istream, error_code, storage_ptr, const parse_options)"
"signature": "value boost::json::parse(istream &, error_code &, storage_ptr, const parse_options &)"
- "name": "_ZN5boost4json5parseENS_4core17basic_string_viewIcEERNSt3__110error_codeENS0_11storage_ptrERKNS0_13parse_optionsE"
"params":
- "name": "s"
Expand All @@ -36,7 +36,7 @@
- "name": ""
"type": "struct boost::json::parse_options *"
"return_type": "void"
"signature": "value parse(string_view, error_code, storage_ptr, const parse_options)"
"signature": "value boost::json::parse(string_view, error_code &, storage_ptr, const parse_options &)"
- "name": "_ZN5boost4json5parseERNSt3__113basic_istreamIcNS1_11char_traitsIcEEEENS0_11storage_ptrERKNS0_13parse_optionsE"
"params":
- "name": "is"
Expand All @@ -48,7 +48,7 @@
- "name": ""
"type": "struct boost::json::parse_options *"
"return_type": "void"
"signature": "value parse(istream, storage_ptr, const parse_options)"
"signature": "value boost::json::parse(istream &, storage_ptr, const parse_options &)"
- "name": "_ZN5boost4json5parseENS_4core17basic_string_viewIcEENS0_11storage_ptrERKNS0_13parse_optionsE"
"params":
- "name": "s"
Expand All @@ -62,7 +62,7 @@
- "name": ""
"type": "struct boost::json::parse_options *"
"return_type": "void"
"signature": "value parse(string_view, storage_ptr, const parse_options)"
"signature": "value boost::json::parse(string_view, storage_ptr, const parse_options &)"
"language": "c++"
"project": "boost-json"
"target_name": "fuzz_parser"
Expand Down
Loading

0 comments on commit 236fbcf

Please sign in to comment.