Nguyen Anh Quynh
|
2e79ba8996
|
fix C coding style
|
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
|
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
|
a9ffb440f8
|
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
|
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 |
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
|
5802e5e9a0
|
correct the last fix
|
11 years ago |
Nguyen Anh Quynh
|
5ef633ce91
|
arm64 & arm: do not update details when detail option is off. bug reported by Pancake.
|
11 years ago |
Nguyen Anh Quynh
|
19b0de3c8d
|
moving static doing_mem variable into cs_struct to guarantee thread-safe when handling memory operands
|
11 years ago |
Nguyen Anh Quynh
|
42c6b1acc7
|
initial support for PPC
|
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
|
4d3e852fbb
|
detail option: provide instruction id even when detail option is OFF
|
11 years ago |
Nguyen Anh Quynh
|
a209e67f8a
|
support to turn on/off building instruction details
|
11 years ago |
Nguyen Anh Quynh
|
a01d1546d6
|
x86: handle outs instruction in 16bit mode
|
11 years ago |
Nguyen Anh Quynh
|
b385284a8f
|
arm64: friendly display immediates under 10 without prefix 0x
|
11 years ago |
pancake
|
f0e4eed89d
|
Use const on all read-only buffers
|
11 years ago |
Nguyen Anh Quynh
|
2b4258997f
|
arm64: avoiding duplicate call on AArch64_map_insn() in AArch64_printInst()
|
11 years ago |
Nguyen Anh Quynh
|
731bf2a714
|
arm64: update core engine
|
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
|
ad61c49288
|
arm64: handle decomposer properly for alias insn
|
11 years ago |
Nguyen Anh Quynh
|
6b7abe3c81
|
arm64: handle alias insn in a better way, and add support for MNEG. bug reported by Patroklos Argyroudis
|
11 years ago |
Nguyen Anh Quynh
|
26ee41aa67
|
initial import
|
11 years ago |