From 1abb10008fa9d321bbdeda8176dfc83c40e33c71 Mon Sep 17 00:00:00 2001 From: axtloss Date: Wed, 3 Jul 2024 18:38:44 +0200 Subject: silly-malloc: Add project --- silly-malloc/README | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 silly-malloc/README (limited to 'silly-malloc/README') diff --git a/silly-malloc/README b/silly-malloc/README new file mode 100644 index 0000000..0d26192 --- /dev/null +++ b/silly-malloc/README @@ -0,0 +1,10 @@ +# Silly-Malloc + +Randomly allocate less memory than wanted + +## Usage +```bash +gcc -fPIC -shared teehee.c -o teehee.so +gcc meow.c -o meow +LD_PRELOAD=./teehee.so ./meow +``` -- cgit v1.2.3