There are four files

- ptmx_sim.h: header file for some utils
- ptmx_sim.c: utils to fake a HCI controller
- exp.c: adopts the userfaultfd to cause UAF

You can compile the executable with:
gcc exp.c ptmx_sim.c -o exp -lpthread
