You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+85-8Lines changed: 85 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@
3
3
[](https://gitter.im/showxu/objc4?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
This project is a buildable and debuggable version of latest Objective-C runtime (**objc4-787.1**) on [Apple Open Source](https://opensource.apple.com/tarballs/objc4/)
6
+
This project is a buildable and debuggable version of latest Objective-C runtime (**objc4-818.2**) on [Apple Open Source](https://opensource.apple.com/tarballs/objc4/)
7
7
8
8
-[Requirement](#Requirement)
9
9
-[Installation](#Installation)
@@ -15,11 +15,12 @@ This project is a buildable and debuggable version of latest Objective-C runtime
[](https://developer.apple.com/macos/)
20
20
21
21
| macOS | Version | objc4 tarball version |
22
22
|------|--------| ---- |
23
+
|[](https://developer.apple.com/macos/)||[objc4-818.2](https://github.com/showxu/objc4/releases/tag/objc4-818.2)|
|[](https://developer.apple.com/macos/)||[objc4-723](https://github.com/showxu/objc4/releases/tag/objc4-723)|
@@ -35,10 +36,10 @@ After building the **objc scheme**, manually integrate generated `libobjc.A.dyli
@@ -79,7 +83,7 @@ After building the **objc scheme**, manually integrate generated `libobjc.A.dyli
79
83
80
84
#### Bridge OS
81
85
82
-
In public macosx sdk (latest Xcode 12.2), bridgeos (e.g. `__has_feature(attribute_availability_bridgeos)`) is unavailable, bridgeos availability should be removed or commented-out.
86
+
In public macosx sdk (latest Xcode 12.3), bridgeos (e.g. `__has_feature(attribute_availability_bridgeos)`) is unavailable, bridgeos availability should be removed or commented-out.
83
87
84
88
#### dyld
85
89
@@ -89,6 +93,79 @@ In latest dyld-733.6 (dyld-421.2 later), apple use this [ruby script](https://op
89
93
90
94
`<kern/restartable.h>` is generated form `restartable.defs` in xnu tarball during building xun kernel, which is a little different from the one that shipped with public sdk that located in `/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/kern/restartable.h`.
91
95
96
+
#### Cambria framework
97
+
98
+
Have no idea about this framework so far, maybe related with `-loah` for lib `oah`. Related Code should be commented out for now.
99
+
100
+
```objc
101
+
// File objc-cache.mm
102
+
//
103
+
// Line 87 ~ 88
104
+
#include<Cambria/Traps.h>
105
+
#include<Cambria/Cambria.h>
106
+
//
107
+
// ···
108
+
//
109
+
// Line 1121 ~ 1128
110
+
if (oah_is_current_process_translated()) {
111
+
kern_return_t ret = objc_thread_get_rip(threads[count], (uint64_t*)&pc);
112
+
if (ret != KERN_SUCCESS) {
113
+
pc = PC_SENTINEL;
114
+
}
115
+
} else {
116
+
pc = _get_pc_for_thread (threads[count]);
117
+
}
118
+
```
119
+
120
+
#### `#include <os/feature_private.h>`
121
+
122
+
Have no idea about this haeder so far. Related Code should be commented out for now.
0 commit comments