[cmd] Allow for filtering about maps permissions in vmmap#1111
[cmd] Allow for filtering about maps permissions in vmmap#1111ValekoZ wants to merge 21 commits intohugsy:mainfrom
vmmap#1111Conversation
Grazfather
left a comment
There was a problem hiding this comment.
could be useful. We might want to add this as a flag argument though, e.g. vmmap --perms rwx.
Maybe we could even support a 'don't care' e.g. r?? vs r--, the former allowing rw-, r-x, etc. Maybe a good idea for a followup.
|
I think if we put this behind a flag, we should do it for the other filters too? But I think the idea of |
|
I'm marking this as draft until #1120 is merged |
9394ed1 to
10cb8fa
Compare
hugsy
left a comment
There was a problem hiding this comment.
I love this filter!
Just some minor changes (mostly docs & tests)
Co-authored-by: crazy hugsy <hugsy@users.noreply.github.com>
|
|
||
| Using perms: | ||
|
|
||
|  |
There was a problem hiding this comment.
Can add this as an asset? Can we count on these sticking around forever?
hugsy
left a comment
There was a problem hiding this comment.
Good stuff, minor things to change (mostly what Graz said) and we ship !
|
|
||
| Using perms: | ||
|
|
||
|  |
Co-authored-by: crazy hugsy <hugsy@users.noreply.github.com>

This CL allows for searching sections by their permissions. For instance, you could search for all rwx sections by typing
vmmap rwx.