Skip to content

Commit 6241bfb

Browse files
committed
Removed xsha1/xsha256 workaround
1 parent 25eb33c commit 6241bfb

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tools/ZydisFuzzReEncoding.c

-8
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,6 @@ int ZydisFuzzTarget(ZydisStreamRead read_fn, void *stream_ctx)
8989
{
9090
return EXIT_FAILURE;
9191
}
92-
// TODO: Temporary workaround for `xsha1` and `xsha256` with OSIZE prefix
93-
if (insn1.mnemonic == ZYDIS_MNEMONIC_XSHA1 || insn1.mnemonic == ZYDIS_MNEMONIC_XSHA256)
94-
{
95-
if (insn1.attributes & ZYDIS_ATTRIB_HAS_OPERANDSIZE)
96-
{
97-
return EXIT_SUCCESS;
98-
}
99-
}
10092

10193
ZydisReEncodeInstruction(&decoder, &insn1, operands1, insn1.operand_count_visible, buffer);
10294

0 commit comments

Comments
 (0)