Skip to content

Commit 3318cdb

Browse files
mx4claude
andcommitted
build: link ripemd160.o into the fuzz-parse target
hash.o now calls the bundled ripemd160(), so the fuzzer's object list needs ripemd160.o or the link fails with an undefined reference. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 3ba84ee commit 3318cdb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ lldb: apps/test/lldb.c
206206
### ./fuzz-parse --hex <bytes-from-the-crash-line>
207207
###
208208
FUZZ_OBJ = $(BLDDIR)/core/btc-message.o $(BLDDIR)/core/serialize.o
209-
FUZZ_OBJ += $(BLDDIR)/core/hash.o $(BLDDIR)/core/base58.o
209+
FUZZ_OBJ += $(BLDDIR)/core/hash.o $(BLDDIR)/core/ripemd160.o $(BLDDIR)/core/base58.o
210210
FUZZ_OBJ += $(BLDDIR)/lib/util/util.o $(BLDDIR)/lib/file/file.o
211211

212212
fuzz-parse: apps/test/fuzz-parse.c $(FUZZ_OBJ)

0 commit comments

Comments
 (0)