diff options
| author | van Hauser <vh@thc.org> | 2020-08-31 19:04:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 19:04:37 +0200 |
| commit | 2dffed1cffcd78db16412d0531d2976bfd3bc0fe (patch) | |
| tree | dd41be1ffcc9e471591d7c7bd899baf1987aeb97 /unicorn_mode | |
| parent | 42ef1968a530d5fe598d53e93431dfcff3727b4b (diff) | |
| parent | e93f78eca53e3b1542d109fd9b4c634831e9fd63 (diff) | |
| download | afl++-2dffed1cffcd78db16412d0531d2976bfd3bc0fe.tar.gz | |
Merge pull request #534 from AFLplusplus/dev
push to stable for GSOC
Diffstat (limited to 'unicorn_mode')
| -rwxr-xr-x | unicorn_mode/build_unicorn_support.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unicorn_mode/build_unicorn_support.sh b/unicorn_mode/build_unicorn_support.sh index 841728d7..b4d2058f 100755 --- a/unicorn_mode/build_unicorn_support.sh +++ b/unicorn_mode/build_unicorn_support.sh @@ -70,6 +70,11 @@ MAKECMD=make TARCMD=tar if [ "$PLT" = "Linux" ]; then + MUSL=`ldd --version 2>&1 | head -n 1 | cut -f 1 -d " "` + if [ "musl" = $MUSL ]; then + echo "[-] Error: Unicorn instrumentation is unsupported with the musl's libc." + exit 1 + fi CORES=`nproc` fi |
