[Lldb-commits] [PATCH] D71372: [lldb] Add additional validation on return address in 'thread step-out'
Mark Mossberg via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Dec 12 14:15:05 PST 2019
mossberg added a comment.
In D71372#1782536 <https://reviews.llvm.org/D71372#1782536>, @clayborg wrote:
> I believe it is ok for permissions to succeed as long as they don't return invalid permissions. For any address outside any mapped ranges, we should have zero as the permissions. Looking up address mappings for zero will return
>
> [0x00000000 - 0x100000000) ---
>
> no permisssions are represented as "---". Then you can take the end address and look it up, and continue. So as long as we aren't getting bogus values back, we are good.
Where is that example output from? I don't see that kind of formatting in `image list` or from `vmmap`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71372/new/
https://reviews.llvm.org/D71372
More information about the lldb-commits
mailing list