From 4f47cf7298fbdd263b1951db9d538fc23a14f9ad Mon Sep 17 00:00:00 2001 From: ValekoZ Date: Mon, 7 Oct 2024 16:03:00 +0200 Subject: [PATCH] Fix https://github.com/hugsy/gef/pull/1120#discussion_r1779742622 --- gef.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gef.py b/gef.py index f17b12cc0..05cd93836 100644 --- a/gef.py +++ b/gef.py @@ -8938,7 +8938,7 @@ def do_invoke(self, _: List[str], **kwargs: Any) -> None: if entry.page_start <= addr < entry.page_end] filter_content = f"[{' & '.join([*names_filter, *addrs_filter])}]" - if len(names) + len(addrs) == 0: + if not names and not addrs: self.print_entry(entry) elif names_filter or addrs_filter: