Added LD_PRELOAD library to monitor msync calls in testing

This commit is contained in:
Patrick J Cherry
2018-02-07 21:45:20 +00:00
parent 55548cc969
commit 79181b3153
4 changed files with 86 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
SRC := $(wildcard *.c)
OBJS := $(SRC:%.c=%.o)
all: $(OBJS)
clean:
$(RM) $(OBJS)
%.o: %.c
gcc -shared -fPIC -ldl -o $@ $<
.PHONY: all clean