From 44d34d0e5dbf951db49c336123bea37ab9a6860b Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Wed, 28 Oct 2015 19:43:17 -0700 Subject: [PATCH] NPOTB: Remove 0x prefix from two-byte instructions. --- tools/ida_scripts/makesig.idc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ida_scripts/makesig.idc b/tools/ida_scripts/makesig.idc index b3dc5fd3..e8569d4a 100644 --- a/tools/ida_scripts/makesig.idc +++ b/tools/ida_scripts/makesig.idc @@ -46,7 +46,7 @@ static main() if (pInfo.n == 1 && (pInfo.Op0.type == o_near || pInfo.Op0.type == o_far)) { if (Byte(pAddress) == 0x0F) { // Two-byte instruction - sig = sig + sprintf("0x0F %02X ", Byte(pAddress + 1)) + PrintWildcards(GetDTSize(pInfo.Op0.dtyp)); + sig = sig + sprintf("0F %02X ", Byte(pAddress + 1)) + PrintWildcards(GetDTSize(pInfo.Op0.dtyp)); } else { sig = sig + sprintf("%02X ", Byte(pAddress)) + PrintWildcards(GetDTSize(pInfo.Op0.dtyp)); }