2013-11-27 06:33:13 +00:00
|
|
|
Capstone source is organized as followings.
|
|
|
|
|
2013-12-05 02:25:51 +00:00
|
|
|
|
2014-01-15 13:20:47 +00:00
|
|
|
. <- core engine + README + COMPILE.TXT etc
|
2013-11-27 09:00:06 +00:00
|
|
|
├── arch <- code handling disasm engine for each arch
|
2013-12-05 02:25:51 +00:00
|
|
|
│ ├── AArch64 <- ARM64 (aka ARMv8) engine
|
|
|
|
│ ├── ARM <- ARM engine
|
|
|
|
│ ├── Mips <- Mips engine
|
2014-01-07 03:46:21 +00:00
|
|
|
│ ├── PowerPC <- PowerPC engine
|
2014-03-23 14:24:28 +00:00
|
|
|
│ ├── Sparc <- Sparc engine
|
|
|
|
│ ├── SystemZ <- SystemZ engine
|
2014-05-26 15:02:48 +00:00
|
|
|
│ ├── X86 <- X86 engine
|
|
|
|
│ └── XCore <- XCore engine
|
2013-11-27 13:29:12 +00:00
|
|
|
├── bindings <- all bindings are under this dir
|
2013-11-27 09:00:06 +00:00
|
|
|
│ ├── java <- Java bindings + test code
|
|
|
|
│ ├── ocaml <- Ocaml bindings + test code
|
2014-11-01 21:14:13 +00:00
|
|
|
│ └── python <- Python bindings + test code
|
2014-11-01 16:34:14 +00:00
|
|
|
├── contrib <- Code contributed by community to help Capstone integration
|
|
|
|
├── docs <- Documentation
|
2013-12-05 02:25:51 +00:00
|
|
|
├── include <- API headers in C language (*.h)
|
2014-11-01 16:34:14 +00:00
|
|
|
├── msvc <- Microsoft Visual Studio support (for Windows compile)
|
|
|
|
├── packages <- Packages for Linux/OSX/BSD.
|
2014-01-07 03:34:05 +00:00
|
|
|
├── suite <- Development test tools - for Capstone developers only
|
2013-12-05 02:25:51 +00:00
|
|
|
├── tests <- Test code (in C language)
|
2014-11-01 21:14:13 +00:00
|
|
|
└── xcode <- Xcode support (for MacOSX compile)
|
2013-11-27 06:33:13 +00:00
|
|
|
|
|
|
|
|
2014-11-01 16:34:14 +00:00
|
|
|
Follow instructions in COMPILE.TXT for how to compile and run test code.
|
2013-11-27 13:29:12 +00:00
|
|
|
|
2013-12-05 02:25:51 +00:00
|
|
|
Note: if you find some strange bugs, it is recommended to firstly clean
|
|
|
|
the code and try to recompile/reinstall again. This can be done with:
|
2013-11-27 06:33:13 +00:00
|
|
|
|
2014-05-07 08:00:33 +00:00
|
|
|
$ ./make.sh
|
|
|
|
$ sudo ./make.sh install
|
2013-11-27 06:33:13 +00:00
|
|
|
|
2014-11-01 16:34:14 +00:00
|
|
|
At the same time, for Java/Ocaml/Python bindings, be sure to always use
|
|
|
|
the bindings coming with the core to avoid potential incompatility issue
|
|
|
|
with older versions.
|
|
|
|
See bindings/<language>/README for detail instructions on how to compile &
|
|
|
|
install the bindings.
|