Skip to content
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

Timeout proccesing #23

Closed
gfarida opened this issue Jun 16, 2022 · 4 comments
Closed

Timeout proccesing #23

gfarida opened this issue Jun 16, 2022 · 4 comments

Comments

@gfarida
Copy link

gfarida commented Jun 16, 2022

Hi! Could yo help me and say where timeout does process in your code? I found only crashes processing. Thank you!

@Metalnem
Copy link
Owner

Hi @gfarida! SharpFuzz doesn't process timeouts on its own: it's done internally by AFL. Here is the source file where it's done (search for exec_tmout):
https://github.com/google/AFL/blob/master/afl-fuzz.c

@gfarida
Copy link
Author

gfarida commented Jun 21, 2022

Thank you! I see. So why did you use "Timeout" field in Fault class?

@Metalnem
Copy link
Owner

Just to match the enum definition from AFL (even though SharpFuzz doesn't use the timeout status itself):
https://github.com/google/AFL/blob/61037103ae3722c8060ff7082994836a794f978e/afl-fuzz.c#L330

@gfarida
Copy link
Author

gfarida commented Jun 21, 2022

Got it. Thank you very much for your help!

@gfarida gfarida closed this as completed Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants