diff --git a/gef.py b/gef.py index 8c9767912..7c951867d 100644 --- a/gef.py +++ b/gef.py @@ -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)