PACCage should first cage leaving PAC bits intact then authenticate
[WebKit-https.git] / Source / JavaScriptCore / assembler / MacroAssemblerARM64E.h
index fd7eec8..9c6e775 100644 (file)
@@ -40,6 +40,7 @@ using Assembler = TARGET_ASSEMBLER;
 class MacroAssemblerARM64E : public MacroAssemblerARM64 {
 public:
     static constexpr unsigned numberOfPACBits = 25;
+    static constexpr uintptr_t nonPACBitsMask = (1ull << (64 - numberOfPACBits)) - 1;
 
     ALWAYS_INLINE void tagReturnAddress()
     {