-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use libFuzzer to test GUI applications #20
Comments
First, libFuzzer is an in-process fuzzing engine, it doesn't work across processes out of the box. You can try linking your GUI library with a libFuzzer-style fuzz target. |
Hi! I have some Qt-based project on my eyes, but interaction is quite difficult to implement and won't fuzz Qt functions at all. |
Refering to https://github.com/google/fuzzing/blob/master/docs/good-fuzz-target.md#global-state
what is the pro-tip for some justAnotherSaveAs() to not touch global state? I have only idea to use some fd mockup in-memory (which will dep on malloc() unfortunately) and calling each part of function decomposition in fuzz target. That is heavily case-dependant but maybe you remember some example where it was problematic and I could learn from that sample. |
How can I test QT GUI applications that do not accept data or files from the command line?
Will the libfuzzer work with processes running from the program we submit to the libfuzzer? (tracking coverage)
wrapper(manage UI and data transfer) start -> MyGUIapplication
and use like:
./wrapper
Really need advice or any suggestions.
The text was updated successfully, but these errors were encountered: