Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

false recognition of library. #356

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion oyente/input_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ def _compile_solidity(self):
else:
out = run_command(cmd)

libs = re.findall(r"_+(.*?)_+", out)
noinfo_out = re.sub(r"\n======= (.*?) =======\nBinary of the runtime part: ", "", out)
libs = re.findall(r"_+(.*?)_+", noinfo_out)
libs = set(libs)
if libs:
return self._link_libraries(self.source, libs)
Expand Down