We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d07e2 commit 88f25e4Copy full SHA for 88f25e4
sdb/commands/pyfilter.py
@@ -49,7 +49,7 @@ def _call(self, objs: Iterable[drgn.Object]) -> Iterable[drgn.Object]:
49
50
def filter_cb(obj: drgn.Object) -> Optional[drgn.Object]:
51
# pylint: disable=eval-used
52
- eval(self.code, {'__builtins__': None}, {'obj': obj})
+ return eval(self.code, {'__builtins__': None}, {'obj': obj})
53
54
try:
55
yield from filter(filter_cb, objs)
0 commit comments