Nguyen Anh Quynh
1c95fb5ed4
arm: fix instruction address report in issue #257
2016-11-21 01:35:37 +08:00
Nguyen Anh Quynh
735d3fc4c7
arm: fix target address of BLX in Thumb mode (issue #248 )
2016-10-15 12:06:20 +08:00
Nguyen Anh Quynh
605d67ace0
arm: fix target address of BLX (issue #248 )
2016-10-13 22:16:17 +08:00
Nguyen Anh Quynh
308e70b7ba
arm: fix target address of BL (issue #248 )
2016-10-13 22:08:58 +08:00
Nguyen Anh Quynh
1074142c75
x86: handle loope & loopne
2016-07-26 14:09:55 +08:00
Nguyen Anh Quynh
da566800d0
x86: fix issue #230
2016-07-26 14:03:24 +08:00
Nguyen Anh Quynh
faf9451898
Revert "x86: sysret does not need REX prefix. this fixes issue #94 "
...
This reverts commit f18b6e19cc .
2016-07-26 12:43:57 +08:00
Nguyen Anh Quynh
ac83ba2295
cleanup
2016-07-19 18:04:08 +08:00
Nguyen Anh Quynh
289950f6f5
arm: fix issue #218
2016-07-09 00:00:11 +08:00
Nguyen Anh Quynh
bcd3c14fb2
x86: FARJMP/FARCALL support Nasm syntax
2016-07-03 01:37:39 +08:00
Nguyen Anh Quynh
aa7136d446
x86: typo LJMP for LCALL in the last commit
2016-07-02 11:41:16 +08:00
Nguyen Anh Quynh
2b0fc2eeaa
x86: fix issue #214
2016-07-02 03:06:09 +08:00
Nguyen Anh Quynh
70ce2dedcb
x86: fix issue #205 , #201
2016-06-26 12:16:00 +08:00
Nguyen Anh Quynh
170bf4f882
x86: simple sanity check on immediate value to see if it is out of range. this fixes issue #185
2016-06-14 23:38:02 +07:00
Nguyen Anh Quynh
6a119cbd13
x86: fix issue #180
2016-06-14 17:33:23 +07:00
Nguyen Anh Quynh
f158857119
arm: fix target value of BLX. this fixes issue #166
2016-06-06 22:31:53 +08:00
Nguyen Anh Quynh
4ea8d32d55
x86: fix issue #170
2016-06-05 14:02:42 +08:00
Nguyen Anh Quynh
8b20229455
x86: fix issue #173
2016-06-05 02:24:09 +08:00
Nguyen Anh Quynh
54685282e7
do boundary check for MCContext::Instances[]. this fixes crash-01-x64-empty-tombstone-value-shouldnt-be-inserted-into-map.c
2016-06-03 01:12:38 +08:00
Nguyen Anh Quynh
b648ea82f4
x86: sanity check on Scale of memory operand. this fixes issue #154
2016-06-02 23:46:01 +08:00
Nguyen Anh Quynh
9eb801a083
hexagon: fix crash-13-hexagon-mc-code-emitter-mk-is-not-equal-to-symbolref.c
2016-05-31 10:13:06 +08:00
Nguyen Anh Quynh
33e2a54476
sanity check on number of bits of FP in ARM, AArch64 & X86 parsers. this fixes crash-27-x64-too-many-bits-for-uint64_t.c
2016-05-31 09:40:38 +08:00
Nguyen Anh Quynh
5c36dc3ab7
arm: fix c-crashers/crash-19-arm-unable-to-encode-mcoperand.c
2016-05-31 02:12:11 +08:00
Nguyen Anh Quynh
499f78265e
handle error in peekTok(). this fixes c-crashes/crash-04-hexagon-readcount-not-equal-to-one.c
2016-05-31 00:43:35 +08:00
Nguyen Anh Quynh
e79949f120
hexagon: fix c-crashes/crash-02-hexagon-index-lt-size-failed.c
2016-05-31 00:05:15 +08:00
Nguyen Anh Quynh
64bea08278
x86: propagate error to ks_asm() to fix some testcases in c-crashes
2016-05-30 21:55:50 +08:00
Nguyen Anh Quynh
8ed7f96986
fix merging conflict
2016-05-30 12:48:11 +08:00
Nguyen Anh Quynh
5452317ba5
x86: propagate error in IntelExprStateMachine back to ks_asm(). this fixes #136 & #137
2016-05-30 11:05:39 +08:00
practicalswift
6bc41a98b1
[gardening] Fix typo: "and immediate" → "an immediate"
2016-05-29 15:58:51 -04:00
Nguyen Anh Quynh
2013458b8e
fix a bug in introduced by the last commit
2016-05-30 02:21:09 +08:00
Nguyen Anh Quynh
63317d5757
handle equal directive. this fixes c-crashes/crash-12-x64-cannot-set-a-variable-that-has-already-been-used.c
2016-05-30 01:52:44 +08:00
Nguyen Anh Quynh
6eb7703b3c
handle error in applyFixup(). this fixes c-crashes/crash-23-x64-value-does-not-fit-in-the-fixup-field.c
2016-05-30 00:55:46 +08:00
Nguyen Anh Quynh
a992d95048
x86: report unsupported instructions in encodeInstruction(). this fixes c-crashes/crash-24-x64-not-is16bitmemoperand.c
2016-05-30 00:28:11 +08:00
Nguyen Anh Quynh
e644380b1b
handle parser error in getIntVal(), getAPIntVal() & Lex(). this fixes some crashes in c-crashes
2016-05-30 00:04:26 +08:00
Nguyen Anh Quynh
993edf92be
handle error of EmitIntValue() to fix some ARM assertation bugs
2016-05-29 10:57:02 +08:00
Nguyen Anh Quynh
7b39272a58
arm: propagate more error back to ks_asm()
2016-05-28 17:51:35 +08:00
Nguyen Anh Quynh
946d009ffa
arm64: propagate parser error back to ks_asm()
2016-05-28 17:17:58 +08:00
Nguyen Anh Quynh
559db9987e
arm: propagate more parser error to ks_asm()
2016-05-28 14:37:13 +08:00
Nguyen Anh Quynh
e806c16a88
arm: propagate error from ARMAsmParser::validateTargetOperandClass(). this fixes crash-16-expression-value-must-be-representable-in-32-bits.c
2016-05-28 01:11:08 +08:00
Nguyen Anh Quynh
ef33f35d96
mips: propagate error from MipsAsmParser::processInstruction() back to ks_asm(). this fixes issue #110
2016-05-28 00:31:03 +08:00
Fotis Loukos
80eae5e840
Fixed rel address issues for SystemZ (Issue #108 )
2016-05-27 15:58:01 +03:00
Nguyen Anh Quynh
efb716f34b
Merge branch 'master' of https://github.com/fotisl/beta into fotisl-master
2016-05-27 17:48:30 +08:00
Nguyen Anh Quynh
0f64dd26bc
systemz: set Address for each instruction
2016-05-27 17:47:15 +08:00
Fotis Loukos
1669b95206
Fixed relative address issues for ARM (Issue #108 )
...
Fixed relative address encoding for branches at ARM and Thumb mode.
Also added correct checks for out of range branches. Finally removed
a check for Thumb mode that would never succeed.
2016-05-27 12:32:22 +03:00
Nguyen Anh Quynh
7ccd41f7af
ppc: encode relative address for B. see issue #108
2016-05-27 09:28:53 +08:00
Nguyen Anh Quynh
3c20ebb2ad
sparc: encode relative address for B & CALL. see issue #108
2016-05-27 09:06:33 +08:00
Nguyen Anh Quynh
9c93aaae33
mips: encode relative address for B. see issue #108
2016-05-27 08:52:27 +08:00
Nguyen Anh Quynh
93cb8704b0
arm64: encode relative address for B/BL. see issue #108
2016-05-27 08:14:02 +08:00
Nguyen Anh Quynh
2f839735cf
arm64: set Address for each instruction
2016-05-27 01:45:49 +08:00
Nguyen Anh Quynh
b1b3d78512
Merge branch 'master' of https://github.com/keystone-engine/beta
2016-05-26 10:25:06 +08:00