Skip to content

Commit ebaf006

Browse files
authored
Merge pull request #53 from liudayu/patch-1
Add 5s offset description.
2 parents 2250da6 + 95dcd02 commit ebaf006

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

yalu102/offsets.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,19 @@ void init_offsets() {
3434
rootvnode_offset = 0x5aa0b8; /* this one is wrong i think but no devices to test */
3535
} else if (strcmp(u.version, "Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_S8000") == 0) {
3636
allproc_offset = 0x5a8438;
37-
procoff = 0x360; // iphone 6s/ipad pro (?), 10.2
37+
procoff = 0x360; // iPhone 6s/iPad pro (?), 10.2
3838
rootvnode_offset = 0x5ae0b8;
3939
} else if (strcmp(u.version, "Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:08 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_T7000") == 0) {
4040
allproc_offset = 0x5b8468;
41-
procoff = 0x360; // iphone 6, 10.2, credit to @Andywiik
41+
procoff = 0x360; // iPhone 6, 10.2, credit to @Andywiik
4242
rootvnode_offset = 0x5be0b8;
4343
} else if (strcmp(u.version, "Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_T7001") == 0) {
4444
allproc_offset = 0x5b8528;
45-
procoff = 0x360; // ipad air 2 (wifi), 10.2, @nicogibbons (github)
45+
procoff = 0x360; // iPad air 2 (wifi), 10.2, @nicogibbons (github)
4646
rootvnode_offset = 0x5be0b8;
4747
} else if (strcmp(u.version, "Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:09 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_S5L8960X") == 0) {
4848
allproc_offset = 0x5ac418;
49-
procoff = 0x360;
49+
procoff = 0x360; // iPhone 5s, 10.2, @jtv7 (github)
5050
rootvnode_offset = 0x5b60b8;
5151
} else if (strcmp(u.version, "Darwin Kernel Version 16.3.0: Tue Nov 29 21:40:08 PST 2016; root:xnu-3789.32.1~4/RELEASE_ARM64_T8010") == 0) {
5252
allproc_offset = 0x5ec478;; /* @Mila432 */

0 commit comments

Comments
 (0)