Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
capstone
/
bf43394b1e7b6f2dbe3b03ab9940501bcae45b8c
/
cs.c
afffa5d
merge next to master
by Nguyen Anh Quynh
· 6 years ago
65da43d
Declare global arch arrays with contents (next branch) (#1186)
by Travis Finkenauer
· 6 years ago
0b874b2
cleanup
by Nguyen Anh Quynh
· 6 years ago
853a287
Declare global arch arrays with contents (#1171)
by Travis Finkenauer
· 6 years ago
36d4585
Add Availability.h include to fix macOS SDK instrinsics
by vit9696
· 6 years ago
7723175
Add Availability.h include to fix macOS SDK instrinsics (#1175)
by vit9696
· 6 years ago
ed1246d
add Ethereum VM architecture
by Nguyen Anh Quynh
· 7 years ago
5c30212
prefix cs_ to global variables to avoid link problems (#1108)
by Alberto Garcia Illera
· 7 years ago
5f173b0
prefix cs_ to global variables to avoid link problems (#1102)
by Alberto Garcia Illera
· 7 years ago
22b4d0e
M680X: Target ready for pull request (#1034)
by Wolfgang Schwotzer
· 7 years ago
8998a3a
ppc: fix endian check (#1029)
by Travis Finkenauer
· 7 years ago
a8c7e4a
Merge #929 with some changes to get things compile (#930)
by vit9696
· 7 years ago
4a757e1
Several changes for size reduction (#929)
by vit9696
· 7 years ago
0e7a2e7
Minor fixes for the M68K port.
by Fotis Loukos
· 8 years ago
0850d55
Added support for the TMS320C64x architecture.
by Fotis Loukos
· 8 years ago
4f8d799
Update cs.c
by Nguyen Anh Quynh
· 8 years ago
e2d9ada
Update cs.c
by Nguyen Anh Quynh
· 8 years ago
2df9a8e
suppress MSVC code analysis (PREfast) warnings
by Satoshi Tanda
· 8 years ago
f177f92
suppress MSVC code analysis (PREfast) warnings
by Satoshi Tanda
· 8 years ago
dabc9f2
x86: properly handle SSE/AVX instructions
by Nguyen Anh Quynh
· 8 years ago
f7fe640
port #684 to the next branch
by tandasat
· 8 years ago
2729f3b
fix #681
by tandasat
· 8 years ago
59df550
edit documents and comments
by tandasat
· 8 years ago
c45f1db
Merge remote-tracking branch 'upstream/next' into next
by tandasat
· 8 years ago
45e5eab
port Windows driver support
by tandasat
· 8 years ago
4d36deb
fix #673
by tandasat
· 8 years ago
b3d38cf
fix #673
by tandasat
· 8 years ago
a6609fe
address warnings with capstone_static_winkernel
by tandasat
· 8 years ago
9f56f75
Merge branch 'windriver'
by Nguyen Anh Quynh
· 8 years ago
9d07c1c
arm: only reset IT block for ARM
by Nguyen Anh Quynh
· 8 years ago
0c86440
arm: only reset IT block for ARM
by Nguyen Anh Quynh
· 8 years ago
c2cb0e7
arm: reset IT block before cs_disasm(). this fixes issue #643
by Nguyen Anh Quynh
· 8 years ago
56aa0ac
arm: reset IT block before cs_disasm(). this fixes issue #643
by Nguyen Anh Quynh
· 8 years ago
1dd8987
enable winkernel default memmory mgmt
by tandasat
· 8 years ago
201a0a1
"vsnprintf()" is unsupported on Windows CE. The closest match is "_vsnprintf()".
by Koutheir Attouchi
· 8 years ago
760940f
Addressed compile/link errors when built on VS for drivers
by tandasat
· 9 years ago
256090a
add CS_OPT_UNSIGNED option to print immediate in unsigned form. only ARM is supported for now (issue #585)
by Nguyen Anh Quynh
· 9 years ago
0148b04
Fix instruction size define
by Pb
· 9 years ago
b8741bd
OS X kernel support (see https://github.com/aquynh/capstone/pull/528)
by Pb
· 9 years ago
a21cc8c
Fix instruction cache size define
by Pb
· 9 years ago
197e457
code style
by Nguyen Anh Quynh
· 9 years ago
2769c77
Correct build settings for xnu kext. Changed calloc name to avoid potential conflicts
by Pb
· 9 years ago
86ad3d6
Support of xnu memory allocator
by Pb
· 9 years ago
d07a21b
Kill a shadowed declaration of a local variable.
by Tyler J. Stachecki
· 9 years ago
30d1167
Kill a shadowed declaration of a local variable.
by Tyler J. Stachecki
· 9 years ago
2ee675c
This adds M68K support to Capstone
by Daniel Collin
· 9 years ago
8aba4cd
add error code CS_ERR_X86_MASM
by Nguyen Anh Quynh
· 9 years ago
0b96545
new option CS_OPT_MNEMONIC to customize instruction mnemonic
by Nguyen Anh Quynh
· 9 years ago
bcf09f4
Add support to embed Capstone into OS X kernel extensions.
by reverser
· 10 years ago
160e198
Add support to embed Capstone 3.x branch into OS X kernel extensions.
by reverser
· 10 years ago
58eb073
x86: avoid duplicating registers returned by cs_regs_access(). also add *CX registers to regs_read[], regs_write[] for REP* instructions
by Nguyen Anh Quynh
· 10 years ago
efffe78
Add new API and start to provide access information for instruction operands
by Nguyen Anh Quynh
· 10 years ago
bfcaba5
2015
by Nguyen Anh Quynh
· 10 years ago
3973d8b
Silencing Clang warning bys casting values
by Félix Cloutier
· 10 years ago
c141af9
Silencing Clang warning bys casting values
by Félix Cloutier
· 10 years ago
9c10ace
Make pkg-config and source consistent with installation
by pancake
· 10 years ago
611b0c5
code style
by Nguyen Anh Quynh
· 10 years ago
f1e4975
check malloc return value
by Edward Williamson
· 10 years ago
ff7bba3
x86: print out immediate as positive number for logic arithmetic operations: AND, OR, XOR. only works for x86 Intel syntax so far. issue reported by Pancake
by Nguyen Anh Quynh
· 10 years ago
6c0dd63
fix an overflow bug in fill_insn()
by Nguyen Anh Quynh
· 10 years ago
d91f964
* Fixed bug in Thumb2 pop caused by me incorrectly assuming that
by flyingsymbols
· 10 years ago
9090672
clean cs_disasm_iter()
by Nguyen Anh Quynh
· 10 years ago
29ce6c3
cs_disasm_iter: return false when handle is invalid and do not zero out detail pointer when handling skipdata mode. suggested by @hlide
by Nguyen Anh Quynh
· 10 years ago
0a2eca7
modify API cs_disasm_iter() and add new API cs_malloc(). also adds sample code test_iter.c
by Nguyen Anh Quynh
· 10 years ago
993f362
New API: cs_disasm_iter
by hlide
· 10 years ago
4d3ccf4
simplify the way to calculate insn_cache in cs_disasm(). suggested by @hlide
by Nguyen Anh Quynh
· 10 years ago
2fb7c8e
Fix a bug with previous patch
by danghvu
· 10 years ago
f9d8a89
correct some comments in cs_disasm()
by Nguyen Anh Quynh
· 10 years ago
0d1aad1
Increase cache size by golden ratio
by danghvu
· 10 years ago
27a4a08
fix a double-free bug introduced by the last change in cs_disasm()
by Nguyen Anh Quynh
· 10 years ago
ea3c089
some simple optimizations for speed. this improves performance about 5%
by Nguyen Anh Quynh
· 10 years ago
16f330c
cs_disasm(): properly resize the cache when count in range [2, INSN_CACHE_SIZE]
by Nguyen Anh Quynh
· 10 years ago
523ca99
cs_disasm(): make sure cache_size is smaller than INSN_CACHE_SIZE to avoid integer overflow in malloc()
by Nguyen Anh Quynh
· 10 years ago
50eeba2
avoid setting instruction cache size to @count when Capstone uses user-customized memory management, which might fail in resource scarce env such as kernel
by Nguyen Anh Quynh
· 10 years ago
ac98ca0
set buffer size for instruction cache in cs_disasm() to @count if @count > 0. this avoids realloc() in cases where @count is pre-determined. thanks Dang Hoang Vu for the idea
by Nguyen Anh Quynh
· 10 years ago
0beb0d4
api: get back the old API cs_disasm() & mark cs_disasm_ex() deprecated. cs_disasm_ex() will be removed in the future
by Nguyen Anh Quynh
· 10 years ago
0c07cc9
zero-out instruction details, mnemonic & op_str so cs_insn doesnt have garbage in Diet mode
by Nguyen Anh Quynh
· 10 years ago
4b6b15f
fix more MSVC warnings
by Nguyen Anh Quynh
· 10 years ago
0efef5d
solve some conflicts when merging -next into -v3
by Nguyen Anh Quynh
· 10 years ago
876b6b6
use const when passing cs_insn pointers
by obs
· 10 years ago
0b69038
x86: update core with upstream. this added bunch of new instructions & groups. also updated Python & Java bindings after the core change
by Nguyen Anh Quynh
· 10 years ago
5d80678
Merge branch 'next' of https://github.com/flyingsymbols/capstone into arm
by Nguyen Anh Quynh
· 10 years ago
298d413
* added a test file to suite for testing invalid and valid instruction sequences
by flyingsymbols
· 10 years ago
027afdc
Change the prototype of the callback in SKIPDATA option. Suggested by Ben Nagy.
by Nguyen Anh Quynh
· 10 years ago
0df7e93
Change the prototype of the callback in SKIPDATA option. Suggested by Ben Nagy.
by Nguyen Anh Quynh
· 10 years ago
650f96c
add new API cs_group_name() to return group name in string, given the group id
by Nguyen Anh Quynh
· 10 years ago
25b7f76
simplify code copying @mnemonic in fill_insn()
by Nguyen Anh Quynh
· 10 years ago
d392f6e
simplify code copying @mnemonic in fill_insn()
by Nguyen Anh Quynh
· 10 years ago
22ea683
only verify x86_prefix[0] for x86 arch. bug reported by @pancake
by Nguyen Anh Quynh
· 10 years ago
1d3100a
only verify x86_prefix[0] for x86 arch. bug reported by @pancake
by Nguyen Anh Quynh
· 10 years ago
5a7f409
set @insn to NULL on error in cs_disasm_ex()
by Nguyen Anh Quynh
· 10 years ago
dab17fd
set @insn to NULL on error in cs_disasm_ex()
by Nguyen Anh Quynh
· 10 years ago
6c182ae
fix a memleaking issue in cs_disasm_ex() where memory was not freed when input code is illegit
by Nguyen Anh Quynh
· 10 years ago
cae09bf
replace offset_of with offsetof from stddef.h
by Nguyen Anh Quynh
· 10 years ago
64091f7
resize total memory allocated for @insns to just the right size for cs_disasm_ex()
by Nguyen Anh Quynh
· 10 years ago
495295e
MCInst_Init() is arch-independent
by Nguyen Anh Quynh
· 10 years ago
db3c00c
consider tab as delimiter char in asm bufffer in fill_insn()
by Nguyen Anh Quynh
· 10 years ago
69582d7
initialize cs_insn.detail by properly zero-out right members for each arch
by Nguyen Anh Quynh
· 10 years ago
c88d992
cs_disasm_ex(): properly calculate insn_cache when reallocating total variable
by Nguyen Anh Quynh
· 10 years ago
ee58394
cs_disasm_ex(): avoid multiple memcpy() by allocating memory for total, then directly work on that instead of using static array insn_cache[]
by Nguyen Anh Quynh
· 10 years ago
Next »