Nguyen Anh Quynh
|
041e25dd66
|
add CS_ERR_OPTION type. cs_option() returns this error code on invalid option
|
11 years ago |
Nguyen Anh Quynh
|
f9e3216568
|
x86: on mem reference, put scale after index register to be consistent with Intel style
|
11 years ago |
Nguyen Anh Quynh
|
a236902656
|
fix CS_INSN_OFFSET: calculate offset based on the address of related instruction only
|
11 years ago |
Nguyen Anh Quynh
|
a84d747f7c
|
fix typo in CS_INSN_OFFSET
|
11 years ago |
Nguyen Anh Quynh
|
3829415ce6
|
HACK
|
11 years ago |
Nguyen Anh Quynh
|
bb5460348b
|
add CS_INSN_OFFSET macro, so we can easily calculate offset of one insn, given its position in its array
|
11 years ago |
Nguyen Anh Quynh
|
7f36d26245
|
more notes for HACK
|
11 years ago |
Nguyen Anh Quynh
|
64f5033ceb
|
CREDITS.TXT
|
11 years ago |
Nguyen Anh Quynh
|
4d70daf83d
|
note that Intel is default syntax
|
11 years ago |
Nguyen Anh Quynh
|
d912f91390
|
add a newline between constant types in autogen constants
|
11 years ago |
Nguyen Anh Quynh
|
a2f825ff07
|
support comments in autogen files, so constant files are more friendly
|
11 years ago |
Nguyen Anh Quynh
|
26a43715d9
|
bump API to 1.7 due to the addition of @bytes to cs_insn
|
11 years ago |
Nguyen Anh Quynh
|
79976c1370
|
fix some comments in capstone.h
|
11 years ago |
Nguyen Anh Quynh
|
8f13f3c6ab
|
rename @hex_code to @bytes, and move it to next to @size
|
11 years ago |
Nguyen Anh Quynh
|
c45b1588ef
|
Merge branch 'master' of https://github.com/joxeankoret/capstone into hexcode
|
11 years ago |
Nguyen Anh Quynh
|
c9b6aa1547
|
python: use c_char_p rather than POINTER(c_char) on prototype of cs_disasm_dyn()
|
11 years ago |
Nguyen Anh Quynh
|
c389e00a1f
|
python: wrong prototype for cs_close() causes mem leaking. bug reported by Joxean Koret
|
11 years ago |
Nguyen Anh Quynh
|
641b78375f
|
x86: fix relative call. bug reported by Joxean Koret
|
11 years ago |
Nguyen Anh Quynh
|
c6975b72d6
|
Merge pull request #23 from danghvu/master
Fix a bug const generator does not account for assigning number as enum constant
|
11 years ago |
danghvu
|
b09c122c14
|
Use casting instead of isdigit, incase negative number
|
11 years ago |
danghvu
|
b4b6fea875
|
Fix a bug const generator does not account for assigning number as enum const
|
11 years ago |
Joxean
|
367a4df66f
|
Partially reverted previous commit
I added mistakenly various local-only changes.
|
11 years ago |
Joxean
|
114df0ef2a
|
Added @hex_code member
It's used to retrieve the bytes of the instruction.
|
11 years ago |
Nguyen Anh Quynh
|
4b95d9fa67
|
bump API to 1.6 to reflect the addition of the new API cs_option()
|
11 years ago |
Nguyen Anh Quynh
|
e60590baf1
|
fix bindings to reflect the last commit
|
11 years ago |
Nguyen Anh Quynh
|
f8db76ab94
|
arm64: correct value of ARM64_SFT_ROR
|
11 years ago |
Nguyen Anh Quynh
|
6ae5a63993
|
update CREDITS
|
11 years ago |
Nguyen Anh Quynh
|
ea5b79d058
|
move some alias registers around to after REG_MAX. this seems to fix some issues of clang, which struggles with enum that assign value from other enum
|
11 years ago |
Nguyen Anh Quynh
|
b39ef0bfa6
|
arm: added some alias registers
|
11 years ago |
Nguyen Anh Quynh
|
67f1297b33
|
java: temporarily remove SYNTAX_ATT option due to the newly added cs_option() API. this will be fixed when cs_option() is supported in java
|
11 years ago |
Nguyen Anh Quynh
|
e4229c6939
|
merge with option branch
|
11 years ago |
Nguyen Anh Quynh
|
c3a0a2c3d3
|
python: fix a memory leaking in cs_disasm_quick(). bug reported by Joxean Koret
|
11 years ago |
Nguyen Anh Quynh
|
39da42692d
|
arm: fix a memory leaking bug
|
11 years ago |
Nguyen Anh Quynh
|
da8adaded2
|
API cs_option(): @value now has size_t, so mapping opaque pointer is possible for future options
|
11 years ago |
Nguyen Anh Quynh
|
00dff9fa7b
|
Merge pull request #21 from danghvu/master
Fix java Segfault on new API
|
11 years ago |
danghvu
|
2c37cd49fc
|
Minor fix in java coding style
|
11 years ago |
danghvu
|
9e51977205
|
Fix java binding to reflect new api
|
11 years ago |
Nguyen Anh Quynh
|
c618db4473
|
change option names for cs_option(), and update python binding accordingly to support new cs_option()
|
11 years ago |
Nguyen Anh Quynh
|
b8ce68ec05
|
change cs_option() API to be more flexible with option value
|
11 years ago |
Nguyen Anh Quynh
|
daaed13cc1
|
python: update to the newly added cs_option() API
|
11 years ago |
Nguyen Anh Quynh
|
4a60a56be6
|
handle cs_option() according to arch & mode
|
11 years ago |
Nguyen Anh Quynh
|
01aba002e3
|
add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong
|
11 years ago |
Nguyen Anh Quynh
|
a5f0b1c3c3
|
mips: map register 9 to 'sp' rather than '29'
|
11 years ago |
Nguyen Anh Quynh
|
6d552e5540
|
x86: fix bug in relative jump. reported by Joxean
|
11 years ago |
Nguyen Anh Quynh
|
3fa53140b8
|
update CREDITS
|
11 years ago |
Nguyen Anh Quynh
|
9cf170bcaa
|
mips: correct the forgotten size_t address in the last API change
|
11 years ago |
Nguyen Anh Quynh
|
5df9e4be91
|
tests: change variable address's type to uint64_t
|
11 years ago |
Nguyen Anh Quynh
|
88db228cc9
|
bindings: do not delete constant files when on clean target of Makefile
|
11 years ago |
Nguyen Anh Quynh
|
22fcba13f9
|
java: add some missing CS_MODE
|
11 years ago |
Nguyen Anh Quynh
|
de53660109
|
java: quick fix to update it with latest API changes
|
11 years ago |