This PR creates a new fuzzer for wxwidgets project targets datetime process with seeds.
https://github.com/wxWidgets/wxWidgets/pull/26963
(20 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Thanks, this looks good, but I'd like to ask if you've already run this locally for testing? Because I'm a bit afraid we're going to get many problem reports for this code which had been never fuzzed before...
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Sorry for the late reply cause I am kept busy on some other items. I will try running this locally for much longer time and came back with an estimated result. Thanks and sorry for keeping this a bit longer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
@arthurscchan pushed 1 commit.
—
View it on GitHub or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Indeed, it got into some assertion errors. I have fixed that and run for 15 mins it keep increasing in coverage. So now it is good.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
OK, thanks, let's merge it and see what it finds.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
Actually we shouldn't disable asserts in the fuzzers, any input (even invalid) shouldn't result in asserts... And, moreover, it breaks when testing locally using the instructions in tests/fuzz/runner.cpp because the asserts don't get disabled in this case.
But the main problem is that I've already got a couple of failures in OSS-Fuzz and I can't reproduce one of them locally for some reason: both 0 Feb 16 00:00 G is supposed to result in the following error:
include/wx/longlong.h:151:16: runtime error: signed integer overflow: -9223372036829575808 - 85624192 cannot be represented in type 'long long'
#0 0x58fbbb164482 in operator-= [wxwidgets/include/wx/longlong.h:151](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/include/wx/longlong.h#L151):16
#1 0x58fbbb164482 in wxDateTime::GetTm(wxDateTime::TimeZone const&) const [wxwidgets/src/common/datetime.cpp:1514](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/src/common/datetime.cpp#L1514):18
#2 0x58fbbb167fb4 in GetYear [wxwidgets/include/wx/datetime.h:768](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/include/wx/datetime.h#L768):22
#3 0x58fbbb167fb4 in wxDateTime::IsDST(wxDateTime::Country) const [wxwidgets/src/common/datetime.cpp:2104](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/src/common/datetime.cpp#L2104):20
#4 0x58fbbb16890a in wxDateTime::MakeFromTimezone(wxDateTime::TimeZone const&, bool) [wxwidgets/src/common/datetime.cpp:2155](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/src/common/datetime.cpp#L2155):21
#5 0x58fbbb176f00 in MakeFromUTC [wxwidgets/include/wx/datetime.h:732](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/include/wx/datetime.h#L732):18
#6 0x58fbbb176f00 in wxDateTime::ParseRFC822TimeZone(wxString::const_iterator*, wxString::const_iterator const&) [wxwidgets/src/common/datetimefmt.cpp:859](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/src/common/datetimefmt.cpp#L859):5
#7 0x58fbbb177bd7 in wxDateTime::ParseRfc822Date(wxString const&, wxString::const_iterator*) [wxwidgets/src/common/datetimefmt.cpp:1022](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/src/common/datetimefmt.cpp#L1022):11
#8 0x58fbbb1189a1 in LLVMFuzzerTestOneInput [wxwidgets/tests/fuzz/datetime.cpp:84](https://github.com/wxWidgets/wxWidgets/blob/51952bd3a8df8a18b412b08493d2f9a21b5b1d08/tests/fuzz/datetime.cpp#L84):13
#9 0x58fbbb06f8ed in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:619:13
#10 0x58fbbb05a662 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:329:6
#11 0x58fbbb060530 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:865:9
#12 0x58fbbb08c062 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
#13 0x7aa3c6863082 in __libc_start_main /build/glibc-B3wQXB/glibc-2.31/csu/libc-start.c:308:16
#14 0x58fbbb05374d in _start
but doesn't here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()
OK. I will followup on that, sorry for the mess.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.![]()