作者:jiuye | 来源:互联网 | 2024-10-13 19:09
1.Googlehonggfuzz安装$githttps:github.comgooglehonggfuzz.git$cdhonggfuzz$make$makeinstall2.安
1. Google honggfuzz安装
$ git https://github.com/google/honggfuzz.git
$ cd honggfuzz
$ make
$ make install
2. 安装错误及解决方案
2.1 bfd.h: No such file or directory
linux/bfd.c:28:10: fatal error: bfd.h: No such file or directory
28 | #include <bfd.h>
| ^~~~~~~
compilation terminated.
make: *** [Makefile:263: linux/bfd.o] Error 1
解决方案
$ sduo apt-get install binutils-dev
2.2 libunwind-ptrace.h: No such file or directory
linux/unwind.c:27:10: fatal error: libunwind-ptrace.h: No such file or directory
27 | #include <libunwind-ptrace.h>
| ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:263: linux/unwind.o] Error 1
解决方案
$ sudo apt-get install libunwind-dev