Skip to content

Commit

Permalink
explicit loop iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
Abyss-W4tcher committed Nov 8, 2024
1 parent 485ef89 commit dd3542b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions volatility3/framework/symbols/linux/extensions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,10 +341,10 @@ def get_taints_parsed(self) -> List[str]:
- module_flags_taint kernel function
"""
comprehensive_taints = []
for c in self.get_taints_as_plain_string():
taint_flag = linux_constants.TAINT_FLAGS.get(c)
for character in self.get_taints_as_plain_string():
taint_flag = linux_constants.TAINT_FLAGS.get(character)
if not taint_flag:
comprehensive_taints.append(f"<UNKNOWN_TAINT_CHAR_{c}>")
comprehensive_taints.append(f"<UNKNOWN_TAINT_CHAR_{character}>")
elif taint_flag.when_present:
comprehensive_taints.append(taint_flag.desc)

Expand Down

0 comments on commit dd3542b

Please sign in to comment.