summaryrefslogtreecommitdiff
path: root/silly-malloc/README
blob: f5a0804a038996c56390c6cb1f09e4b5681fed8a (plain) (blame)
1
2
3
4
5
6
7
8
9
# Silly-Malloc

Randomly allocate less memory than wanted

## Usage
```bash
gcc -fPIC -shared teehee.c -o teehee.so
LD_PRELOAD=./teehee.so <whatever program>
```