-
Notifications
You must be signed in to change notification settings - Fork 279
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
go-fuzz-build: embed support packages in binary? #252
Comments
@josharian Is the thinking that this would be the best approach (now that overlays of entire packages are supported):
That is excerpt from your comment at golang/go#30515 (comment) |
That’s what I was thinking, yes. I definitely still have an “ugh” reaction to it, but it should be reliable and simple for go-fuzz users. |
Most likely this can be done with the go-bindata-assetfs package, which is already vendored. Here is a sample Lines 23 to 26 in 1810d38
|
@josharian fyi, I filed #279 to track a potentially related issue. I suspect you might have been using https://github.com/kevinburke/go-bindata installed locally on your machine in the most recent If #279 is indeed an issue, do you think it would be OK to treat that as a separate pre-existing issue that does not gate any attempt here (in other words, to rely on a local installation of All that said, #279 might just be me being confused, so maybe it is a non-issue. |
No need to gate progress here on #279, although I suspect that in practice you might choose to. Up to you. Thanks for looking into this. |
It'd be nice if we could embed the support packages go-fuzz-build needs into the binary, rather than relying on the go tool being able to find them on disk. See discussion at golang/go#30515 (comment) and the following few comments.
https://go-review.googlesource.com/c/tools/+/172409/ added "package overlay" support to go/packages. This is a reminder issue to experiment with whether it would suffice for embedding our support packages, and if so, to start using it.
The text was updated successfully, but these errors were encountered: