wrap mutex type to enable future optimization

This commit is contained in:
Daniel Micay
2018-09-07 01:08:51 -04:00
parent fc2473e7ee
commit 49af83a817
3 changed files with 78 additions and 56 deletions

View File

@@ -7,7 +7,7 @@ hardened_malloc.so: $(OBJECTS)
$(CC) $(CFLAGS) $(LDFLAGS) -shared $^ $(LDLIBS) -o $@
chacha.o: chacha.c chacha.h
malloc.o: malloc.c malloc.h config.h memory.h pages.h random.h util.h
malloc.o: malloc.c malloc.h mutex.h config.h memory.h pages.h random.h util.h
memory.o: memory.c memory.h util.h
pages.o: pages.c pages.h memory.h util.h
random.o: random.c random.h chacha.h util.h