def is_real_blocks(ins): sign = get_code_sign(ins) if sign in ssign: return False if sign.endswith('movk12movz12movk12b.ne2'): return False
for insn in item['capstone']: #print insn.mnemonic if insn.mnemonic not in ['movz','movk','cmp','b.eq','b.ne']: return True ssign2.add(sign) return False