Nguyen Anh Quynh
|
4b6b15fcb1
|
fix more MSVC warnings
|
10 years ago |
Nguyen Anh Quynh
|
cae09bf543
|
replace offset_of with offsetof from stddef.h
|
11 years ago |
Nguyen Anh Quynh
|
69582d71ae
|
initialize cs_insn.detail by properly zero-out right members for each arch
|
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
|
2a33afe6e8
|
msvc: make MSVC shutup on strncpy()
|
11 years ago |
Nguyen Anh Quynh
|
2b68355a67
|
msvc: support strcpy() with strcpy_s()
|
11 years ago |
Nguyen Anh Quynh
|
e76abf47e1
|
move prototype of strcasecmp for MSVC into utils.h, and remove platform.h
|
11 years ago |
Nguyen Anh Quynh
|
6023ef7843
|
Disassembler -> Disassembly
|
11 years ago |
Nguyen Anh Quynh
|
a88c1164bf
|
move the macro MIN to utils.h
|
11 years ago |
Nguyen Anh Quynh
|
fc83a439e5
|
add diet compile option (CAPSTONE_DIET option in config.mk). This reduces binary size by around 40%
|
11 years ago |
Nguyen Anh Quynh
|
7f6db24a8f
|
remove now redundant insn_reverse_id() after alias handling simplifications
|
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
|
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
|
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
|
ae3649ff71
|
rename some C header guards to be without _ as prefix to follow naming convention of C language. suggested by Markus Elfring
|
11 years ago |
Nguyen Anh Quynh
|
f4af98c0b5
|
refine insn_map structure to further reduce binary size: this makes .SO file around 120K smaller
|
11 years ago |
Nguyen Anh Quynh
|
08a19ed5c7
|
refine insn_map structure to further reduce binary size: this makes .SO file around 120K smaller
|
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
|
462f291b9f
|
ARM: Fix bunch of issues
- Bugs
- start switching to more friendly asm: for number under 10, print without hex in front
|
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
|
ad61c49288
|
arm64: handle decomposer properly for alias insn
|
11 years ago |
Nguyen Anh Quynh
|
26ee41aa67
|
initial import
|
11 years ago |