From c4458cb3008ccd43ddb2dbfda40e5891240deefb Mon Sep 17 00:00:00 2001 From: Arnav Kharbanda <94680887+Arker123@users.noreply.github.com> Date: Mon, 24 Jun 2024 10:20:46 +0530 Subject: [PATCH] Update floss/language/utils.py Co-authored-by: Vasco Schiavo <115561717+VascoSch92@users.noreply.github.com> --- floss/language/utils.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/floss/language/utils.py b/floss/language/utils.py index 5b815d6e7..5bf660090 100644 --- a/floss/language/utils.py +++ b/floss/language/utils.py @@ -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(