opn
|
73b6068ba0
|
build: switch from hardcoded gcc to default c compiler
modified: tests/Makefile
Signed-off-by: Oliver Pinter <op@crysys.hu>
|
11 years ago |
Nguyen Anh Quynh
|
bdd1e340dd
|
remove 'restrict' keyword in the definition of cs_vsnprintf(). also compile tests/* with -L option
|
11 years ago |
Nguyen Anh Quynh
|
d159a03f23
|
tests: proper extensions for newly added static executables
|
11 years ago |
danghvu
|
78647863a5
|
Add test binary for static link
|
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
|
e29eaf9cbb
|
tests: use LDFLAGS to link test files - this is to make Gentoo happy
|
11 years ago |
Nguyen Anh Quynh
|
7adb0bb969
|
tests: use LDFLAGS to link test files - this is to make Gentoo happy
|
11 years ago |
Nguyen Anh Quynh
|
91679cdb60
|
tests: correct the dummy setup for LDFLAGS. suggested by Anton Bolshakov
|
11 years ago |
Nguyen Anh Quynh
|
0d001bb1ef
|
tests: correct the dummy setup for LDFLAGS. suggested by Anton Bolshakov
|
11 years ago |
Nguyen Anh Quynh
|
b2adb18802
|
tests: dummy setup LDFLAGS for Gentoo
|
11 years ago |
Nguyen Anh Quynh
|
34ce2a5325
|
tests: dummy setup LDFLAGS for Gentoo
|
11 years ago |
Nguyen Anh Quynh
|
5f1f90c559
|
fix for the last commit, and make the test code no longer specify ppc code as 64bit
|
11 years ago |
Nguyen Anh Quynh
|
42c6b1acc7
|
initial support for PPC
|
11 years ago |
Nguyen Anh Quynh
|
4ca85111f6
|
tests: do not use -L option for clang
|
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
|
4d3e852fbb
|
detail option: provide instruction id even when detail option is OFF
|
11 years ago |
Nguyen Anh Quynh
|
9d946516c3
|
arm64: fix AArch64_getFeatureBits()
|
11 years ago |
Nguyen Anh Quynh
|
bdaf3b5089
|
x86: delete useless constant values assigned for instructions in x86.h
|
11 years ago |
Nguyen Anh Quynh
|
6677b994e7
|
arm: fix a wrong calculation on sign of .disp value in mem reference
|
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
|
b4ce38355a
|
x86: map xstorerng alias instruction back to xstore. bug reported by Nicolas Ruff
|
11 years ago |
Nguyen Anh Quynh
|
8f13f3c6ab
|
rename @hex_code to @bytes, and move it to next to @size
|
11 years ago |
Nguyen Anh Quynh
|
641b78375f
|
x86: fix relative call. bug reported by Joxean Koret
|
11 years ago |
Joxean
|
367a4df66f
|
Partially reverted previous commit
I added mistakenly various local-only changes.
|
11 years ago |
Joxean
|
114df0ef2a
|
Added @hex_code member
It's used to retrieve the bytes of the instruction.
|
11 years ago |
Nguyen Anh Quynh
|
c618db4473
|
change option names for cs_option(), and update python binding accordingly to support new cs_option()
|
11 years ago |
Nguyen Anh Quynh
|
b8ce68ec05
|
change cs_option() API to be more flexible with option value
|
11 years ago |
Nguyen Anh Quynh
|
01aba002e3
|
add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong
|
11 years ago |
Nguyen Anh Quynh
|
6d552e5540
|
x86: fix bug in relative jump. reported by Joxean
|
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
|
f35e2ad35c
|
add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4
|
11 years ago |
Nguyen Anh Quynh
|
d57fa4f68e
|
x86: added bunch of test insn (commented)
|
11 years ago |
Nguyen Anh Quynh
|
9c950c15d6
|
x86: fix all the shift rotate insns with 1 as immediate: shl, shr, sar, ror, rol. thus, removed the hack on this insns.
|
11 years ago |
Nguyen Anh Quynh
|
8fcec67893
|
x86: do not sign-extend immediate. this fixes the issues reported by LongLD
|
11 years ago |
Nguyen Anh Quynh
|
b9b3d29ff5
|
x86: print segment register in some insns with memory references. This fixes the bug reported by Edgar & Attila
|
11 years ago |
Nguyen Anh Quynh
|
ec0ed8ee94
|
semantics: add insn group JUMP, so now we can check if this insn is branching
|
11 years ago |
Nguyen Anh Quynh
|
7c7a8bc523
|
arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe
|
11 years ago |
Nguyen Anh Quynh
|
f1c2eee091
|
x86: clang still complains on unused enum type. this shuts it up
|
11 years ago |
Nguyen Anh Quynh
|
0e3defb6f8
|
arm64: remove asprintf.c and use static buffer instead for SysRegMapper_toString(). this fixes the bug on MSR insn reported by Patroklos Argyroudis
|
11 years ago |
Nguyen Anh Quynh
|
524194acfb
|
test: add few (commented out) arm instructions to test_arm.c
|
11 years ago |
Nguyen Anh Quynh
|
bc38a28761
|
test: add some more insn to test_arm.c (commented out code)
|
11 years ago |
Nguyen Anh Quynh
|
173ed2b1cb
|
arm: upgrade core engine
|
11 years ago |
Nguyen Anh Quynh
|
cc6cf65980
|
tests: add some test insn (commented)
|
11 years ago |
Nguyen Anh Quynh
|
ad61c49288
|
arm64: handle decomposer properly for alias insn
|
11 years ago |