Skip to content

BrowserEngineCore tvOS xcode15.4 b1

Alex Soto edited this page May 2, 2024 · 1 revision

#BrowserEngineCore.framework

diff -ruN /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEMemory.h /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEMemory.h
--- /Applications/Xcode_15.3.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEMemory.h	2024-02-10 02:22:18
+++ /Applications/Xcode_15.4.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/BrowserEngineCore.framework/Headers/BEMemory.h	2024-04-05 07:02:44
@@ -113,12 +113,17 @@
 void be_memory_inline_jit_restrict_rwx_to_rw_with_witness(void)
 {
     __asm__ volatile (
+#ifdef __arm64e__
+    ".arch_extension pauth" "\n"
+#endif
     "adr x0, %=f" "\n"
 
     "movz x1, #" _BE_STRINGIZE_VALUE_OF(((BE_JIT_WRITE_PROTECT_TAG >>  0) & 0xFFFF)) ", lsl #0 \n"
     "movk x1, #" _BE_STRINGIZE_VALUE_OF(((BE_JIT_WRITE_PROTECT_TAG >> 16) & 0xFFFF)) ", lsl #16\n"
 
+#ifdef __arm64e__
     "pacib x0, x1" "\n"
+#endif
 
     "bl " _BE_SYMBOL_STRING(be_memory_inline_jit_restrict_rwx_to_rw_with_witness_impl) "\n"
     "%=:" "\n"
Clone this wiki locally