Skip to content

Instantly share code, notes, and snippets.

anonymous
anonymous / debuggerutil.c
Created March 30, 2017 11:37
#include <stdlib.h>
#include <unistd.h>
#include <sys/stat.h>
#include <fcntl.h>
bool isDebuggerAttached()
{
char buf[128] = {};
bool debugger_present = false;