Closed cryptomadco closed 4 years ago
Hi,
thanks for the report. I think you are missing the tool "lit", can you install llvm-10-tools and let us know if that works?
Maybe we need to add a check or mention this in the documentation.
Hey,
I just installed that, still I don't have it! So, the error still exists. seems installing llvm-10-tools do not results in installing lit .
@cryptomadco the easiest will be to get it from PyPI, e.g. via pip install lit
. Getting it from distribution packages is a bit more challenging because some distributions package it while others put it in a separate tools package or don't ship it at all.
@sebastianpoeplau Thanks, but here is the final problem after compilation :(
crypto@magma2:~/magma/fuzzers/symcc_afl/symcc/build$ ./symcc
/usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Do I missed to install or replace something ?
You need to pass a program to compile. See the example in the readme.
Yes, right!
So I assume this as a solved issue, thank you !
Hello .
I have the following output after "ninja check"
So where the problem is ?
using llvm 10 as said in the documentation . ubuntu 18 x64
The command before ninja check is :
cmake -D CMAKE_C_COMPILER=clang -D CMAKE_CXX_COMPILER=clang++ -G Ninja ../ -DQSYM_BACKEND=ON -DZ3_DIR="$FUZZER/z3/build/symcc/z3/cmake_conf"
FUZZER variable is : /home/crypto/symcc (symcc root) .
Thanks