X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/8665da0c32ae1736e981caa4fbed7091423b048b..b6961e537b5468dc0458808fdacba4a3291e1d48:/Baton.hpp diff --git a/Baton.hpp b/Baton.hpp new file mode 100644 index 0000000..45f0ec9 --- /dev/null +++ b/Baton.hpp @@ -0,0 +1,12 @@ +#include +#include + +struct Baton { + void (*_pthread_set_self)(pthread_t); + int (*pthread_create)(pthread_t *, const pthread_attr_t *, void *(*)(void *), void *); + int (*pthread_detach)(pthread_t); + void *(*dlopen)(const char *, int); + mach_port_t (*mach_thread_self)(); + kern_return_t (*thread_terminate)(thread_act_t); + char library[]; +};