Nguyen Anh Quynh | 1ae38db | 2013-11-27 14:33:13 +0800 | [diff] [blame] | 1 | Capstone source is organized as followings. |
| 2 | |
Nguyen Anh Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 3 | |
Nguyen Anh Quynh | bdbde1f | 2013-11-27 17:00:06 +0800 | [diff] [blame] | 4 | . <- core engine + README + COMPILE etc |
| 5 | ├── arch <- code handling disasm engine for each arch |
Nguyen Anh Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 6 | │ ├── AArch64 <- ARM64 (aka ARMv8) engine |
| 7 | │ ├── ARM <- ARM engine |
| 8 | │ ├── Mips <- Mips engine |
| 9 | │ └── X86 <- X86 engine |
Nguyen Anh Quynh | 18ebd80 | 2013-11-27 21:29:12 +0800 | [diff] [blame] | 10 | ├── bindings <- all bindings are under this dir |
Nguyen Anh Quynh | bdbde1f | 2013-11-27 17:00:06 +0800 | [diff] [blame] | 11 | │ ├── 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 Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 16 | ├── include <- API headers in C language (*.h) |
Nguyen Anh Quynh | bdbde1f | 2013-11-27 17:00:06 +0800 | [diff] [blame] | 17 | ├── release <- Precompiled binaries |
Nguyen Anh Quynh | 18ebd80 | 2013-11-27 21:29:12 +0800 | [diff] [blame] | 18 | │ ├── linux <- .deb, .rpm, python packages, etc |
| 19 | │ ├── mac <- .dmg |
| 20 | │ └── windows <- .msi, .exe, .dll, etc |
Nguyen Anh Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 21 | ├── tests <- Test code (in C language) |
Nguyen Anh Quynh | 1ae38db | 2013-11-27 14:33:13 +0800 | [diff] [blame] | 22 | |
| 23 | |
| 24 | Follow COMPILE to see how to compile and run code. |
Nguyen Anh Quynh | 18ebd80 | 2013-11-27 21:29:12 +0800 | [diff] [blame] | 25 | |
Nguyen Anh Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 26 | Note: if you find some strange bugs, it is recommended to firstly clean |
| 27 | the code and try to recompile/reinstall again. This can be done with: |
Nguyen Anh Quynh | 1ae38db | 2013-11-27 14:33:13 +0800 | [diff] [blame] | 28 | |
| 29 | $ make clean |
| 30 | $ make |
Nguyen Anh Quynh | 7f36d26 | 2013-12-05 10:25:51 +0800 | [diff] [blame] | 31 | $ sudo make install |
Nguyen Anh Quynh | 1ae38db | 2013-11-27 14:33:13 +0800 | [diff] [blame] | 32 | |
| 33 | |