aboutsummaryrefslogtreecommitdiff
path: root/ios-bootstrap/generic-dyld-inserted.m
diff options
context:
space:
mode:
authorcomex2015-01-28 02:54:21 -0500
committercomex2015-01-28 02:54:21 -0500
commit6536ff3cd2b2fac8a2068058735e77479341f19f (patch)
treeaa7186817874fc41ce8087cdcd4d520dbbc9b45a /ios-bootstrap/generic-dyld-inserted.m
parentsorta (diff)
downloadsubstitute-6536ff3cd2b2fac8a2068058735e77479341f19f.tar.gz
***yawn***
Diffstat (limited to 'ios-bootstrap/generic-dyld-inserted.m')
-rw-r--r--ios-bootstrap/generic-dyld-inserted.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/ios-bootstrap/generic-dyld-inserted.m b/ios-bootstrap/generic-dyld-inserted.m
new file mode 100644
index 0000000..532b844
--- /dev/null
+++ b/ios-bootstrap/generic-dyld-inserted.m
@@ -0,0 +1,5 @@
+#include <syslog.h>
+__attribute__((constructor))
+static void init() {
+ syslog(LOG_WARNING, "Hi!");
+}