| 17 | static void* volatile escaped_pointer; |
| 18 | |
| 19 | extern "C" __attribute__((noinline)) void allocate() { |
| 20 | Payload* value = new Payload(); |
| 21 | escaped_pointer = value; |
| 22 | delete value; |
| 23 | } |
| 24 | |
| 25 | static unsigned long uprobes_mapping_start() { |
| 26 | FILE* maps = std::fopen("/proc/self/maps", "r"); |