make afl-system-config available as system-config#371
make afl-system-config available as system-config#371smoelius merged 15 commits intorust-fuzz:masterfrom vanhauser-thc:master
Conversation
|
Thank you very much for this PR. However, I'm not sure how I feel about this: afl.rs/afl/src/bin/cargo-afl.rs Line 175 in 878870e In particular, I'm not sure we should suggest that users run Something like this came up before, and the solution I chose then was to instruct the user on how to run afl.rs/afl/src/bin/cargo-afl.rs Lines 233 to 242 in 8c8a0cd Do you sympathize with my concerns about |
|
I am not a big rust guy :) IMHO |
|
how about this? |
Just to be sure we're on the same page, you're suggesting that the
Is that right? |
|
Yes exactly |
smoelius
left a comment
There was a problem hiding this comment.
Thank you again for this PR. I agree that having a system-config subcommand will be convenient.
Co-authored-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
Co-authored-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
Co-authored-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
|
I implemented all changes with the exception to make the sudo call stuff prettier/streamlined. this is beyond my limited rust skills ... :( |
|
I'm trying to understand the CI failures, which has caused me to find this explanation of Furthermore, I see these lines in launchctl unload -w ${SL}/LaunchAgents/${PL}.plist >/dev/null 2>&1
sudo launchctl unload -w ${SL}/LaunchDaemons/${PL}.Root.plist >/dev/null 2>&1That is, for Mac, it looks like Am I misinterpreting the above lines? |
|
FWIW, here is a slight reworking of With this variant, CI passes. How do you think we should proceed? |
no it needs to run under root/run with sudo. I do not know why there is an extra sudo in there :-) I did not code that part. but it works :) I merged your changes to afl-system-config, I booted up my macos mini I never use and it didnt work before, with your patch it does. so this will need a new afl++ release or are you fine to pin AFL++ to the current stable branch? |
I'm glad to hear that!
I'm fine to pin to the current stable branch for now. I would like to treat this new subcommand as a breaking change. There are other changes I want to include in the next breaking-change release (e..g., this and this), and it will take some time for me to prepare them. If a new AFL++ release is not out before then, we can revisit. Can I impose on you to commit the last two suggestions and update the AFL++ submodule? After that, I think this should be mergeable. |
Co-authored-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
Co-authored-by: Samuel Moelius <35515885+smoelius@users.noreply.github.com>
|
Made the last changes, update the AFL++ commit, CI is now green. |
You're right, of course. My reason for wanting to consider the change breaking is that if (hypothetically) a user objects to Thanks a lot for all of your hard work on this. |
No description provided.