Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cmd] Allow for filtering about maps permissions in vmmap #1111

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ValekoZ
Copy link
Collaborator

@ValekoZ ValekoZ commented May 29, 2024

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

Copy link

🤖 Coverage update for 116e2be 🔴

Old New
Commit 757f5bb 116e2be
Score 71.5302% 71.4923% (-0.0379)

Copy link
Collaborator

@Grazfather Grazfather left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

gef.py Outdated Show resolved Hide resolved
gef.py Outdated Show resolved Hide resolved
@ValekoZ
Copy link
Collaborator Author

ValekoZ commented Jun 2, 2024

I think if we put this behind a flag, we should do it for the other filters too?
Like --addr for searching addresses and --name for searching with the name?
I think the goal here is to make it easily useable, without too much friction (I guess that's why there is no --addr/--name?) so in order to stay consistent I think its better to keep it this way

But I think the idea of ? is great I'll do that :)

Copy link

github-actions bot commented Jun 2, 2024

🤖 Coverage update for 9ade706 🟢

Old New
Commit 757f5bb 9ade706
Score 71.5991% 71.5991% (0)

Copy link

github-actions bot commented Jun 2, 2024

🤖 Coverage update for 9394ed1 🟢

Old New
Commit 757f5bb 9394ed1
Score 71.5991% 71.5991% (0)

@ValekoZ ValekoZ added this to the next milestone Jun 3, 2024
@ValekoZ
Copy link
Collaborator Author

ValekoZ commented Jun 9, 2024

I'm marking this as draft until #1120 is merged

@ValekoZ ValekoZ marked this pull request as draft June 9, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants