Nguyen Anh Quynh
|
585018f831
|
ppc & arm: remove functions *_get_insn_id2()
|
11 years ago |
kaka22
|
603f7ac953
|
x86: fix a warning on unused variable
|
11 years ago |
Nguyen Anh Quynh
|
d7c00fe5ed
|
x86: REP should have *CX registers as implicit registers read/written
|
11 years ago |
Nguyen Anh Quynh
|
13f40d26a2
|
x86: upgrade core
|
11 years ago |
Nguyen Anh Quynh
|
9389947d0d
|
x86: fix a mem leaking issue in X86_insn_combine()
|
11 years ago |
Nguyen Anh Quynh
|
a82a0890a6
|
more more fixes on C coding style
|
11 years ago |
Nguyen Anh Quynh
|
aa078a1c4a
|
more fixes on C coding style
|
11 years ago |
Nguyen Anh Quynh
|
2e79ba8996
|
fix C coding style
|
11 years ago |
Nguyen Anh Quynh
|
b57c90dd23
|
fix some issues introduced by MSVC port
|
11 years ago |
Alex Ionescu
|
b8a57fe285
|
Additional MSVC fixes, including to fixed tables (temporary so Quynh can see what to do).
|
11 years ago |
Alex Ionescu
|
46018db884
|
Initial set of changes to support building with MSVC 2013. Right now there's a bunch fo assumptions in the .vcxproj file and some things are not as clean as they should be, but it does build a full build and works (at least the x86 side). The point of this initial checkpoint is to make sure that nothing breaks on the GCC side, that everyone is ok with the changes to the source (or if better fixes/typing can be done).
|
11 years ago |
Nguyen Anh Quynh
|
c34959b588
|
x86: proper calculation for the trailing instruction in total cache. issue reported by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
c36ce95d4a
|
x86: proper calculation for the trailing instruction in total cache. issue reported by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
06b3c05e20
|
cs_open() should return error on invalid mode
|
11 years ago |
Nguyen Anh Quynh
|
53fc5c103a
|
cs_open() should return error on invalid mode
|
11 years ago |
Nguyen Anh Quynh
|
9a291bda75
|
x86: do not use non-standard strlcat & strlcpy
|
11 years ago |
Nguyen Anh Quynh
|
b9ff3aaf19
|
x86: do not use non-standard strlcat & strlcpy
|
11 years ago |
Nguyen Anh Quynh
|
7772d859af
|
x86: fix known issue with prefix by combining with previous prefix instruction. this is not perfect, but good enough for now
|
11 years ago |
Nguyen Anh Quynh
|
3732725342
|
rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu
|
11 years ago |
Nguyen Anh Quynh
|
f328f30fd9
|
rename mapping.c, mapping.h, module.c to have arch prefix. suggested by Alex Ionescu
|
11 years ago |
Nguyen Anh Quynh
|
d68a30f4c3
|
x86: remove 'opaque' in the output of some instructions
|
11 years ago |
Nguyen Anh Quynh
|
9dfdae6421
|
x86: add new instructions: FSETPM, SALC, GETSEC & INT1. bug reported by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
38c1322bde
|
x86: remove 'opaque' in the output of some instructions
|
11 years ago |
Nguyen Anh Quynh
|
c272e9d000
|
do not use constructor to enable archs, so code is more portable. suggested by Alex Ionescu
|
11 years ago |
Nguyen Anh Quynh
|
edeeb04a1a
|
make vsnprintf() user-defined function pointer, which is passed in via the same CS_OPT_MEM option like malloc/calloc etc
|
11 years ago |
Nguyen Anh Quynh
|
a9ffb440f8
|
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
|
11 years ago |
Nguyen Anh Quynh
|
57c50d4845
|
ppc: replace constant subtarget numbers with macros
|
11 years ago |
Nguyen Anh Quynh
|
136e2df38c
|
x86: some arithmetic instructions should not update accumulate registers
|
11 years ago |
Nguyen Anh Quynh
|
9cc56a3322
|
arm: update core
|
11 years ago |
Nguyen Anh Quynh
|
cbb10ba0b6
|
arm64: update core
|
11 years ago |
Nguyen Anh Quynh
|
75ef2426ea
|
mips: update core
|
11 years ago |
Nguyen Anh Quynh
|
9c2d02908a
|
x86: few more SUB insn should not affect accumulate register
|
11 years ago |
Nguyen Anh Quynh
|
3d56b823ed
|
extend @op_str of cs_insn_flat following the core change
|
11 years ago |
Nguyen Anh Quynh
|
22800aac13
|
x86: some ADD & SUB insn should not affect accumulate registers. bug reported by Bleh
|
11 years ago |
Nguyen Anh Quynh
|
e51e227409
|
ppc & x86: add third dummy MRI argument to printInstruction() to make it consistent with other archs
|
11 years ago |
Nguyen Anh Quynh
|
56774a158c
|
mips: printInstruction() is static function. add dummy third argument MRI to be consistent with other archs
|
11 years ago |
Nguyen Anh Quynh
|
dcbe0f8322
|
arm64: find alias insn after the main isnn name mapping.
|
11 years ago |
Nguyen Anh Quynh
|
dc6b9574ff
|
arm64: more changes to make code closer to llvm
|
11 years ago |
Nguyen Anh Quynh
|
126507741c
|
arm64: make the code closer to llvm code
|
11 years ago |
Nguyen Anh Quynh
|
a8eb7a5ca5
|
rename memory function pointer types to have cs_ prefix. also rename internal function pointers my_* to have cs_mem_ prefix - suggested by Pancake
|
11 years ago |
danghvu
|
701b850af9
|
Fix: bug that static link does not know constructor
|
11 years ago |
Nguyen Anh Quynh
|
77944e0dab
|
arm64: add big-endian support
|
11 years ago |
Nguyen Anh Quynh
|
a768c9eb2c
|
arm: support big-endian. issue reported by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
f1b05083a7
|
x86: cleanup unused stuff
|
11 years ago |
Nguyen Anh Quynh
|
9fac512efc
|
no longer need to free insn_cache for each arch: simply do it from cs_close()
|
11 years ago |
Nguyen Anh Quynh
|
1acfd0b883
|
move insn_cache into cs_struct to gurantee thread-safe
|
11 years ago |
Nguyen Anh Quynh
|
c7404075ff
|
move internal memory management declarations from utils.h to cs_priv.h
|
11 years ago |
Nguyen Anh Quynh
|
24bf0d9079
|
add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake
|
11 years ago |
Nguyen Anh Quynh
|
2b14fcdf9b
|
ppc: update ppc.bh in post-printer
|
11 years ago |
Nguyen Anh Quynh
|
f1d489b949
|
ppc: support details information
|
11 years ago |