Ole André Vadla Ravnås
|
7a7343945d
|
Makefile: allow `BUILDDIR` to be a relative path
|
11 years ago |
Ole André Vadla Ravnås
|
544ba8bf0b
|
Makefile: fix implicit rule pre-requisite
|
11 years ago |
Ole André Vadla Ravnås
|
c920daff13
|
Makefile: fix out-of-tree build regression
Because `BUILDDIR` may be an absolute path.
|
11 years ago |
Nguyen Anh Quynh
|
6ae472fe36
|
Makefile: avoid redefining BUILDDIR, so we can remove its directory in clean target
|
11 years ago |
Nguyen Anh Quynh
|
5519a68812
|
Makefile: fix clean targets and put all test binaries under BUILDIR/tests/
|
11 years ago |
Nguyen Anh Quynh
|
df60ada2ad
|
Merge branch 'feature/build-out-of-tree' of https://github.com/frida/capstone into config
|
11 years ago |
Ole André Vadla Ravnås
|
35f937d2db
|
Adapt core build system to allow building out-of-tree
Simply define `BUILDDIR` to where you would like build output to go.
|
11 years ago |
Nguyen Anh Quynh
|
e31327da14
|
rename USE_SYS_DYN_MEM to CAPSTONE_USE_SYS_DYN_MEM for consistency with other options
|
11 years ago |
Nguyen Anh Quynh
|
38863f20b9
|
minor fix for COMPILE.TXT
|
11 years ago |
Nguyen Anh Quynh
|
18759b3194
|
update COMPILE.TXT after the last change in config.mk
|
11 years ago |
Nguyen Anh Quynh
|
dc09a9a099
|
allow user to customize USE_SYS_DYN_MEM, DIET & X86_REDUCE when compile with make.sh, so there is no need to edit config.mk
|
11 years ago |
Nguyen Anh Quynh
|
6023ef7843
|
Disassembler -> Disassembly
|
11 years ago |
Nguyen Anh Quynh
|
17874d084e
|
x86: handle NOP instruction 0f18*
|
11 years ago |
Nguyen Anh Quynh
|
77af9fb9c6
|
Allow user to specify compiler optimization flags via CFLAGS at compile time. suggested by Ole André Vadla Ravnås
|
11 years ago |
Nguyen Anh Quynh
|
2c5e3e5833
|
x86: allow 0x66 & 0x67 prefixes to be put anywhere in front of an instruction
|
11 years ago |
Nguyen Anh Quynh
|
4f2049b346
|
allow to set archs to be compiled in from environment variable CAPSTONE_ARCHS
|
11 years ago |
Nguyen Anh Quynh
|
7751fbe57b
|
header files: Disassembler -> Disassembly
|
11 years ago |
Nguyen Anh Quynh
|
2cff6f61fc
|
x86: handle instructions with LOCK/REP/REPNE prefix after other prefixes. bear with this until we have a better approach
|
11 years ago |
Nguyen Anh Quynh
|
a88c1164bf
|
move the macro MIN to utils.h
|
11 years ago |
Nguyen Anh Quynh
|
1b4864ac46
|
x86: fix comments on MOVcr, MOVdr, MOVrc, MOVrd
|
11 years ago |
Nguyen Anh Quynh
|
e93179b851
|
x86: BOUND instruction uses dword & qword for boundary array, but not memory reference
|
11 years ago |
Nguyen Anh Quynh
|
7437a41bfa
|
x86: minor fixes for comments on MOV32cr etc: this is related to 64bit code as well
|
11 years ago |
Nguyen Anh Quynh
|
fe94c2b270
|
x86: BOUND opcode is reused by EVEX instruction set, so must be handled properly
|
11 years ago |
Nguyen Anh Quynh
|
96bda4f8b4
|
x86: MOV32cr & co. work for x64, not only x86. thank Joxean Koret for the help to verify this.
|
11 years ago |
Nguyen Anh Quynh
|
191c070cac
|
suite: update x86odd.py
|
11 years ago |
Nguyen Anh Quynh
|
0902bf2a25
|
x86: handle MOV32cr, MOV32dr, MOV32rc, MOV32rd
|
11 years ago |
Nguyen Anh Quynh
|
2a9c0e0396
|
x86: fix a bug when sign-extend immediate for Ev. backport from upstream LLVM
|
11 years ago |
Nguyen Anh Quynh
|
0eefeb9335
|
java: add FSTPNCE instruction following the core update
|
11 years ago |
Nguyen Anh Quynh
|
2ef89c6137
|
python: add FSTPNCE instruction following the core update
|
11 years ago |
Nguyen Anh Quynh
|
fa697076b1
|
x86: handle more tricky instructions.
- support undocumented instructions FSTP & FSTPNCE. see http://blogs.technet.com/b/mmpc/archive/2013/06/24/investigation-of-a-new-undocumented-instruction-trick.aspx
- TEST instructions with opcode 0xF6, 0xF7 (MRM1r)
|
11 years ago |
Nguyen Anh Quynh
|
d71106047d
|
suite: add some new instructions to x86odd.py
|
11 years ago |
Nguyen Anh Quynh
|
4cc304096c
|
suite: add 'hint nop' instruction to x86odd.py
|
11 years ago |
Nguyen Anh Quynh
|
2ce77133f5
|
x86: support some tricky instructions
- NOP instructions with encoding 0f {19-1f}. see http://code.google.com/p/corkami/wiki/x86oddities?show=content
- TEST instructions with opcode 0xF6, 0xF7 (MRM1m)
- Fix arithmetic instructions with opcode 0x82: only available in Non64bit mode
|
11 years ago |
Nguyen Anh Quynh
|
33e16362d6
|
x86: support 0x82 opcode for Arithmetic instructions
|
11 years ago |
Nguyen Anh Quynh
|
a542efe31b
|
java: add SAL instruction following the core udpate
|
11 years ago |
Nguyen Anh Quynh
|
babb22e009
|
python: add SAL instruction following the core udpate
|
11 years ago |
Nguyen Anh Quynh
|
2b2e11b789
|
python: make cs_disasm_lite() support Python3
|
11 years ago |
Nguyen Anh Quynh
|
4171e487cb
|
suite: make x86odd support python3
|
11 years ago |
Nguyen Anh Quynh
|
a6519b08eb
|
suite: add x86odd.py
|
11 years ago |
Nguyen Anh Quynh
|
444d2bd3c3
|
python: expose cs_disasm_lite()
|
11 years ago |
Nguyen Anh Quynh
|
6f56ff5663
|
x86: handle SAL instructions. bug reported by Attila Suszter & Ange Albertini
|
11 years ago |
Nguyen Anh Quynh
|
ac673ae544
|
make.sh: only handle special pkgconfig install for OSX if we are not installing in Brew env
|
11 years ago |
Nguyen Anh Quynh
|
1efa9c11a0
|
SKIPDATA: add info about the first argument of callback function
|
11 years ago |
Nguyen Anh Quynh
|
2daab25891
|
python: python3 binding requires python3 installed
|
11 years ago |
Nguyen Anh Quynh
|
e5d30e6980
|
python: add install3 target for installing Python3 package
|
11 years ago |
Nguyen Anh Quynh
|
b1e14f913d
|
python: optimize to_x() & to_x_32() for python3
|
11 years ago |
Nguyen Anh Quynh
|
5a46c146b5
|
python: fix to_x() & to_x_32() in test.py
|
11 years ago |
Nguyen Anh Quynh
|
4b9de0df04
|
python: change SKIPDATA's callback prototype after the last change in the core
|
11 years ago |
Nguyen Anh Quynh
|
42288ac4e3
|
SKIPDATA: add 1 more argument to callback function pointing to the input buffer of cs_disasm_ex()
|
11 years ago |
Nguyen Anh Quynh
|
de6dd29f36
|
minor fixes for COMPILE.TXT
|
11 years ago |