Skip to content

Commit

Permalink
Update floss/language/utils.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 ce80cd8 commit c4458cb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions floss/language/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,8 @@ def get_raw_xrefs_rdata_i386(pe: pefile.PE, buf: bytes) -> Iterable[VA]:
address = last
last = current

if address == 0x0:
continue

if not (low <= address < high):
continue

yield address
if address != 0x0 and low <= address < high:
yield address


def get_extract_stats(
Expand Down

0 comments on commit c4458cb

Please sign in to comment.