简体   繁体   English

AArch64 上的堆栈金丝雀存储在哪里?

[英]Where is the stack canary stored on AArch64?

Is there a special space for ARM64 to store the stack canary, like the %fs:<offset> on x86_64? ARM64 是否有特殊的空间来存储堆栈金丝雀,例如 x86_64 上的%fs:<offset> Where is the thread-local storage (TLS) stored for ARM64? ARM64 的线程本地存储 (TLS) 存储在哪里?

To the best of my knowledge arm64 Linux kernel is still adopting the old design with StackGuard , using one global canary for the whole kernel (confirmed by this paper. . (Stackguard explanation is here ). This line of arm64 Makefile seems to further confirm this. To the best of my knowledge arm64 Linux kernel is still adopting the old design with StackGuard , using one global canary for the whole kernel (confirmed by this paper. . (Stackguard explanation is here ). This line of arm64 Makefile seems to further confirm this .

About the second question in (arm64) tls.h there is a bunch of definitions for TLS, mainly used in (arm64) process.c .关于 (arm64) tls.h中的第二个问题,TLS 有一堆定义,主要用于 (arm64) process.c中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM