nezha-dt / nezha

Differential fuzzing for the masses!
149 stars 25 forks source link

Problem in Tutorial #3

Open ppashakhanloo opened 5 years ago

ppashakhanloo commented 5 years ago

When I try to follow the tutorial by running mkdir -p out && ./a.out -diff_mode=1 -artifact_prefix=out/ I get the following error:

INFO: Seed: 3228985162
a.out: ./FuzzerTracePC.cpp:52: void fuzzer::TracePC::InitializeDiffCallbacks(fuzzer::ExternalFunctions *): Assertion `EF->__sanitizer_update_counter_bitset_and_clear_counters' failed.
Aborted
nettrino commented 5 years ago

@ppashakhanloo apologies for the late response -- will look into this. Without having run it though looks like a discrepancy between compiler/libFuzzer versions. what versions are you running?

wcventure commented 5 years ago

@nettrino Hi, I also have this problem.

When I try to follow the tutorial by running mkdir -p out && ./a.out -diff_mode=1 -artifact_prefix=out/ I get the following error:

INFO: Seed: 3623488249
a.out: ./FuzzerTracePC.cpp:52: void fuzzer::TracePC::InitializeDiffCallbacks(fuzzer::ExternalFunctions *): Assertion `EF->__sanitizer_update_counter_bitset_and_clear_counters' failed.
Aborted

I really hope Nezha can run. Can you help me solve this problem? My compiler version is clang version 6.0.1 (tags/RELEASE_601/final)