We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 157bca8 commit 4a64a63Copy full SHA for 4a64a63
src/Encoder.c
@@ -4373,7 +4373,8 @@ ZYDIS_EXPORT ZyanStatus ZydisEncoderEncodeInstructionAbsolute(ZydisEncoderReques
4373
}
4374
if ((rel_info->accepts_branch_hints) &&
4375
(request->prefixes & (ZYDIS_ATTRIB_HAS_BRANCH_NOT_TAKEN |
4376
- ZYDIS_ATTRIB_HAS_BRANCH_TAKEN)))
+ ZYDIS_ATTRIB_HAS_BRANCH_TAKEN |
4377
+ ZYDIS_ATTRIB_HAS_BND)))
4378
{
4379
extra_length = 1;
4380
tools/ZydisTestEncoderAbsolute.c
@@ -224,6 +224,7 @@ static ZyanBool RunBranchingTests(void)
224
static const ZydisInstructionAttributes prefixes[] = {
225
0,
226
ZYDIS_ATTRIB_HAS_BRANCH_TAKEN,
227
+ ZYDIS_ATTRIB_HAS_BND,
228
};
229
static const char *str_prefixes[] =
230
0 commit comments