IDA Ylight.py
gravity-free 2019. 4. 21. 21:47from idautils import *
from idc import *
hightCall = []
hightXor = []
heads = Heads(SegStart(ScreenEA()), SegEnd(ScreenEA()))
for i in heads:
if (GetMnem(i) == "call"):
hightCall.append(i)
else :
if (GetMnem(i) == "xor"):
if (GetMnem(i+1 == "inc"):
if (GetMnem(i+2 == "cmp"):
hightXor.append(i)
for i in hightCall:
SetColor(i, CIC_ITEM, 0xC7FDFF)
for i in hightXor:
SetColor(i, CIC_ITEM, 0xC7C7FF)
'gravity-free' 카테고리의 다른 글
security research blog (0) | 2017.06.29 |
---|