Vanadium
Vanadium copied to clipboard
use ShadowCallStack
Interesting comments before closing upstream: https://bugs.chromium.org/p/chromium/issues/detail?id=505015
It was deprecated and removed, in the end.
I think they should have considered the impact of memory tagging (ARMv8.5 MTE). Android is adopting ShadowCallStack, although that's much simpler, and avoids the issues of leaks.
We're going to be considering ShadowCallStack rather than SafeStack. SafeStack support for Android was abandoned and ShadowCallStack is what they're using for the kernel and substantial parts of userspace. ShadowCallStack is only available for arm64 since the x86 implementation was seriously flawed due to how returns work there.