-
Notifications
You must be signed in to change notification settings - Fork 98
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
setup: cargo xtask fuzz
or xflowey restore
should install lcov
#586
Comments
Hello, I’m starting to look into working on this project, and I have a question about this issue. Right now, I'm assuming that the current approach relies on the executable being installed through the package manager, which can’t be done using the build tools. Would the plan be to somehow install |
Hi @EMachin3 , thanks for your question and interest in OpenVMM. You're spot on. |
@daprilik : it looks like this is a non-trivial amount of work (not a major effort, but not a one liner). It seems we would need to do something like this:
This makes me think then that we'd want to refactor this all out into a
|
I would warn against equating "trivial" with "one-liner", both in flowey, and in general. There are plenty of "one-liners" that are non-trivial, and many hunks of code that are verbose, but easy to follow. For better or worse, flowey currently falls firmly into the latter category (at least, most of the time). In any case, regarding the steps you've outlined:
So yeah, regarding nightly Rust... At the moment, the That said, now that we are open-source, I expect we'll want to run various tools that require nightly in CI (notably: running tests under I see 2 options here:
IMO, I would lean towards the easy approach for now, and in the context of this particular Issue, simply update the I'll also note that we currently have an internal-only flowey pipeline which uses these various fuzzer-related nodes to build and submit fuzzers to our OneFuzz infrastructure. That's not particularly helpful here, ofc, given that you'd need to be a MSFT employee to see it... That said, there's nothing in that pipeline that is particularly complicated / useful to bring back to oss, so aside from being a useful point-of-reference for folks at MSFT, it's not directly related to the problem at hand. |
That's all fair enough, and thanks Daniel. I'll look at the internal pipeline to see if I glean anything over. FWIW, the "trivial" to which I was referring was in part what you mentioned: the downstream implications of juggling different rust toolchains, transitive dependencies, and the like. While I live in the systems space, where single line (or bit!) differences have significant downstream consequences, I am leery of one-line config-is-code changes as well. I think we're saying roughly the same thing here: I just want to emphasize that I hear and support what you're saying about conflating amount of code vs. ease of implementation. |
Filing the feedback for discussion, but it's unclear where we draw the line of auto installed tooling. It was mildly annoying to install
lcov
only after I did a fuzz run. The docs already warn you to install it manually, but it would be nice if the tooling did it for ya.The text was updated successfully, but these errors were encountered: