Open RoelVdP opened 5 years ago
More analysis
~/conftst$ cat conftest.c
/* confdefs.h */
#define PACKAGE_NAME "shadow"
#define PACKAGE_TARNAME "shadow"
#define PACKAGE_VERSION "4.6"
#define PACKAGE_STRING "shadow 4.6"
#define PACKAGE_BUGREPORT "pkg-shadow-devel@lists.alioth.debian.org"
#define PACKAGE_URL "https://github.com/shadow-maint/shadow"
#define PACKAGE "shadow"
#define VERSION "4.6"
/* end confdefs.h. */
int main () { return 0; }
The following is using llvm4 compiled using the instructions from the README and Angora build from the main Angora trunk;
~/conftst$ /home/roel/Angora-llvm4/bin/angora-clang ./conftest.c
error: unable to load plugin '/home/roel/Angora-llvm4/bin/unfold-branch-pass.so':
'/home/roel/Angora-llvm4/bin/unfold-branch-pass.so: undefined symbol: _ZTVN4llvm8CallInstE'
error: unable to load plugin '/home/roel/Angora-llvm4/bin/angora-llvm-pass.so':
'/home/roel/Angora-llvm4/bin/angora-llvm-pass.so: undefined symbol: _ZTVN4llvm17GetElementPtrInstE'
clang (LLVM option parsing): Unknown command line argument '-angora-dfsan-abilist=/home/roel/Angora-llvm4/bin/angora_abilist.txt'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-dfsan-abilist=/home/roel/Angora-llvm4/bin/angora_abilist.txt'?
clang (LLVM option parsing): Unknown command line argument '-angora-dfsan-abilist=/home/roel/Angora-llvm4/bin/dfsan_abilist.txt'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-dfsan-abilist=/home/roel/Angora-llvm4/bin/dfsan_abilist.txt'?
clang (LLVM option parsing): Unknown command line argument '-angora-exploitation-list=/home/roel/Angora-llvm4/bin/exploitation_list.txt'. Try: 'clang (LLVM option parsing) -help'
clang (LLVM option parsing): Did you mean '-precise-rotation-cost=/home/roel/Angora-llvm4/bin/exploitation_list.txt'?
Sorry for my late reply. I tried your commands, and can not reproduce this issue. Please try
cargo clean
cd llvm_mode && make clean
then recompile Angora.
Or tried the docker version we provide.
Then follow steps on https://github.com/AngoraFuzzer/Angora/blob/master/docs/example.md i.e.
Gives;
Errors;