Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,25 @@ jobs:
run: chmod +x scripts/test_batching_stress.sh
- name: Run batched-writer stress test (text + binary)
run: ./scripts/test_batching_stress.sh

jailbreak-control:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Run Agent IPC and multi-process control tests
run: |
./scripts/test_jailbreak_ipc.sh
./scripts/test_jailbreak_control.sh

jailbreak-packages:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install Theos prerequisites
run: brew install ldid
- name: Checkout Theos
run: git clone --recursive --depth 1 https://github.com/theos/theos.git "${RUNNER_TEMP}/theos"
- name: Build and inspect rootless and rootful packages
env:
THEOS: ${{ runner.temp }}/theos
run: ./scripts/test_jailbreak_packages.sh
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ __pycache__/
# SwiftPM
.build/
.swiftpm/

# Web Console
Web/console/node_modules/
Web/console/dist/
Web/console/*.tsbuildinfo

# Theos build output
Jailbreak/.theos/
Jailbreak/packages/
7 changes: 7 additions & 0 deletions Jailbreak/AppleTraceTweak.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
Filter = {
Bundles = (
"com.apple.UIKit"
);
};
}
15 changes: 15 additions & 0 deletions Jailbreak/Daemon/AgentRegistry.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface APTAgentRegistry : NSObject
- (instancetype)initWithSocketPath:(NSString *)socketPath;
- (BOOL)run:(NSError **)error;
- (NSArray<NSDictionary *> *)agentSnapshots;
- (nullable NSDictionary *)agentSnapshotWithIdentifier:(NSString *)identifier;
- (BOOL)sendCommand:(NSDictionary *)command
toAgentWithIdentifier:(NSString *)identifier
error:(NSError **)error;
@end

NS_ASSUME_NONNULL_END
Loading
Loading