Commit Graph

1901 Commits

Author SHA1 Message Date
Nguyen Anh Quynh
733cdafe70 Merge branch 'mips' into next 2014-10-13 07:36:38 +08:00
Nguyen Anh Quynh
d463bde653 Merge branch 'next' of https://github.com/aquynh/capstone into next 2014-10-13 07:34:34 +08:00
Nguyen Anh Quynh
8c5c292752 Merge branch 'improvement/remove_mips_n64' of https://github.com/parasyte/capstone into mips 2014-10-13 07:27:50 +08:00
Nguyen Anh Quynh
a91c1994ea docs: add a link to online doc of cs_disasm_iter() 2014-10-13 07:27:16 +08:00
Nguyen Anh Quynh
ab51d8095a Merge pull request #196 from parasyte/bug/ignore_test_iter
Add tests/test_iter to .gitignore
2014-10-13 07:04:21 +08:00
Jay Oster
79e253c516 Remove CS_MODE_N64
- This mode is for the so-called MIPS "N64" ABI; it has nothing to do with the Nintendo 64 game platform.
- N64, O64, et al. are just different ABIs for the 64-bit MIPS architecture, so we replace CS_MODE_N64 with the existing CS_MODE_64
2014-10-12 16:03:12 -07:00
Jay Oster
b1119a39e5 Add tests/test_iter to .gitignore 2014-10-12 15:47:16 -07:00
Nguyen Anh Quynh
9090672e97 clean cs_disasm_iter() 2014-10-12 20:24:33 +08:00
Nguyen Anh Quynh
2c8b2627d1 capstone.h: document that for instruction or when detail mode is OFF, the detail pointer is irrelevant, regardless of its value 2014-10-12 20:23:08 +08:00
Nguyen Anh Quynh
1a83cea5f5 Merge branch 'newapi' into next 2014-10-12 15:31:24 +08:00
Nguyen Anh Quynh
fb429b1eba capstone.h: note that in Skipdata mode, invalid instruction has id = 0 2014-10-12 15:29:12 +08:00
Nguyen Anh Quynh
29ce6c3517 cs_disasm_iter: return false when handle is invalid and do not zero out detail pointer when handling skipdata mode. suggested by @hlide 2014-10-12 15:28:34 +08:00
Nguyen Anh Quynh
ff2939a23c capstone.h: refer to sample code for skipdata option & cs_disasm_iter API 2014-10-12 10:43:02 +08:00
Nguyen Anh Quynh
801ce2b893 detail pointer is irrelevant when in skipdata mode 2014-10-12 10:36:57 +08:00
Nguyen Anh Quynh
f0acace803 Merge branch 'newapi' of https://github.com/aquynh/capstone into next 2014-10-12 10:30:57 +08:00
Nguyen Anh Quynh
542a540360 refine instructions of cs_free() to reflect the newly added API cs_malloc() 2014-10-11 13:12:15 +08:00
Nguyen Anh Quynh
7170cb2ea2 tests: add some comments for test_iter.c 2014-10-11 10:43:27 +08:00
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