Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Debian I also needed liblzma-dev as prerequisite #38

Closed
eddyp opened this issue Jun 14, 2020 · 0 comments
Closed

On Debian I also needed liblzma-dev as prerequisite #38

eddyp opened this issue Jun 14, 2020 · 0 comments

Comments

@eddyp
Copy link
Contributor

eddyp commented Jun 14, 2020

When trying to run the example:

cc -o honggfuzz cmdline.o display.o fuzz.o honggfuzz.o input.o mangle.o report.o sanitizers.o socketfuzzer.o subproc.o linux/arch.o linux/bfd.o linux/perf.o linux/pt.o linux/trace.o linux/unwind.o libhfcommon/libhfcommon.a  -pthread -lm -L/usr/local/include -lunwind-ptrace -lunwind-generic -lunwind  -llzma -lopcodes -lbfd -lrt -ldl -lm -g -ggdb -g3
Makefile:275: recipe for target 'honggfuzz' failed
make: Leaving directory '/home/eddy/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.49/honggfuzz'

--- stderr
/usr/bin/ld: cannot find -llzma
collect2: error: ld returned 1 exit status
make: *** [honggfuzz] Error 1

After installing it, it works fine:

------------------------[  0 days 00 hrs 02 mins 22 secs ]----------------------
  Iterations : 33843329 [33.84M]
  Mode [3/3] : Feedback Driven Mode
      Target : hfuzz_target/x86_64-unknown-linux-gnu/release/example
     Threads : 4, CPUs: 8, CPU%: 529% [66%/CPU]
       Speed : 229686/sec [avg: 238333]
     Crashes : 0 [unique: 0, blacklist: 0, verified: 0]
    Timeouts : 0 [1 sec]
 Corpus Size : 74, max: 8192 bytes, init: 0 files
  Cov Update : 0 days 00 hrs 00 mins 05 secs ago
    Coverage : edge: 37/80 [46%] pc: 1 cmp: 420
---------------------------------- [ LOGS ] ------------------/ honggfuzz 2.2 /-
 z:6 Tm:20us (i/b/h/e/p/c) New:0/0/0/0/0/2, Cur:0/0/0/0/0/2
@bors bors bot closed this as completed in 2c7a395 Jun 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant