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

Remove base-pattern for Monitor #2953

Merged
merged 3 commits into from
Feb 8, 2025

Conversation

Evian-Zhang
Copy link
Contributor

Previously, OnDiskTomlMonitor, OnDiskJsonMonitor, OnDiskJsonAggregateMonitor take a base monitor for wrapping. However, after #2940 and #2948, monitors could be completely independent, and the wrap is no longer needed. As a result, the base-pattern can be safely removed. To use multiple monitors together, use libafl::combine_monitor! instead.

@Evian-Zhang
Copy link
Contributor Author

I didn't modify any libafl_qemu's code, so I guess the CI's failure is not my fault?

@tokatoka
Copy link
Member

tokatoka commented Feb 8, 2025

can you fix clippy?

@tokatoka
Copy link
Member

tokatoka commented Feb 8, 2025

ah ok it's that they updated clippy...
i'll fix on monday

@Evian-Zhang
Copy link
Contributor Author

@tokatoka I fix the clippy warning in #2954, but the fuzzer in CI failed.

@tokatoka
Copy link
Member

tokatoka commented Feb 8, 2025

yeah ik that script is bad

@tokatoka tokatoka merged commit abe9551 into AFLplusplus:main Feb 8, 2025
106 checks passed
@domenukk
Copy link
Member

Instead of the combine_monitor macro, can't we use the tuple_list macro like everywhere else in the lib?

@Evian-Zhang
Copy link
Contributor Author

Oh yes, you are right. Will open a PR when I have time.

riesentoaster pushed a commit to riesentoaster/LibAFL that referenced this pull request Feb 12, 2025
* Remove base-pattern for Monitor

* Fix runtime parameter for log_record

---------

Co-authored-by: Dongjia "toka" Zhang <[email protected]>
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

Successfully merging this pull request may close these issues.

3 participants