fix: check valid sigs better

This commit is contained in:
Anna 2022-01-04 03:22:24 -05:00
parent 41c7ea2f42
commit 0ffcc3a7f8
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ import ida_bytes
SIG_REGEX = re.compile(r'"([A-Fa-f0-9\? ]+)"')
def is_valid_sig(sig):
sig = sig.strip()
sig = sig.strip().replace(' ', '')
if len(sig) == 0:
return False