Skip to content

Commit

Permalink
Update floss/language/rust/decode_utf8.py
Browse files Browse the repository at this point in the history
Co-authored-by: Vasco Schiavo <[email protected]>
  • Loading branch information
Arker123 and VascoSch92 authored Jun 24, 2024
1 parent 60b3ca6 commit 272770d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion floss/language/rust/decode_utf8.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def extract_utf8_strings_from_buffer(buf, min_length=MIN_STR_LEN) -> List[List[A
return strings


def extract_utf8_strings(pe: pefile.PE, min_length=MIN_STR_LEN) -> List[List[Any]]:
def extract_utf8_strings(pe: pefile.PE, min_length=MIN_STR_LEN) -> List[Optional[List[Any]]]:
"""
Extracts UTF-8 strings from the .rdata section of a PE file.
"""
Expand Down

0 comments on commit 272770d

Please sign in to comment.