AngoraFuzzer / Angora

Angora is a mutation-based fuzzer. The main goal of Angora is to increase branch coverage by solving path constraints without symbolic execution.
Apache License 2.0
916 stars 166 forks source link

libdft64 repo not found readable during docker build #42

Closed hexcoder- closed 5 years ago

hexcoder- commented 5 years ago

thanks for the new pin_mode! The docker build failed (commit 7429a39) while building libdft64 on Ubuntu 16.04. Is the repo spinpx/libdft64 non public? Log excerpt follows:

+ mkdir /go
+ go get github.com/SRI-CSL/gllvm/cmd/...
+ git submodule update --init --recursive
Submodule 'pin_mode/libdft64' (git@github.com:spinpx/libdft64.git) registered for path 'pin_mode/libdft64'
Cloning into 'pin_mode/libdft64'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:spinpx/libdft64.git' into submodule path 'pin_mode/libdft64' failed
The command '/bin/sh -c ./build/docker_build.sh' returned a non-zero code: 128
spinpx commented 5 years ago

Sorry, I used wrong git repo, it should be git@github.com:AngoraFuzzer/libdft64.git . I have updated it on https://github.com/AngoraFuzzer/Angora/commit/79b9473ef8096b7f267bc38d620db672f8fdeb2e

hexcoder- commented 5 years ago

Thanks, but I don't have user 'git' on my system. The error messages stay the same:

+ mkdir /go
+ go get github.com/SRI-CSL/gllvm/cmd/...
+ git submodule update --init --recursive
Submodule 'pin_mode/libdft64' (git@github.com:AngoraFuzzer/libdft64.git) registered for path 'pin_mode/libdft64'
Cloning into 'pin_mode/libdft64'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:AngoraFuzzer/libdft64.git' into submodule path 'pin_mode/libdft64' failed
spinpx commented 5 years ago

I change it to https instead of git now. Also you should run docker with --privileged since it need to set /proc/sys/kernel/yama/ptrace_scope to 0

docker run --privileged -v /path-to-code-and-seed:/data -it --rm angora /bin/bash
hexcoder- commented 5 years ago

Thanks, it is working now. Closing issue.