Skip to content

Commit 2650ea5

Browse files
authored
Merge pull request #919 from dannyquist/dev
Fix for use before assignment of addr variable
2 parents b30377c + 396b403 commit 2650ea5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qiling/loader/pe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -642,6 +642,7 @@ def load(self):
642642
addr = self.import_address_table[dll_name][imp.name]
643643
except KeyError:
644644
self.ql.log.debug("Error in loading function %s" % imp.name.decode())
645+
continue
645646
else:
646647
addr = self.import_address_table[dll_name][imp.ordinal]
647648

0 commit comments

Comments
 (0)