diff options
| author | van Hauser <vh@thc.org> | 2024-07-01 08:57:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-01 08:57:38 +0200 |
| commit | 53409530b369e560c7f6f37ead5a5db9e116efd0 (patch) | |
| tree | 6449fa84e6b9e26849d298af881014b18f55dc0b /qemu_mode/hooking_bridge/Makefile | |
| parent | 36db3428ab16156dd72196213d2a02a5eadaed11 (diff) | |
| parent | 43014cd465eec8cc47eda041802001776dbb5dd5 (diff) | |
| download | afl++-53409530b369e560c7f6f37ead5a5db9e116efd0.tar.gz | |
Merge pull request #2141 from AFLplusplus/dev
push to stable
Diffstat (limited to 'qemu_mode/hooking_bridge/Makefile')
| -rw-r--r-- | qemu_mode/hooking_bridge/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qemu_mode/hooking_bridge/Makefile b/qemu_mode/hooking_bridge/Makefile new file mode 100644 index 00000000..dcc6f12a --- /dev/null +++ b/qemu_mode/hooking_bridge/Makefile @@ -0,0 +1,18 @@ +.PHONY: clean + +all: plugin +SRC=./src +BLD=./build +INC=-I./inc -I../qemuafl/include -I$(GLIB_H) -I$(GLIB_CONFIG_H) +# CC=gcc + +$(BLD)/patching.o:$(SRC)/patching.c + $(CC) -c -fPIC $(INC) -o $(BLD)/patching.o $(SRC)/patching.c + +plugin:$(SRC)/main.c $(BLD)/patching.o + $(CC) -c -fPIC $(INC) -o $(BLD)/plugin.o $(SRC)/main.c + $(CC) -shared -o $(BLD)/plugin.so $(BLD)/plugin.o $(BLD)/patching.o + +clean: + rm -rf $(BLD)/*.o + rm -rf $(BLD)/*.so \ No newline at end of file |
