llvm-project/lldb
David Spickett 31f9960c38 [lldb][AArch64] Add "memory tag read" command
This new command looks much like "memory read"
and mirrors its basic behaviour.

(lldb) memory tag read new_buf_ptr new_buf_ptr+32
Logical tag: 0x9
Allocation tags:
[0x900fffff7ffa000, 0x900fffff7ffa010): 0x9
[0x900fffff7ffa010, 0x900fffff7ffa020): 0x0

Important proprties:
* The end address is optional and defaults to reading
  1 tag if ommitted
* It is an error to try to read tags if the architecture
  or process doesn't support it, or if the range asked
  for is not tagged.
* It is an error to read an inverted range (end < begin)
  (logical tags are removed for this check so you can
  pass tagged addresses here)
* The range will be expanded to fit the tagging granule,
  so you can get more tags than simply (end-begin)/granule size.
  Whatever you get back will always cover the original range.

Reviewed By: omjavaid

Differential Revision: https://reviews.llvm.org/D97285
2021-06-24 17:35:45 +01:00
..
bindings Add a corefile style option to process save-core; skinny corefiles 2021-06-20 12:26:54 -07:00
cmake [lldb] add LLDB_SKIP_DSYM option 2021-05-26 09:32:59 -07:00
docs Add a corefile style option to process save-core; skinny corefiles 2021-06-20 12:26:54 -07:00
examples [LLDB][NFC] Remove parameter names from forward declarations from hand written expressions used in heap.py 2021-06-08 14:27:02 -07:00
include/lldb [lldb][AArch64] Add MTE memory tag reading to lldb 2021-06-24 17:17:10 +01:00
lldb/test/Shell/Breakpoint [lldb] Don't print script output twice in HandleCommand 2021-06-08 13:57:39 -07:00
packages/Python [lldb][AArch64] Add memory-tagging qSupported feature 2021-06-24 15:43:20 +01:00
resources [lldb] Remove stale LLDB-Info.plist 2021-01-08 10:12:16 -08:00
scripts Prefer /usr/bin/env xxx over /usr/bin/xxx where xxx = perl, python, awk 2021-02-25 11:32:27 +01:00
source [lldb][AArch64] Add "memory tag read" command 2021-06-24 17:35:45 +01:00
test [lldb][AArch64] Add "memory tag read" command 2021-06-24 17:35:45 +01:00
third_party/Python/module Revert "[lldb] temporary commit to see why a test is failing only on lldb-aarch64-ubuntu" 2020-08-05 11:55:02 +02:00
tools Retry of [lldb-vscode] only report long running progress events 2021-06-21 20:33:09 -07:00
unittests [lldb][AArch64] Add MTE memory tag reading to lldb 2021-06-24 17:17:10 +01:00
utils [lldb] Match test dependencies name to other LLVM projects. 2021-05-21 00:10:27 -07:00
.clang-format
.clang-tidy [lldb] Use C++11 default member initializers 2021-06-09 09:43:13 -07:00
.gitignore
CMakeLists.txt [LLDB] Don't use the local python to set a default for LLDB_PYTHON_RELATIVE_PATH when cross compiling. 2021-05-11 14:04:41 +03:00
CODE_OWNERS.txt
LICENSE.TXT
use_lldb_suite_root.py