Skip to content

Commit 0f098fc

Browse files
committed
Address feedback
1 parent 166d0e0 commit 0f098fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

volatility3/framework/plugins/windows/pe_symbols.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -642,7 +642,7 @@ def _get_symbol_value(
642642
symbol_resolver: method in a layer to resolve the symbols
643643
644644
Returns:
645-
Tuple[str, int, str, int]: the index and value of the found symbol in the wanted list, and the name and address of resolved symbol
645+
Tuple[str, str, int]: the symbol identifier (key) of the found symbol in the wanted list, and the name and address of resolved symbol
646646
"""
647647
if (
648648
wanted_names_identifier not in wanted_symbols
@@ -673,9 +673,9 @@ def _get_symbol_value(
673673
if symbol_value:
674674
# yield out deleteion key, deletion index, symbol name, symbol address
675675
if symbol_key == wanted_names_identifier:
676-
yield symbol_key, wanted_value, symbol_value # type: ignore
676+
yield symbol_key, wanted_value, symbol_value
677677
else:
678-
yield symbol_key, symbol_value, wanted_value # type: ignore
678+
yield symbol_key, symbol_value, wanted_value
679679

680680
for value in all_wanted:
681681
vollog.debug(

0 commit comments

Comments
 (0)