StikDebug/StikJIT/idevice/jit.h

18 lines
539 B
C

//
// jit.h
// StikJIT
//
// Created by Stephen on 3/27/25.
//
// jit.h
#ifndef JIT_H
#define JIT_H
#include "idevice.h"
typedef void (^LogFuncC)(const char* message, ...);
typedef void (^DebugAppCallback)(int pid, struct DebugProxyHandle* debug_proxy, dispatch_semaphore_t semaphore);
int debug_app(IdeviceProviderHandle* tcp_provider, const char *bundle_id, LogFuncC logger, DebugAppCallback callback);
int debug_app_pid(IdeviceProviderHandle* tcp_provider, int pid, LogFuncC logger, DebugAppCallback callback);
#endif /* JIT_H */