Skip to content

Commit

Permalink
Fix regex when function returns a pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
icecr4ck committed Feb 27, 2019
1 parent 6762a80 commit e1dd5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ida/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def architecture(self):
}

# int __cdecl(int, int) -> __cdecl
gtype_matcher = re.compile(".+ ([^\(]+)\([^\)]*\)")
gtype_matcher = re.compile(".+ \*?([^\(]+)\([^\)]*\)")

@property
def abi(self):
Expand Down

0 comments on commit e1dd5f3

Please sign in to comment.