From 3b0a87254f8a1e48a155f5571c274297353a0106 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 20 Sep 2024 20:46:37 -0400 Subject: start mld, add loading of object files, add fuzzing support --- test/Makefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 test/Makefile (limited to 'test/Makefile') diff --git a/test/Makefile b/test/Makefile new file mode 100644 index 0000000..1a97dd6 --- /dev/null +++ b/test/Makefile @@ -0,0 +1,20 @@ +CC=afl-cc +LD=afl-cc + +BIN=../bin + +none: + +clean: + rm -fr $(BIN) + +masm: clean + make -C ../masm build CC=$(CC) LD=$(LD) + $(BIN)/masm/masm -o ./mld/test.o ./masm/test.asm + +mld: clean + make -C ../mld build CC=$(CC) LD=$(LD) + $(BIN)/mld/mld -o ./msim/test ./mld/test.o + +msim: clean + make -C ../msim build CC=$(CC) LD=$(LD) -- cgit v1.2.3-freya