blob: 568d7208dbdd5aaa03ddee32bf2a79ef3dac6c77 [file] [log] [blame]
Nguyen Anh Quynh1ae38db2013-11-27 14:33:13 +08001Capstone source is organized as followings.
2
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +08003
Nguyen Anh Quynhbdbde1f2013-11-27 17:00:06 +08004. <- core engine + README + COMPILE etc
5├── arch <- code handling disasm engine for each arch
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +08006│   ├── AArch64 <- ARM64 (aka ARMv8) engine
7│   ├── ARM <- ARM engine
8│   ├── Mips <- Mips engine
9│   └── X86 <- X86 engine
Nguyen Anh Quynh18ebd802013-11-27 21:29:12 +080010├── bindings <- all bindings are under this dir
Nguyen Anh Quynhbdbde1f2013-11-27 17:00:06 +080011│   ├── csharp <- C# bindings + test code
12│   ├── java <- Java bindings + test code
13│   ├── ocaml <- Ocaml bindings + test code
14│   ├── python <- Python bindings + test code
15│   └── ruby <- Ruby bindings + test code
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +080016├── include <- API headers in C language (*.h)
Nguyen Anh Quynhbdbde1f2013-11-27 17:00:06 +080017├── release <- Precompiled binaries
Nguyen Anh Quynh18ebd802013-11-27 21:29:12 +080018│   ├── linux <- .deb, .rpm, python packages, etc
19│   ├── mac <- .dmg
20│   └── windows <- .msi, .exe, .dll, etc
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +080021├── tests <- Test code (in C language)
Nguyen Anh Quynh1ae38db2013-11-27 14:33:13 +080022
23
24Follow COMPILE to see how to compile and run code.
Nguyen Anh Quynh18ebd802013-11-27 21:29:12 +080025
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +080026Note: if you find some strange bugs, it is recommended to firstly clean
27the code and try to recompile/reinstall again. This can be done with:
Nguyen Anh Quynh1ae38db2013-11-27 14:33:13 +080028
29 $ make clean
30 $ make
Nguyen Anh Quynh7f36d262013-12-05 10:25:51 +080031 $ sudo make install
Nguyen Anh Quynh1ae38db2013-11-27 14:33:13 +080032
33