diff options
| author | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-04-12 10:08:40 -0700 |
|---|---|---|
| committer | Mitch Phillips <31459023+hctim@users.noreply.github.com> | 2023-04-12 10:24:13 -0700 |
| commit | 7c1a6319ca03298b5d76af6a814178bafe9f2eba (patch) | |
| tree | ddfd13794a5d605fd84f9437239fb0cf5716d258 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp | |
| parent | 37047523a9fb5ffa74eaf94d9d52db831f99c062 (diff) | |
[MTE] [llvm-readobj] Add globals section parsing to --memtag
Global variables are described in a metadata table called
SHT_AARCH64_MEMTAG_GLOBALS_DYNAMIC. It's basically a ULEB-encoded skip
list with some other fancy encoding tricks to make it smaller. You can
see the ABI at
https://github.com/ARM-software/abi-aa/blob/main/memtagabielf64/memtagabielf64.rst#83encoding-of-sht_aarch64_memtag_globals_dynamic
This extends readelf/readobj to understand these sections.
Reviewed By: pcc, MaskRay, jhenderson
Differential Revision: https://reviews.llvm.org/D145761
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions
