Nguyen Anh Quynh
|
4b6b15fcb1
|
fix more MSVC warnings
|
10 years ago |
Nguyen Anh Quynh
|
aaddb25453
|
no need to zeroout insn_cache in make_id2insn()
|
11 years ago |
Nguyen Anh Quynh
|
fec5539f3a
|
use calloc() to zerout insn_cache in make_id2insn. this makes sure uninitialized data zero
|
11 years ago |
Nguyen Anh Quynh
|
12f93cba5e
|
use malloc() rather than calloc() for handle->insn_cache in make_id2insn()
|
11 years ago |
Nguyen Anh Quynh
|
583baba8c4
|
remove more dead code
|
11 years ago |
Nguyen Anh Quynh
|
19146e91a3
|
replace strcasecmp() with strcmp(). this also simlifies MSVC support a bit
|
11 years ago |
Nguyen Anh Quynh
|
1d2e69b869
|
msvc: remove headers/ directory & replace it with include/platform.h
|
11 years ago |
Nguyen Anh Quynh
|
b2a88df20f
|
MSVC added some code picked up by MingW, so cross-win32/74 compile is broken. this fixes the issue
|
11 years ago |
Axel 0vercl0k Souchet
|
2cca1d4157
|
we want that code to compile on other system than windows
|
11 years ago |
Axel 0vercl0k Souchet
|
779d4c75d9
|
first changes to get a successfully compiled version of capstone on VS2012
|
11 years ago |
Nguyen Anh Quynh
|
6023ef7843
|
Disassembler -> Disassembly
|
11 years ago |
Nguyen Anh Quynh
|
7f6db24a8f
|
remove now redundant insn_reverse_id() after alias handling simplifications
|
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
|
a9ffb440f8
|
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
|
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
|
0b93e19460
|
fix off-by-one error in make_id2insn. patch by Dang Hoang Vu
|
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
|
f1d489b949
|
ppc: support details information
|
11 years ago |
Nguyen Anh Quynh
|
b265406960
|
cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu
|
11 years ago |
Nguyen Anh Quynh
|
18103e4a22
|
size down insn_map structructure by reducing the size of some fields. this alone makes lib binary size 2.6MB smaller
|
11 years ago |
Nguyen Anh Quynh
|
bed90914e2
|
x86: calculate op_size properly in special cases regarding rax, eax, ax, al registers
|
11 years ago |
pancake
|
f0e4eed89d
|
Use const on all read-only buffers
|
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
|
26ee41aa67
|
initial import
|
11 years ago |