diff options
author | comex | 2015-02-22 23:28:20 -0500 |
---|---|---|
committer | comex | 2015-02-23 00:54:13 -0500 |
commit | 6080774f1af3103be688941beb43174d69d60483 (patch) | |
tree | 76a32ee6c7a9dc66a7a6bbc508e33596f2991945 /lib/x86/dis-main.inc.h | |
parent | fix i386 manual syscall, mmap return check (diff) | |
download | substitute-6080774f1af3103be688941beb43174d69d60483.tar.gz |
fix some i386 stuff
Diffstat (limited to 'lib/x86/dis-main.inc.h')
-rw-r--r-- | lib/x86/dis-main.inc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x86/dis-main.inc.h b/lib/x86/dis-main.inc.h index 4be45d8..9959409 100644 --- a/lib/x86/dis-main.inc.h +++ b/lib/x86/dis-main.inc.h @@ -263,7 +263,7 @@ got_bits: UNUSED default: __builtin_abort(); } - bool cond = (byte1 & 0xf0) != 0xe0; + bool cond = !(byte1 == 0xe2 || (byte1 >= 0xe8 && byte1 <= 0xeb)); bool call = !(bits & I_JMP); P(branch)(ctx, ctx->base.pc + ctx->base.op_size + imm, cond * CC_CONDITIONAL | call * CC_CALL); |