-
Notifications
You must be signed in to change notification settings - Fork 127
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
Installation is currently hit & miss on mac os #1
Comments
For the git error: Right, that only works if you have ssh key configured in github. I'll make a note of that in the readme. First time I see the 2nd error though. Do you have Xcode installed and have you ran it at least once (it installs some tools only on the 1st run)? |
Definitely have xcode installed/xcode-select ran long ago, etc. Tried first on a "clean" setup but with git and command line dev, since I may point students at this in a class this spring, but then on my normal dev machine, which is compiling things all over the place. I'm very interested in getting this running, be really nice to have a mac-friendly fuzzer come with https://github.com/trailofbits/deepstate, especially one that makes custom mutators (so we could add awareness of test structure) easy! |
Does running |
Hi, |
issue solved with " brew upgrade cmake" |
Cool! Glad to hear that updating cmake resolves the issue. @agroce Does this resolve the issue for you as well? |
Will check! |
Fixed. And
works. When I tried to use it on a DeepState executable, it didn't work, but I'm guessing this is just me not having grasped all the required arguments' meanings, etc.:
|
ah, right, task_for_pid, that means the fuzzer doesn't have the rights to attach to the target process. This can be resolved in one of two ways:
|
Likely related to the 2nd point about Xcode:
|
Aha! Permissions. Hmm. sudo should fix it, though for a more ambitious target not entirely thrilled to fuzz under sudo. :) |
Will try out when I am around the machine. |
sudo worked, but it hit another snag...
has it mostly been tried on xcode-compiled targets, rather than command line clang-built stuff? |
Hmm, that's a strange error to get, my test app works normally with sudo, but I can reproduce with your target. Not sure if sudo is to blame here or something else. Will investigate. |
So, it's not about sudo or build, I verified that the same error still occurs for Runlen even if it's built with Xcode and ran without sudo. The error in question is raised because the debugger is getting an exception from an unexpected task port and thus doesn't know how to handle it. It would be helpful if you could point out any potentially related behaviour in your target such as:
|
Right, fork() seems to be the problem here. If you add |
Thanks! Of course. I should have guessed, fork is always the villain. |
Non-trivial enough I'll definitely want to set up a front end! |
Works! Wonder if I can work around having to sudo... |
First, the proposed way to grab TinyInst doesn't work:
Changing to just use the https for the TinyInst repo works.
Second, when you try to build:
The text was updated successfully, but these errors were encountered: