Nguyen Anh Quynh
|
e96935ed68
|
ppc: remove duplicate op_addReg() in printAliasInstrEx()
|
10 years ago |
Nguyen Anh Quynh
|
a90b047d9f
|
x86: simplify printPCRelImm() in calculating absolute address. also fix the issue on AT&T syntax
|
10 years ago |
Nguyen Anh Quynh
|
ea3c089591
|
some simple optimizations for speed. this improves performance about 5%
|
10 years ago |
Nguyen Anh Quynh
|
bff4fbd544
|
x86: properly calculate absolute addresses for relative CALL & JMP - for AT&T syntax. thanks Perdo, again
|
10 years ago |
Nguyen Anh Quynh
|
a92d2cba1d
|
x86: properly calculate absolute addresses of relative CALL & JMP. thanks Pedro for valuable helps
|
10 years ago |
Nguyen Anh Quynh
|
df92a7f346
|
mips: BC0F is relative branch instruction. bug reported by Pancake
|
10 years ago |
Nguyen Anh Quynh
|
48eb13c33c
|
ppc: add detail for alias instructions introduced in the latest change by @kratolp
|
10 years ago |
Nguyen Anh Quynh
|
630bcd6d4e
|
ppc: c99
|
10 years ago |
Nguyen Anh Quynh
|
70fa90fbfe
|
ppc: coding style
|
10 years ago |
kratolp
|
a3f0aef79a
|
PPC: Fix absolute/relative offset for branch instruction
PPC: Fix non handling of bc instruction that uses the CTR
|
10 years ago |
Nguyen Anh Quynh
|
c96f1b06b2
|
x86: fix Out-of-bounds read error in is16BitEquivalent(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
9bf1b87a66
|
mips: fix out-of-bounds read error in Mips_reg_name(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
e135056f17
|
fix a negative array index read in PPC_alias_insn(). issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
9d54544288
|
mips: verify if RegDecoder can get NULL value. issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
7e644f0fea
|
ppc: initialize needComma to false. issue reported by Coverity
|
10 years ago |
Nguyen Anh Quynh
|
9235fdc504
|
arm: The Thumb2 ldrexd and strexd instructions are not defined for M-class architectures
|
10 years ago |
Nguyen Anh Quynh
|
6756eddee5
|
ppc: alias instructions handled by printAliasInstrEx() miss CR* registers in detail mode. fixed
|
10 years ago |
Nguyen Anh Quynh
|
ca44c4897d
|
ppc: coding style for PPCInstPrinter.c
|
10 years ago |
Nguyen Anh Quynh
|
d7e42b7d36
|
rename all the constants marking ending from _MAX to _ENDING. this also updates Java/Python/Ocaml bindings accordingly
|
10 years ago |
kratolp
|
f0221a2aeb
|
* Fix pcc branch offset in a better way
* Update PPC branch alias function to print cri register
* Fix immediate branch offset sign extension for bd type branch instruction
|
10 years ago |
Nguyen Anh Quynh
|
d442fbc06e
|
arm: t2BXJ also belongs to groups ARM_GRP_NOTMCLASS & ARM_GRP_PREV8
|
10 years ago |
Nguyen Anh Quynh
|
54f8cef449
|
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
|
10 years ago |
Nguyen Anh Quynh
|
7ac7d4e245
|
mips: on BEQZL, printAlias() should return instruction string. also cleanup some redundant code
|
10 years ago |
Nguyen Anh Quynh
|
240e1c75be
|
mips: print absolute target address for relative branch instructions: BEQL, BGEZALL, BGEZL, BGTZL, BLEZL, BLTZALL, BLTZL, BNEL, BNEZL, BEQZL, BC1F, BC1FL, BC1TL
|
10 years ago |
Nguyen Anh Quynh
|
5691dd4637
|
mips: fixed & added new instructions. also updated Ocaml/Python/Java bindings
|
10 years ago |
Nguyen Anh Quynh
|
4e87675c54
|
arm: relative branch should not be negative. bug reported by @acez
|
10 years ago |
Nguyen Anh Quynh
|
a4da8951e7
|
x86: relative CALL should print out absolute addresses. bug reported by @acez
|
10 years ago |
Yegor Derevenets
|
ced9d24e35
|
Workaround missing <inttypes.h> on MSVC 2010
|
10 years ago |
Nguyen Anh Quynh
|
7e57e79800
|
ppc: handle branch condition for alias instructions. this also updates Python & Java bindings
|
10 years ago |
Nguyen Anh Quynh
|
9d6383973f
|
ppc: move our own alias instructions to PPCInstPrinter.c to isolate them from auto-gen code of LLVM
|
10 years ago |
Nguyen Anh Quynh
|
1738a3e6bf
|
sparc: handle some alias instructions & more details for some special instructions. update Python & Java bindings accordingly with new instructions & registers
|
10 years ago |
kratolp
|
05d4b83391
|
Extend sign of the branch destination operand
|
10 years ago |
kratolp
|
87736c1e5e
|
Update alias of PPC branch instructions
|
10 years ago |
Nguyen Anh Quynh
|
eaecfa4925
|
ppc: add PPC_INS_BNE for alias instruction BNE
|
10 years ago |
Nguyen Anh Quynh
|
36567558b7
|
mips: cleanup
|
10 years ago |
Nguyen Anh Quynh
|
41de05ca50
|
x86: correct x86_16_bit_eq_tbl[] & x86_16_bit_eq_lookup[]. idea & code provided by @obs1dium
|
10 years ago |
Nguyen Anh Quynh
|
f46ef2e0fe
|
ppc: alias instruction for 'gBC 4, 2, target' to 'bne target'. issue reported by @kratolp
|
10 years ago |
Nguyen Anh Quynh
|
1f196d12ea
|
x86: CALLpcrel32 should be outputed as 'callq' in 64bit mode in AT&T syntax. ported from upstream
|
10 years ago |
Nguyen Anh Quynh
|
9728200d1d
|
x86: cpuid, xsetbv, xgetbv involve 32bit registers, not 64bit registers.
|
10 years ago |
Nguyen Anh Quynh
|
721d07f6b2
|
ppc: support alias instructions. update Python & Java bindings accordingly
|
10 years ago |
Nguyen Anh Quynh
|
04d9f8ee17
|
arm: update core with a lot more details provided in detail mode now. update Python & Java bindings to reflect the core's changes
|
10 years ago |
Nguyen Anh Quynh
|
e0eb06b7ab
|
mips: correct mapping instruction string to instruction ID for alias instructions BAL & BEQZ. bug reported by Pancake
|
10 years ago |
Nguyen Anh Quynh
|
4f0d7048cd
|
arm64: vector_index = 0 is valid. this changed invalid value of vector_index to -1
|
10 years ago |
Nguyen Anh Quynh
|
eda85064ee
|
mips: add BC1T & BLTZAL to the list of relative branch instructions. thanks @hlide for the input.
|
10 years ago |
Nguyen Anh Quynh
|
d1a9090eab
|
mips: relative branch address calculated current IP added to the relative offset. thanks Pancake, Jay Oster, hlide & jvoisin for helping
|
10 years ago |
Nguyen Anh Quynh
|
0c07cc9b06
|
zero-out instruction details, mnemonic & op_str so cs_insn doesnt have garbage in Diet mode
|
10 years ago |
Nguyen Anh Quynh
|
934e180e54
|
x86: more update to the core
|
10 years ago |
Nguyen Anh Quynh
|
4c95022c74
|
fix warnings on unused variables when compiling in Diet mode
|
10 years ago |
Nguyen Anh Quynh
|
5426fe0cec
|
arm64: change headerguard for AArch64AddressingModes.h
|
10 years ago |
Nguyen Anh Quynh
|
c44acedc79
|
x86: properly zero-out x86.operands[]
|
10 years ago |