{"id":16670003,"url":"https://github.com/uroboro/runtime","last_synced_at":"2025-04-09T19:41:38.041Z","repository":{"id":69783231,"uuid":"53983088","full_name":"uroboro/Runtime","owner":"uroboro","description":"Objective-C runtime access in Objective-C","archived":false,"fork":false,"pushed_at":"2017-03-30T05:51:04.000Z","size":33,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T21:35:51.779Z","etag":null,"topics":["introspection","jailbreak","objective-c","reverse-engineering","runtime","theos"],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uroboro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-03-15T22:28:30.000Z","updated_at":"2022-11-29T18:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"5ce8dbaa-532b-47d1-bf62-3e3e45046d99","html_url":"https://github.com/uroboro/Runtime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uroboro%2FRuntime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uroboro%2FRuntime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uroboro%2FRuntime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uroboro%2FRuntime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uroboro","download_url":"https://codeload.github.com/uroboro/Runtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248100613,"owners_count":21047826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["introspection","jailbreak","objective-c","reverse-engineering","runtime","theos"],"created_at":"2024-10-12T11:36:33.619Z","updated_at":"2025-04-09T19:41:38.035Z","avatar_url":"https://github.com/uroboro.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Runtime: *Objective-C runtime access in Objective-C*\n\n[![Travis Status](https://travis-ci.org/uroboro/Runtime.svg)](https://travis-ci.org/uroboro/Runtime)\n\nFor use with Cycript.\n\nCurrently can read this:\n\n``` objc\n@protocol XYZProtocol\n- (void)aMethod;\n@end\n@interface XYZClass : NSObject \u003cXYZProtocol\u003e {\n\tint **I[9];\n\tvoid *(*P)(int, char *);\n\tCGFloat CGF[3];\n\tCGFloat asdf[2][3][4];\n\tunion ting { long L; char C[4]; struct hongs { char C:4; int B[2]; } hongs; } tong;\n\tstruct thing { void *(*P[2])(); int I; } thang;\n\tunion thongs { char C:4; int B[2]; } thungs[9875];\n}\n@property char c;\n@property (nonatomic, retain) id object;\n@property (nonatomic, assign) union thong1 { int II:4; int B[2]; } thung1;\n@property (nonatomic, assign) union thong2 { int B[2]; char C:4; } thung2;\n@property (nonatomic, assign) struct thing3 { int I; } thang3;\n@property (atomic, assign, getter=isOtherObject, setter=otherObjectIs:) BOOL otherObject;\n- (void)aMethodWithArg:(id)arg;\n- (int *)aMethodWithArg:(id)arg0 andArg:(int[2])arg1;\n- (void)aMethod;\n@end\n@implementation XYZClass\n- (void)aMethod {\n\trLog(@\"I got called\");\n}\n- (void)aMethodWithArg:(id)arg {\n\trLog(@\"I got called with arg: %@\", [arg description]);\n}\n- (int *)aMethodWithArg:(id)arg0 andArg:(int[2])arg1 {\n\trLog(@\"I got called with arg0:%@ and arg1:%d\", [arg0 description], arg1[0]);\n\tstatic int a[2] = { 0, 1 };\n\treturn a;\n}\n@end\n```\n\nInto this:\n```objc\n@interface XYZClass \u003cXYZProtocol\u003e {\n    int **I[9];\n    /* fp */ void *(**P)(void *);\n    float CGF[3];\n    float asdf[2][3][4];\n    union ting { long L; char C[4]; struct hongs { char C:4; int B[2]; } hongs; } tong;\n    struct thing { /* fp */ void *(**P[2])(void *); int I; } thang;\n    union thongs { char C:4; int B[2]; } thungs[9875];\n}\n@property (assign) char c;\n@property (nonatomic, retain) id object;\n@property (nonatomic, assign) union thong1 { char II:4; int B[2]; } thung1;\n@property (nonatomic, assign) union thong2 { int B[2]; char C:4; } thung2;\n@property (nonatomic, assign) struct thing3 { int I; } thang3;\n@property (assign, getter=isOtherObject, setter=otherObjectIs:) char otherObject;\n- (void)aMethod;\n- (void)aMethodWithArg:(id)arg0;\n- (int *)aMethodWithArg:(id)arg0 andArg:(int [2])arg1;\n@end\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furoboro%2Fruntime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Furoboro%2Fruntime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Furoboro%2Fruntime/lists"}