honggfuzz: install libraries, too
honggfuzz embeds its .a libraries *inside* of the hfuzz-cc executable, extracts them when you invoke it, and links the .o file against them. But that doesn't help if you wanted to bind it to other languages such as Rust, for example. If you're using honggfuzz-rs, it embeds this automatically too, but if you're doing it yourself, you need these libraries to get anywhere. Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
696c33465c
commit
d8cd4e60d1
1 changed files with 8 additions and 0 deletions
|
@ -35,6 +35,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/lib
|
||||
cp libhfuzz/libhfuzz.a $out/lib
|
||||
cp libhfuzz/libhfuzz.so $out/lib
|
||||
cp libhfcommon/libhfcommon.a $out/lib
|
||||
cp libhfnetdriver/libhfnetdriver.a $out/lib
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description =
|
||||
"A security oriented, feedback-driven, evolutionary, easy-to-use fuzzer";
|
||||
|
|
Loading…
Reference in a new issue