fix: check valid sigs better
This commit is contained in:
parent
41c7ea2f42
commit
0ffcc3a7f8
|
@ -41,7 +41,7 @@ import ida_bytes
|
||||||
SIG_REGEX = re.compile(r'"([A-Fa-f0-9\? ]+)"')
|
SIG_REGEX = re.compile(r'"([A-Fa-f0-9\? ]+)"')
|
||||||
|
|
||||||
def is_valid_sig(sig):
|
def is_valid_sig(sig):
|
||||||
sig = sig.strip()
|
sig = sig.strip().replace(' ', '')
|
||||||
|
|
||||||
if len(sig) == 0:
|
if len(sig) == 0:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue