From 04c6c1b7e161ecaa178495c9cd30fe94a3e7b4e5 Mon Sep 17 00:00:00 2001 From: mappzor <34216645+mappzor@users.noreply.github.com> Date: Sat, 9 Dec 2023 02:18:30 +0100 Subject: [PATCH] Enable `IPREFETCH` mode by default --- src/Decoder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Decoder.c b/src/Decoder.c index d0ef0baa..9182cee4 100644 --- a/src/Decoder.c +++ b/src/Decoder.c @@ -4907,7 +4907,8 @@ ZyanStatus ZydisDecoderInit(ZydisDecoder* decoder, ZydisMachineMode machine_mode (1 << ZYDIS_DECODER_MODE_CET) | (1 << ZYDIS_DECODER_MODE_LZCNT) | (1 << ZYDIS_DECODER_MODE_TZCNT) | - (1 << ZYDIS_DECODER_MODE_CLDEMOTE); + (1 << ZYDIS_DECODER_MODE_CLDEMOTE) | + (1 << ZYDIS_DECODER_MODE_IPREFETCH); if (!decoder) {