blob: 0d2619248d259528f3201536eda669b99f850025 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
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
```
|