繁体   English   中英

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

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

ARM64 是否有特殊的空间来存储堆栈金丝雀,例如 x86_64 上的%fs:<offset> 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 .

关于 (arm64) tls.h中的第二个问题,TLS 有一堆定义,主要用于 (arm64) process.c中。

暂无
暂无

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

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