[llvm-dev] Enable Safe Stack for Baremetal?
Zhaoshi Zheng via llvm-dev
llvm-dev at lists.llvm.org
Sun Mar 15 20:02:26 PDT 2020
Hello,
I'm assessing the work required to enable Safe Stack for a bare metal target.
Looking at compiler-rt/lib/safestack/, the current implementation depends on thread support for mutex & storing unsafe stack pointer.
It also need several system calls: gettid, tgkill, mmap, munmap, mprotect.
Our target doesn't has all underlying support it needs. My question is: what's the minimum requirement to port Safe Stack to bare metal?
Thanks,
Zhaoshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200316/54b80762/attachment.html>
More information about the llvm-dev
mailing list