From 0e0fb17e26612caeea11600e2f17a54cecf651db Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Mon, 31 Oct 2022 17:53:04 -0600 Subject: Add fdleak tool This tool opens the specified number of file descriptors and then deletes the source file to create dead file descriptors. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a7669b5..3420642 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,13 @@ all: memleak balloon clean: - rm -vf memleak balloon + rm -vf memleak balloon fdleak memleak: cc --std=gnu99 -O2 -Wall src/memleak.c -o memleak balloon: cc --std=gnu99 -O2 -Wall src/balloon.c -o balloon + +fdleak: + cc --std=gnu99 -O2 -Wall src/fdleak.c -o fdleak -- cgit v1.2.3