Angora icon indicating copy to clipboard operation
Angora copied to clipboard

Angora compile IR

Open aug2uag opened this issue 3 years ago • 1 comments

Would Angora have support to compile from LLVM or BAP derived intermediate representation?

Trying to analyze binary (pre-compiled) but couldn't figure out how:

 INFO  angora::fuzz_main > CommandOpt { mode: LLVM, id: 0, main: ("/input/azorult2", []), track: ("/input/azorult2", []), tmp_dir: "./output/bar/tmp", out_file: "./output/bar/tmp/cur_input", forksrv_socket_path: "./output/bar/tmp/forksrv_socket", track_path: "./output/bar/tmp/track", is_stdin: true, search_method: Gd, mem_limit: 200, time_limit: 1, is_raw: true, uses_asan: false, ld_library: "$LD_LIBRARY_PATH:/clang+llvm/lib", enable_afl: true, enable_exploitation: true }
thread 'main' panicked at 'The program is not complied by Angora', fuzzer/src/check_dep.rs:55:9

aug2uag avatar Apr 09 '21 00:04 aug2uag

Angora actually supports compiling from LLVM IR or bytecode. You may see here for more details on how it's done.

DataCorrupted avatar Nov 17 '21 07:11 DataCorrupted