From 33da6656474d2eae36f16195b73b33ce9832e570 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Fri, 26 Feb 2021 23:45:41 -0500 Subject: [PATCH] Use lowmemory mode for secp256k1 fuzzing, reducing memcpy time --- fuzz/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 0ac1b5ce..fc8e6d59 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -19,7 +19,7 @@ stdin_fuzz = [] [dependencies] afl = { version = "0.4", optional = true } lightning = { path = "../lightning", features = ["fuzztarget"] } -bitcoin = { version = "0.26", features = ["fuzztarget"] } +bitcoin = { version = "0.26", features = ["fuzztarget", "secp-lowmemory"] } hex = "0.3" honggfuzz = { version = "0.5", optional = true } libfuzzer-sys = { git = "https://github.com/rust-fuzz/libfuzzer-sys.git", optional = true } -- 2.30.2