[Lldb-commits] [lldb] [lldb][Linux] Mark memory regions used for shadow stacks (PR #117861)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 11 03:25:46 PST 2024
DavidSpickett wrote:
GCS is not implemented in QEMU yet - https://linaro.atlassian.net/browse/QEMU-517. I used Arm's Foundation Model via shrinkwrap:
```
$ shrinkwrap build --overlay=arch/v9.5.yaml ns-edk2.yaml
$ shrinkwrap run --rtvar=KERNEL=/home/davspi01/work/open_source/linux.build/arm64/arch/arm64/boot/Image --rtvar=ROOTFS=/home/davspi01/work/open_source/jammy-arm64-rootfs.img ns-edk2.yaml
```
For some reason it always mounts the file system read only on my machine, so you may need to remount it as writeable.
I used our existing script to build the rootfs and kernel, didn't need to change anything for GCS to be detected.
https://github.com/llvm/llvm-project/pull/117861
More information about the lldb-commits
mailing list