Axel 0vercl0k Souchet
|
6b2395f5f7
|
fixed test_arm.c for VS2012
|
11 years ago |
Nguyen Anh Quynh
|
5b556e5fcf
|
tests: C89
|
11 years ago |
Nguyen Anh Quynh
|
54015f45bc
|
tests: add sanity check on insn->detail, since it can be NULL when SKIPDATA option is ON
|
11 years ago |
Nguyen Anh Quynh
|
226d7dca64
|
change API cs_close() to take pointer to handle as argument. this lets us invalidate the closed handle
|
11 years ago |
Nguyen Anh Quynh
|
491469155e
|
tests: continue to next tests rather than quit when failing to initialize a test
|
11 years ago |
Nguyen Anh Quynh
|
2ff665ad4a
|
arm: support asm syntax CS_OPT_SYNTAX_NOREGNAME to print out registers with numbers (ex: 'r11' rather than 'fp')
|
11 years ago |
Nguyen Anh Quynh
|
ceae16d5a9
|
tests: report error when cs_open() failure
|
11 years ago |
Nguyen Anh Quynh
|
39b812d9e9
|
switch detail to be CS_OPT_OFF by default
|
11 years ago |
Nguyen Anh Quynh
|
f122ae0629
|
tests: simplify some accesses to insn's details, and fix some typo bugs
|
11 years ago |
Nguyen Anh Quynh
|
04c19beefe
|
rename API cs_disasm_dyn() to cs_disasm_ex(), and intentionally breaks compatibility with 1.0
|
11 years ago |
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
|
11 years ago |
Nguyen Anh Quynh
|
397d0de598
|
tests: simplify print_insn_detail() function by deleting unused argument
|
11 years ago |
Nguyen Anh Quynh
|
6677b994e7
|
arm: fix a wrong calculation on sign of .disp value in mem reference
|
11 years ago |
Nguyen Anh Quynh
|
5df9e4be91
|
tests: change variable address's type to uint64_t
|
11 years ago |
Nguyen Anh Quynh
|
7b7b40c879
|
tests: now @address is uint64_t, no need to typecast for PRIx64 anymore
|
11 years ago |
Nguyen Anh Quynh
|
7c7a8bc523
|
arm: move static variable ITBlock to cs_struct, so make arm code truly thread-safe
|
11 years ago |
Nguyen Anh Quynh
|
f1c2eee091
|
x86: clang still complains on unused enum type. this shuts it up
|
11 years ago |
Nguyen Anh Quynh
|
524194acfb
|
test: add few (commented out) arm instructions to test_arm.c
|
11 years ago |
Nguyen Anh Quynh
|
bc38a28761
|
test: add some more insn to test_arm.c (commented out code)
|
11 years ago |
Nguyen Anh Quynh
|
173ed2b1cb
|
arm: upgrade core engine
|
11 years ago |
Nguyen Anh Quynh
|
cc6cf65980
|
tests: add some test insn (commented)
|
11 years ago |
Nguyen Anh Quynh
|
723687ea0e
|
tests: typecast size_t to uint64_t for printf, since MingW doesnt support zu specifier
|
11 years ago |
Nguyen Anh Quynh
|
b42a657873
|
change cs_disasm() and cs_disasm_dyn() to be portable API. fix related code using these API
|
11 years ago |
Nguyen Anh Quynh
|
26ee41aa67
|
initial import
|
11 years ago |