-
Notifications
You must be signed in to change notification settings - Fork 105
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
fix(runtime-fuzzer): reduce the range of pages num for free syscall #3400
Conversation
StackOverflowExcept1on
commented
Oct 11, 2023
•
edited
Loading
edited
@@ -426,7 +426,7 @@ fn config( | |||
|
|||
let mut params_config = SysCallsParamsConfig::default(); | |||
params_config.add_rule(ParamType::Alloc, (10..=20).into()); | |||
params_config.add_rule(ParamType::Free, (initial_pages..=initial_pages + 35).into()); | |||
params_config.add_rule(ParamType::Free, (initial_pages..=initial_pages + 1).into()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mb at least 2-4?
@@ -426,7 +426,7 @@ fn config( | |||
|
|||
let mut params_config = SysCallsParamsConfig::default(); | |||
params_config.add_rule(ParamType::Alloc, (10..=20).into()); | |||
params_config.add_rule(ParamType::Free, (initial_pages..=initial_pages + 35).into()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open please an issue for making more complex tests for free
. As current generator produces multiple alloc
calls allocating minimum 10 pages, would be nice to free those very possibly unused in current fuzzer pages, instead of freeing pages with active data for a program that mostly uses them. I afraid these changes can lower amount of executions for update_pages_data
in journal notes handler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it open @StackOverflowExcept1on ?
As I figured out this PR is unrelated to 3382. The last one in the logs was But in general, we can think about how to reduce the number of incorrect |
Closed as not solving the problem stated in #3382. |