Conversation
|
This pull request introduces 1 alert when merging a153751 into 4930c31 - view on LGTM.com new alerts:
|
I think it would cover bugs like avahi/avahi#375 and systemd/systemd#22555 that can be triggered reliably by calling certain DBus methods but almost all the bugs |
|
This pull request introduces 1 alert when merging 77f3b5a into 3a59dbc - view on LGTM.com new alerts:
|
|
FWIW I'm still trying to figure out what the log should look like. I think
|
No worries, I was just curious how easy it would be to generate a JSON file with random data & json-glib... turns out it's really easy, so it's something we could use once we have the details outlined. |
Very WIP, more like PoC in its current form to discuss the file format and other needs as discussed in #75.
Right now this patch generates a "reproducer" file (separate one for each fail):
logs//org.freedesktop.dfuzzerServer-df_crash_on_leeroy-1652111159881833-fail.json{ "bus" : "org.freedesktop.dfuzzerServer", "object" : "/org/freedesktop/dfuzzerObject", "interface" : "org.freedesktop.dfuzzerInterface", "method" : "df_crash_on_leeroy", "payload" : { "signature" : "(s)", "data" : [ "Leeroy Jenkins" ] } }Similarly for
df_complex_sig_2(when tweaked to crash) -logs/org.freedesktop.dfuzzerServer-df_complex_sig_2-1652111623694577-fail.json:{ "bus" : "org.freedesktop.dfuzzerServer", "object" : "/org/freedesktop/dfuzzerObject", "interface" : "org.freedesktop.dfuzzerInterface", "method" : "df_complex_sig_2", "payload" : { "signature" : "(isaaai(y(b(n(q(iua{ov})v)o))x(dh))a{t(bov)})", "data" : [ -2147483648, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", [ [ [ -2147483648 ] ] ], [ 0, [ false, [ -32768, [ 0, [ -2147483648, 0, { "/" : "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" } ], "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ], "/" ] ], -9223372036854775808, [ 1.7976931348623157e+308, 0 ] ], { "0" : [ false, "/", "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" ] } ] } }