Nguyen Anh Quynh
9031b17fe0
arm64: indentation
9 years ago
Pranith Kumar
cfa4f33fc7
Add register access info for ARM64
...
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
9 years ago
Pranith Kumar
653827bf5a
Add register access info for ARM64
...
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com>
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
Nicolas PLANEL
ce68098765
[tests] avoid overlap i variable namespace
...
Avoir overlaping of i variable name as already use as platform index.
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
bughoho
cf7627d623
delete old code
9 years ago
bughoho
edd7659756
https://github.com/aquynh/capstone/issues/483
9 years ago
Nguyen Anh Quynh
62918abb60
support new syntax CS_OPT_SYNTAX_MASM for X86
9 years ago
Nguyen Anh Quynh
a973ef618e
tests: commit the Makefile forgotten in the last commit
9 years ago
Nguyen Anh Quynh
20037df9dd
tests: properly define HAS_XXX marcros so some tests work
9 years ago
Nguyen Anh Quynh
960aba476c
tests: fix some warnings for unused variables in test_skipdata.c
9 years ago
Taras Tsugrii
63fbf8e560
Include tests only for supported architectures.
...
Capstone conveniently provides options to enable/disable specific architectures
which is very useful for trimming the size of the binary, but those options are
ignored in some tests, so when say X86 architecture is not included, some tests
would fail.
This change conditionally includes tests only for supported architectures.
9 years ago
Nguyen Anh Quynh
7bb3508ccb
suite: move fuzz_hardness.c to suite/fuzz/
10 years ago
Felix Grobert
cdd677f3f4
Add debug build target and fuzz testing harness.
10 years ago
Nguyen Anh Quynh
968ec56c93
tests: remove orphan binaries due to renaming of test.c to test_basic.c
10 years ago
Yegor Derevenets
50c352c9d6
Make tests fail loudly
10 years ago
Yegor Derevenets
2c073468d8
Added test build target, fixed CMake warning
...
https://github.com/aquynh/capstone/issues/376
10 years ago
Gabriel Corona
8102aacfda
Make PowerPC imm 64 bit (instad 32 bit)
10 years ago
Nguyen Anh Quynh
627b901f36
tests: add info of test_customized_mnem.c to README
10 years ago
Nguyen Anh Quynh
c0b1de3c61
tests: simplify test_customized_mnem.c a little bit
10 years ago
Nguyen Anh Quynh
0b96545f66
new option CS_OPT_MNEMONIC to customize instruction mnemonic
10 years ago
Nguyen Anh Quynh
29f777bdd9
arm: support cs_regs_access() API
10 years ago
Cr4sh
19ee2d10b3
inttypes.h fix
10 years ago
Nguyen Anh Quynh
3a99bc6977
tests: fix an warning on big left shifting. issue reported by Coverity
10 years ago
Nguyen Anh Quynh
efffe787d1
Add new API and start to provide access information for instruction operands
...
- New API cs_regs_access() that provide registers being read & modified by instruction
- New field cs_x86_op.access provides access info (READ, WRITE) for each operand
- New field cs_x86.eflags provides EFLAGS affected by instruction
- Extend cs_detail.{regs_read, regs_write} from uint8_t to uint16_t type
10 years ago
Nguyen Anh Quynh
b8ffb86b02
ppc: fix a bug in QPX mode & add some QPX alias instructions.
10 years ago
Nguyen Anh Quynh
a81bf4247c
x86: add new field @xop_cc to struct @cs_x86
10 years ago
pancake
9c10ace558
Make pkg-config and source consistent with installation
10 years ago
Nguyen Anh Quynh
6c34c6659b
tests: update test_arm.c to add a sample reflecting the addition of lshift field on arm_op_mem
10 years ago
Nguyen Anh Quynh
faa925ab8f
fix bindings (python/java) and tests after the last change on the type of imm of cs_arm64_op
10 years ago
Nguyen Anh Quynh
84df600944
tests: update Mips modes to CS_MODE_MIPS32 & CS_MODE_MIPS64
10 years ago
Nguyen Anh Quynh
0d97a3b3aa
mips: CS_MODE_MIPS32R6 is an independent mode, and should not combine with CS_MODE_32
10 years ago
Nguyen Anh Quynh
8cdafda551
arm: add new field mem_barrier to cs_arm struct. this requires changes in bindings
10 years ago
Nguyen Anh Quynh
83466d4277
test: add sample code for ARM's CS_MODE_MCLASS & CS_MODE_V8
10 years ago
Nguyen Anh Quynh
248519efea
mips: properly handle Mips32R6 mode. bug reported by Jay Oster
10 years ago
Nguyen Anh Quynh
2f5081c1f9
tests: remove broken test on Mips's Micro mode
10 years ago
Nguyen Anh Quynh
5720cb7ae1
tests: add tests for mips's modes: MIPS32R6 & MICRO (C & Python code)
10 years ago
kratolp
5c0d9a4ade
Add '4*cri+cond' to operand list
10 years ago
Nguyen Anh Quynh
7170cb2ea2
tests: add some comments for test_iter.c
10 years ago
Nguyen Anh Quynh
2d752f9e4e
tests: add introductions for test_skipdata.c & test_iter.c to README
10 years ago
Nguyen Anh Quynh
0a2eca7c6c
modify API cs_disasm_iter() and add new API cs_malloc(). also adds sample code test_iter.c
10 years ago
Nguyen Anh Quynh
8fb2eab459
arm: some operands can get subtracted from base register, thus have '-' sign associated. this adds subtracted field into cs_arm_op to provide this info. issue reported by Yegor Derevenets
10 years ago
Nguyen Anh Quynh
910a4df9a3
tests: compile without -O3 flag. this is to make it easier to maintain FreeBSD package
10 years ago
Nguyen Anh Quynh
839890b83a
tests: use cs_group_name() to print out group names in test_detail.c & test_detail.py
10 years ago
Nguyen Anh Quynh
54f8cef449
mips: add JR.HB & JALR.HB instructions. also update Ocaml/Python/Java bindings
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