Nguyen Anh Quynh
|
54015f45bc
|
tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON
|
2014-04-10 00:02:04 +08:00 |
Nguyen Anh Quynh
|
226d7dca64
|
change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle
|
2014-02-27 22:20:39 +08:00 |
Nguyen Anh Quynh
|
491469155e
|
tests: continue to next tests rather than quit when failing to initialize a test
|
2014-02-22 16:54:44 +08:00 |
Nguyen Anh Quynh
|
ceae16d5a9
|
tests: report error when cs_open() failure
|
2014-01-19 16:04:23 +08:00 |
Nguyen Anh Quynh
|
39b812d9e9
|
switch detail to be CS_OPT_OFF by default
|
2014-01-07 23:36:26 +08:00 |
Nguyen Anh Quynh
|
04c19beefe
|
rename API cs_disasm_dyn() to cs_disasm_ex(), and intentionally breaks compatibility with 1.0
|
2013-12-25 13:26:22 +08:00 |
Nguyen Anh Quynh
|
4fe224b1ed
|
change API cs_disasm_dyn(): break cs_insn into 2 structures, and put all details into new structure cs_detail. this break API compatibility
|
2013-12-24 16:49:36 +08:00 |
Nguyen Anh Quynh
|
bdaf3b5089
|
x86: delete useless constant values assigned for instructions in x86.h
|
2013-12-09 00:55:49 +08:00 |
Nguyen Anh Quynh
|
b4ce38355a
|
x86: map xstorerng alias instruction back to xstore. bug reported by Nicolas Ruff
|
2013-12-06 08:06:21 +08:00 |
Nguyen Anh Quynh
|
641b78375f
|
x86: fix relative call. bug reported by Joxean Koret
|
2013-12-04 16:56:40 +08:00 |
Nguyen Anh Quynh
|
c618db4473
|
change option names for cs_option(), and update python binding accordingly to support new cs_option()
|
2013-12-04 00:05:04 +08:00 |
Nguyen Anh Quynh
|
b8ce68ec05
|
change cs_option() API to be more flexible with option value
|
2013-12-03 23:45:08 +08:00 |
Nguyen Anh Quynh
|
01aba002e3
|
add cs_option() API. move ATT & Intel syntax here, rather than having them as CS_MODE, which is wrong
|
2013-12-03 21:00:09 +08:00 |
Nguyen Anh Quynh
|
6d552e5540
|
x86: fix bug in relative jump. reported by Joxean
|
2013-12-03 18:23:53 +08:00 |
Nguyen Anh Quynh
|
5df9e4be91
|
tests: change variable address's type to uint64_t
|
2013-12-03 15:02:12 +08:00 |
Nguyen Anh Quynh
|
7b7b40c879
|
tests: now @address is uint64_t, no need to typecast for PRIx64 anymore
|
2013-12-03 12:24:06 +08:00 |
Nguyen Anh Quynh
|
d57fa4f68e
|
x86: added bunch of test insn (commented)
|
2013-12-03 00:45:39 +08:00 |
Nguyen Anh Quynh
|
9c950c15d6
|
x86: fix all the shift rotate insns with 1 as immediate: shl, shr, sar, ror, rol. thus, removed the hack on this insns.
|
2013-12-02 23:20:07 +08:00 |
Nguyen Anh Quynh
|
8fcec67893
|
x86: do not sign-extend immediate. this fixes the issues reported by LongLD
|
2013-12-02 22:03:30 +08:00 |
Nguyen Anh Quynh
|
b9b3d29ff5
|
x86: print segment register in some insns with memory references. This fixes the bug reported by Edgar & Attila
|
2013-12-02 16:21:55 +08:00 |
Nguyen Anh Quynh
|
cc6cf65980
|
tests: add some test insn (commented)
|
2013-12-01 09:01:52 +08:00 |
Nguyen Anh Quynh
|
723687ea0e
|
tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier
|
2013-11-29 22:36:45 +08:00 |
Nguyen Anh Quynh
|
b42a657873
|
change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API
|
2013-11-29 17:40:07 +08:00 |
Nguyen Anh Quynh
|
26ee41aa67
|
initial import
|
2013-11-27 12:11:31 +08:00 |