Erik Hemming
5fdc7de0d9
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Erik Hemming
cc2965bada
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Erik Hemming
a8559cfb78
Fix a couple of corner-cases with rarely used m68k instructions. ( #1344 )
...
* Bump the "cs_insn.bytes[]" size to 24 (from 16) to support M680x0 instructions with full EA (maximum 11 words)
Added a test for this in test_m68k.s
* Bump the "cs_detail.regs_read[]" size to 16 (from 12) to support M680x0 instructions with full REG_BITS (Dn+An = 16)
* m68k: use immediate mode syntax (#$0) for movem/fmovem instructions with empty register list
* update bindings to match changes to cs_insn and cs_detail
6 years ago
Nguyen Anh Quynh
740f05b62d
fix warnings on const char * discards qualifiers
6 years ago
Nguyen Anh Quynh
2fc852dcbd
fix warnings on const char * discards qualifiers
6 years ago
Daniel Collin
aaf2c49015
[M68K] Implemented regs read/write lists
8 years ago
Niels Boehm
7d4c660959
Fix typo in m68k constant for immediate operand.
8 years ago
tandasat
f7fe640bd0
port #684 to the next branch
8 years ago
Inokentiy Babushkin
53b8174c6a
Further refinements to the tests + python test fix for M68K
8 years ago
Inokentiy Babushkin
fc4488b68e
Reduced confusion caused by the m68k test being out of date
...
* added a new case branch to account for floating point operands.
8 years ago
tandasat
45e5eab646
port Windows driver support
8 years ago
Daniel Collin
988bb63113
[M68K] Added basic groups
...
Added support for basic groups in the M68K backend. Also did some minor cleanups/whitespace fixes while at it.
Relates to this issue https://github.com/aquynh/capstone/issues/494
9 years ago
Nicolas PLANEL
fa1ad4ca9d
[tests] test_m68k.c fixup some minors output glitch
...
Minors glitch fixup and/or output consmetics.
9 years ago
Nguyen Anh Quynh
b16658d39e
m68k: add M68K code to test_basic.c & test_detail.c
9 years ago
Daniel Collin
cd206ff508
Made test_m68k a bit more verbose
9 years ago
Daniel Collin
2ee675c10a
This adds M68K support to Capstone
9 years ago
Yegor Derevenets
50c352c9d6
Make tests fail loudly
9 years ago
Cr4sh
19ee2d10b3
inttypes.h fix
10 years ago
Cr4sh
9d60607645
inttypes.h fix
10 years ago
pancake
9c10ace558
Make pkg-config and source consistent with installation
10 years ago
Yegor Derevenets
ced9d24e35
Workaround missing <inttypes.h> on MSVC 2010
10 years ago
Nguyen Anh Quynh
0beb0d494b
api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future
10 years ago
Mr. eXoDia
9be1f93f88
fixed warnings in MSVC x64 compilation
10 years ago
Nguyen Anh Quynh
c80d840ffc
add XCore architecture
10 years ago
Axel 0vercl0k Souchet
e116c51c08
fixed test_ppc.c for VS2012
11 years ago
Nguyen Anh Quynh
5b556e5fcf
tests: C89
11 years ago
Nguyen Anh Quynh
54015f45bc
tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON
11 years ago
Nguyen Anh Quynh
226d7dca64
change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle
11 years ago
Nguyen Anh Quynh
491469155e
tests: continue to next tests rather than quit when failing to initialize a test
11 years ago
Nguyen Anh Quynh
ceae16d5a9
tests: report error when cs_open() failure
11 years ago
Nguyen Anh Quynh
39b812d9e9
switch detail to be CS_OPT_OFF by default
11 years ago
Nguyen Anh Quynh
f122ae0629
tests: simplify some accesses to insn's details, and fix some typo bugs
11 years ago
Nguyen Anh Quynh
91e532d5ab
print out ppc_bh information in test_ppc.c & TestPpc.java
11 years ago
Nguyen Anh Quynh
f1d489b949
ppc: support details information
11 years ago
Nguyen Anh Quynh
04c19beefe
rename API cs_disasm_dyn() to cs_disasm_ex(), and intentionally breaks compatibility with 1.0
11 years ago
Nguyen Anh Quynh
4fe224b1ed
change API cs_disasm_dyn(): break cs_insn into 2 structures, and put all details into new structure cs_detail. this break API compatibility
11 years ago
Nguyen Anh Quynh
397d0de598
tests: simplify print_insn_detail() function by deleting unused argument
11 years ago
Nguyen Anh Quynh
9f523d1699
mips: properly map alias instruction back to public id. this fixes the crash reported by Pancake
11 years ago
Nguyen Anh Quynh
5df9e4be91
tests: change variable address's type to uint64_t
11 years ago
Nguyen Anh Quynh
7b7b40c879
tests: now @address is uint64_t, no need to typecast for PRIx64 anymore
11 years ago
Nguyen Anh Quynh
723687ea0e
tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier
11 years ago
Nguyen Anh Quynh
b42a657873
change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API
11 years ago
Nguyen Anh Quynh
26ee41aa67
initial import
11 years ago