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 4b0ece0 commit 3ebee83Copy full SHA for 3ebee83
volatility3/framework/plugins/windows/psxview.py
@@ -75,11 +75,8 @@ def _proc_name_to_string(self, proc):
75
"string", max_length=proc.ImageFileName.vol.count, errors="replace"
76
)
77
78
- def _is_valid_proc_name(self, str):
79
- for c in str:
80
- if not c in self.valid_proc_name_chars:
81
- return False
82
- return True
+ def _is_valid_proc_name(self, string: str) -> bool:
+ return all(c in self.valid_proc_name_chars for c in string)
83
84
def _filter_garbage_procs(
85
self, proc_list: Iterable[extensions.EPROCESS]
0 commit comments