We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b573c56 commit 1cdc2ebCopy full SHA for 1cdc2eb
src/pyrrha_mapper/exedecomp/binmapper.py
@@ -100,7 +100,11 @@ def find_all_call_references(
100
101
# iterate each calls and try to find them in the line
102
for cname, caddr in call_name_to_addr.items():
103
- col = line.find(f"{cname}(")
+ if cname.endswith(")"): # to handle cases of func name with typing of parameter
104
+ name = cname.split("(")[0]
105
+ else:
106
+ name = cname
107
+ col = line.find(f"{name}(")
108
if col != -1:
109
matches[col] = (caddr, cname)
110
0 commit comments