Commit Graph

1828 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
2d752f9e4e tests: add introductions for test_skipdata.c & test_iter.c to README 2014-10-11 01:33:32 +08:00
Nguyen Anh Quynh
5cb3d6401e refine some API instructions for capstone.h 2014-10-11 01:32:39 +08:00
Nguyen Anh Quynh
43efc45fb8 code style 2014-10-11 00:38:30 +08:00
Nguyen Anh Quynh
0a2eca7c6c modify API cs_disasm_iter() and add new API cs_malloc(). also adds sample code test_iter.c 2014-10-11 00:36:16 +08:00
Nguyen Anh Quynh
b10418e79b java: a call to printf() in TestArm.java is missing a variable 2014-10-10 22:37:49 +08:00
Nguyen Anh Quynh
db8eaa3d0b bindings: remove MIPS_REG_PC constant following the change in the core 2014-10-10 21:13:30 +08:00
Nguyen Anh Quynh
c64d6292fc mips: remove MIPS_REG_PC register. reviewed by Jay Oster 2014-10-10 21:11:50 +08:00
Nguyen Anh Quynh
8bf5fa60ad arm: remove dead code 2014-10-07 07:56:01 +08:00
Nguyen Anh Quynh
e8ffc34a5c update CREDITS 2014-10-07 00:33:35 +08:00
Nguyen Anh Quynh
cdb8da329f update CREDITS 2014-10-07 00:20:42 +08:00
Nguyen Anh Quynh
29d16887b3 update CREDITS.TXT 2014-10-06 23:09:22 +08:00
Nguyen Anh Quynh
cc35100093 link COMPILE.TXT to xcode/README.md 2014-10-06 22:19:10 +08:00
Nguyen Anh Quynh
5be2592a57 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-10-06 21:02:47 +08:00
Nguyen Anh Quynh
b0cc71da59 bindings: update java/ocaml/python after the last change in Arm's core 2014-10-06 21:01:32 +08:00
Nguyen Anh Quynh
8fb2eab459 arm: some operands can get subtracted from base register, thus have '-' sign associated. this adds subtracted field into cs_arm_op to provide this info. issue reported by Yegor Derevenets 2014-10-06 20:27:25 +08:00
Nguyen Anh Quynh
8d2f38beed Merge pull request #194 from zneak/next
Xcode Project for Capstone
2014-10-06 19:54:33 +08:00
hlide
993f362ad8 New API: cs_disasm_iter 2014-10-05 18:14:40 +02:00
hlide
1b7ccbf141 Merge pull request #1 from aquynh/next
Updating 'next'
2014-10-05 17:55:27 +02:00
Nguyen Anh Quynh
fe4822c32a Ocaml: major update
- support cs_option & cs_close API.

- do not turn on DETAIL mode by default.

- all test_<arch> samples turn on DETAIL mode at runtime.

- remove OO sample code in test*.ml.

- better API, so interface is natural & close to C API.

- ATT syntax support for X86 sample code.
2014-10-04 16:30:02 +08:00
Félix Cloutier
e36b8a3834 Adding CAPSTONE_SHARED setting to framework and dylib 2014-10-03 02:15:01 -04:00
Félix Cloutier
25414e301f Adding framework target 2014-10-03 02:12:39 -04:00
Félix Cloutier
cc30045a67 Added README file; removed dubious config lines 2014-10-03 01:12:40 -04:00
Félix Cloutier
8bc327aca1 (Re-)added preprocessor macros 2014-10-02 17:06:09 -04:00
Félix Cloutier
89005e0fca Changed .gitignore file to ignore xcuserdata dirs 2014-10-02 16:28:09 -04:00
Félix Cloutier
3829e49d84 Deleted unreferenced file 2014-10-02 16:27:44 -04:00
Félix Cloutier
073086b78e Removing schema files since they are normally not committed 2014-10-02 16:23:18 -04:00
Félix Cloutier
0c6c6222b2 Readded targets because I screwed up 2014-10-02 16:21:38 -04:00
Félix Cloutier
1b994ffa35 Added test targets, made sure that tests run 2014-10-02 16:09:36 -04:00
kratolp
f2b699a716 Don't add cr0 to the operand list as it's not displayed by the disassembly 2014-10-02 20:53:55 +02:00
Félix Cloutier
1e97886ca6 Xcode project now builds 2014-10-02 14:36:22 -04:00
Nguyen Anh Quynh
4d3ccf46fd simplify the way to calculate insn_cache in cs_disasm(). suggested by @hlide 2014-10-03 00:39:56 +08:00
Nguyen Anh Quynh
5267baf1f1 fix conflicts 2014-10-02 20:52:02 +08:00
danghvu
2fb7c8e46a Fix a bug with previous patch 2014-10-02 07:38:53 -05:00
Nguyen Anh Quynh
e96935ed68 ppc: remove duplicate op_addReg() in printAliasInstrEx() 2014-10-02 17:09:22 +08:00
Nguyen Anh Quynh
cd18208f49 package: update Macports & Homebrew 2014-10-02 16:34:05 +08:00
Nguyen Anh Quynh
fff1307980 Makefile: simplify generate-pkgcfg by using INCDIR. reviewed by Pancake 2014-10-02 16:14:26 +08:00
Nguyen Anh Quynh
e702b55507 Makefile: do not remove old libs in install 'target' 2014-10-02 16:01:00 +08:00
Nguyen Anh Quynh
ffe4435bb4 package: update FreeBSD package 2014-10-02 15:54:28 +08:00
Nguyen Anh Quynh
910a4df9a3 tests: compile without -O3 flag. this is to make it easier to maintain FreeBSD package 2014-10-02 15:49:53 +08:00
Nguyen Anh Quynh
f9d8a89c24 correct some comments in cs_disasm() 2014-10-02 12:37:32 +08:00
danghvu
0d1aad1e9f Increase cache size by golden ratio 2014-10-01 23:17:52 -05:00
Nguyen Anh Quynh
a90b047d9f x86: simplify printPCRelImm() in calculating absolute address. also fix the issue on AT&T syntax 2014-10-02 12:04:35 +08:00
Nguyen Anh Quynh
27a4a08bb2 fix a double-free bug introduced by the last change in cs_disasm() 2014-10-02 10:31:37 +08:00
Nguyen Anh Quynh
ea3c089591 some simple optimizations for speed. this improves performance about 5% 2014-10-02 10:17:55 +08:00
Nguyen Anh Quynh
16f330c37a cs_disasm(): properly resize the cache when count in range [2, INSN_CACHE_SIZE] 2014-10-02 10:09:59 +08:00
Nguyen Anh Quynh
bff4fbd544 x86: properly calculate absolute addresses for relative CALL & JMP - for AT&T syntax. thanks Perdo, again 2014-10-01 22:57:51 +08:00
Nguyen Anh Quynh
a92d2cba1d x86: properly calculate absolute addresses of relative CALL & JMP. thanks Pedro for valuable helps 2014-10-01 22:10:22 +08:00
Nguyen Anh Quynh
df92a7f346 mips: BC0F is relative branch instruction. bug reported by Pancake 2014-10-01 21:25:18 +08:00
Nguyen Anh Quynh
48eb13c33c ppc: add detail for alias instructions introduced in the latest change by @kratolp 2014-10-01 21:18:55 +08:00
Nguyen Anh Quynh
6b731a097f fix conflicts when merging 2014-10-01 21:05:51 +08:00