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
One requirement for reserving x18 as a platform register for ShadowCallStack is that all the binaries should be compiled with -ffixed-x18.
@samitolvanen mentioned that binary validator can check for usage of x18.
Maybe this is not needed but I'm creating a task in case this comes up later and we can refer back. If there are other usages of having a binary validator, maybe this could be worth having one?
An example from when a binary validator would(did?) have helped Apple when Cyclone had a bug handling zcz instructions.
For Cylone, the instruction "movi.2d vD, #0" is executed incorrectly in some rare
circumstances. Work around the issue conservatively by avoiding the instruction entirely.
This patch changes CodeGen so that problematic instructions are never
generated, and the AsmParser so that an equivalent instruction is used (with a
warning).
The text was updated successfully, but these errors were encountered:
appujee
changed the title
[Investigation] Verify if binary is built with x18 reserved register.
[Investigation] Verify if binary is built with SCS reserved register.
Mar 29, 2023
One requirement for reserving x18 as a platform register for ShadowCallStack is that all the binaries should be compiled with
-ffixed-x18
.@samitolvanen mentioned that binary validator can check for usage of x18.
Maybe this is not needed but I'm creating a task in case this comes up later and we can refer back. If there are other usages of having a binary validator, maybe this could be worth having one?
An example from when a binary validator would(did?) have helped Apple when Cyclone had a bug handling zcz instructions.
From: https://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20171218/511205.html
The text was updated successfully, but these errors were encountered: