rust-fuzz / honggfuzz-rs

Fuzz your Rust code with Google-developed Honggfuzz !
https://crates.io/crates/honggfuzz
Apache License 2.0
448 stars 40 forks source link

honggfuzz does not build with recent versions of the Linux headers #68

Closed apoelstra closed 2 years ago

apoelstra commented 2 years ago

Looks like this was fixed upstream in https://github.com/google/honggfuzz/commit/90fdf81006614664ef05e5e3c6f94d91610f11b2 -- but on my system I get

  linux/bfd.c: In function ‘arch_bfdDisasm’:
  linux/bfd.c:231:5: error: too few arguments to function ‘init_disassemble_info’
    231 |     init_disassemble_info(&info, instr, arch_bfdFPrintF);
        |     ^~~~~~~~~~~~~~~~~~~~~
  In file included from linux/bfd.c:29:
  /usr/include/dis-asm.h:472:13: note: declared here
    472 | extern void init_disassemble_info (struct disassemble_info *dinfo, void *stream,
        |             ^~~~~~~~~~~~~~~~~~~~~
  make: *** [Makefile:259: linux/bfd.o] Error 1

with honggfuzz 0.5.54.