Skip to content

Commit

Permalink
Update gef.py
Browse files Browse the repository at this point in the history
Co-authored-by: Grazfather <[email protected]>
  • Loading branch information
ValekoZ and Grazfather authored Sep 27, 2024
1 parent cb9c3fb commit c55c505
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -8936,8 +8936,7 @@ def do_invoke(self, _: List[str], **kwargs: Any) -> None:
names_filter = [f"name = '{x}'" for x in names if x in entry.path]
addrs_filter = [f"addr = {self.format_addr_filter(arg, addr)}" for arg, addr in addrs.items()
if entry.page_start <= addr < entry.page_end]
filters = names_filter + addrs_filter
filter_content = f"[{' & '.join(filters)}]"
filter_content = f"[{' & '.join([*names filter, *addrs_filter])}]"

if len(names) + len(addrs) == 0:
self.print_entry(entry)
Expand Down

0 comments on commit c55c505

Please sign in to comment.