[Lldb-commits] [PATCH] D106348: Write the # of addressable bits into Mach-O corefiles, read it back out again
Jason Molenda via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jul 22 01:01:05 PDT 2021
jasonmolenda updated this revision to Diff 360722.
jasonmolenda added a comment.
One more bit I meant to do -- added output to "process status --verbose" to show the addressing masks in effect. There's no other way to check what lldb is currently using for ptrauth masks currently, to debug/confirm what lldb is using.
There's the target.process.virtual-addressable-bits setting, but this is separate from what lldb might pick up dynamically (from lldb-server, debugserver, a core file) so querying that setting will show 0 if lldb is using the dynamically determined mask.
I couldn't think of any place better to put this, this will do for now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106348/new/
https://reviews.llvm.org/D106348
Files:
lldb/include/lldb/Symbol/ObjectFile.h
lldb/include/lldb/Target/Process.h
lldb/source/Commands/CommandObjectProcess.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.h
lldb/source/Plugins/Process/mach-core/ProcessMachCore.cpp
lldb/test/API/macosx/lc-note/addrable-bits/Makefile
lldb/test/API/macosx/lc-note/addrable-bits/TestAddrableBitsCorefile.py
lldb/test/API/macosx/lc-note/addrable-bits/main.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106348.360722.patch
Type: text/x-patch
Size: 15180 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210722/2df4b3ac/attachment-0001.bin>
More information about the lldb-commits
mailing list