Commit 088e74c
authored
[llvm][llvm-readobj] Add NT_ARM_GCS Linux core note type (llvm#117545)
The ARM Guarded Control Stack extension (GCS) is similar to existing
shadow stack extensions for other architectures.
The core note will include which features of GCS are enabled, which have
been locked in their current state, and the stack pointer of the shadow
stack.
Note that 0x40f is NT_ARM_POE, FPMR is supported by LLDB and GCS will be
soon, POE is not at this time. So NT_ARM_POE will be added when that
work starts.
See
https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf.h.1 parent 4dde52d commit 088e74c
File tree
4 files changed
+8
-0
lines changed- llvm
- include/llvm/BinaryFormat
- lib/ObjectYAML
- test/tools/llvm-readobj/ELF
- tools/llvm-readobj
4 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1724 | 1724 | | |
1725 | 1725 | | |
1726 | 1726 | | |
| 1727 | + | |
1727 | 1728 | | |
1728 | 1729 | | |
1729 | 1730 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6057 | 6057 | | |
6058 | 6058 | | |
6059 | 6059 | | |
| 6060 | + | |
6060 | 6061 | | |
6061 | 6062 | | |
6062 | 6063 | | |
| |||
0 commit comments