Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
capstone
/
ac9253cfc5335d76aafd0c54404bd8dc90e27d55
/
utils.c
bcf09f4
Add support to embed Capstone into OS X kernel extensions.
by reverser
· 9 years ago
4b6b15f
fix more MSVC warnings
by Nguyen Anh Quynh
· 10 years ago
aaddb25
no need to zeroout insn_cache in make_id2insn()
by Nguyen Anh Quynh
· 10 years ago
fec5539
use calloc() to zerout insn_cache in make_id2insn. this makes sure uninitialized data zero
by Nguyen Anh Quynh
· 10 years ago
12f93cb
use malloc() rather than calloc() for handle->insn_cache in make_id2insn()
by Nguyen Anh Quynh
· 10 years ago
583baba
remove more dead code
by Nguyen Anh Quynh
· 10 years ago
19146e9
replace strcasecmp() with strcmp(). this also simlifies MSVC support a bit
by Nguyen Anh Quynh
· 10 years ago
6023ef7
Disassembler -> Disassembly
by Nguyen Anh Quynh
· 10 years ago
7f6db24
remove now redundant insn_reverse_id() after alias handling simplifications
by Nguyen Anh Quynh
· 11 years ago
46018db
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).
by Alex Ionescu
· 11 years ago
a9ffb44
replace strdup() with our cs_strdup(), which call cs_mem_malloc() internally
by Nguyen Anh Quynh
· 11 years ago
a8eb7a5
rename memory function pointer types to have cs_ prefix. also rename internal function pointers my_* to have cs_mem_ prefix - suggested by Pancake
by Nguyen Anh Quynh
· 11 years ago
0b93e19
fix off-by-one error in make_id2insn. patch by Dang Hoang Vu
by Nguyen Anh Quynh
· 11 years ago
24bf0d9
add new option CS_OPT_MEM for cs_option(): this enable user-defined dynamic memory management. idea proposed by Pancake
by Nguyen Anh Quynh
· 11 years ago
f1d489b
ppc: support details information
by Nguyen Anh Quynh
· 11 years ago
b265406
cache insns for fast lookup in mapping.c. based on the idea of Dang Hoang Vu
by Nguyen Anh Quynh
· 11 years ago
18103e4
size down insn_map structructure by reducing the size of some fields. this alone makes lib binary size 2.6MB smaller
by Nguyen Anh Quynh
· 11 years ago
bed9091
x86: calculate op_size properly in special cases regarding rax, eax, ax, al registers
by Nguyen Anh Quynh
· 11 years ago
f0e4eed
Use const on all read-only buffers
by pancake
· 11 years ago
f35e2ad
add @regs_read_count, @regs_write_count, @groups_count to @cs_insn. bump API to 1.4
by Nguyen Anh Quynh
· 11 years ago
26ee41a
initial import
by Nguyen Anh Quynh
· 11 years ago