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

How to compile and install from local directory? #355

Open
personnumber3377 opened this issue Jul 28, 2024 · 1 comment
Open

How to compile and install from local directory? #355

personnumber3377 opened this issue Jul 28, 2024 · 1 comment

Comments

@personnumber3377
Copy link

Hi!

I am new to golang and this is probably bit of a dumb question to ask, but how do I compile and install this from a local directory on my own machine? I know that to fetch it remotely to just run go install github.com/dvyukov/go-fuzz/go-fuzz@latest github.com/dvyukov/go-fuzz/go-fuzz-build@latest and it should work, but my point is how do I make changes locally to the code and then compile it again?

I want to make changes to the source code to support custom mutators. I have written the custom mutator in python and it basically just takes a string from the input string and then repeats it many times and then puts those repeats somewhere in the input. There has been talk about custom mutators apparently not being considered: #319 but I decided to try to implement it myself.

Thanks in advance!

@josharian
Copy link
Collaborator

how do I make changes locally to the code and then compile it again?

go install ./go-fuzz ./go-fuzz-build

these are good questions to ask https://claude.ai/ :)

custom mutators

it's not hard to hack one into the code. the hard part, in my experience, is assessing whether it's worth the cpu cycles.

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

No branches or pull requests

2 participants