Skip to content

Commit

Permalink
Merge pull request #1 from Dump-GUY/patch-1
Browse files Browse the repository at this point in the history
Bug Fix in dll export without func name
  • Loading branch information
Dump-GUY authored Dec 9, 2020
2 parents 7e61803 + aa711d9 commit e9ae787
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apiscout/db_builder/DatabaseBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ def _extractPeExports(self, filepath):
max_addr = max(pe.OPTIONAL_HEADER.ImageBase + exp.address, max_addr)

export_info["address"] = exp.address
export_info["name"] = exp.name.decode("utf-8")
if exp.name == None:
export_info["name"] = "None"
else:
export_info["name"] = exp.name.decode("utf-8")
export_info["ordinal"] = exp.ordinal
dll_entry["exports"].append(export_info)

Expand Down

0 comments on commit e9ae787

Please sign in to comment.