Skip to content

Commit

Permalink
strip name the in parse_location
Browse files Browse the repository at this point in the history
  • Loading branch information
L4ys authored Apr 22, 2020
1 parent dc5ee0c commit 0fbad9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LazyIDA.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def parse_location(loc):
loc = int(loc, 16)
except ValueError:
try:
loc = idc.get_name_ea_simple(loc.encode())
loc = idc.get_name_ea_simple(loc.encode().strip())
except:
return idaapi.BADADDR
return loc
Expand Down

0 comments on commit 0fbad9a

Please sign in to comment.