[AltServer] Adds ALTDebugConnection to “debug” sideloaded apps

Allows AltServer to programmatically enable JIT execution in sideloaded apps.
This commit is contained in:
Riley Testut
2021-05-20 14:16:05 -07:00
parent 8857ccbf86
commit 52fe74fbea
8 changed files with 341 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
//
// ALTDebugConnection+Private.h
// AltServer
//
// Created by Riley Testut on 2/19/21.
// Copyright © 2021 Riley Testut. All rights reserved.
//
#import "ALTDebugConnection.h"
#include <libimobiledevice/libimobiledevice.h>
#include <libimobiledevice/debugserver.h>
NS_ASSUME_NONNULL_BEGIN
@interface ALTDebugConnection ()
@property (nonatomic, readonly) dispatch_queue_t connectionQueue;
@property (nonatomic, nullable) debugserver_client_t client;
- (instancetype)initWithDevice:(ALTDevice *)device;
- (void)connectWithCompletionHandler:(void (^)(BOOL success, NSError *_Nullable error))completionHandler;
@end
NS_ASSUME_NONNULL_END