capstone/HACK

34 lines
1.3 KiB
Plaintext
Raw Normal View History

2013-11-27 14:33:13 +08:00
Capstone source is organized as followings.
2013-12-05 10:25:51 +08:00
2013-11-27 17:00:06 +08:00
. <- core engine + README + COMPILE etc
├── arch <- code handling disasm engine for each arch
2013-12-05 10:25:51 +08:00
│   ├── AArch64 <- ARM64 (aka ARMv8) engine
│   ├── ARM <- ARM engine
│   ├── Mips <- Mips engine
│   └── X86 <- X86 engine
2013-11-27 21:29:12 +08:00
├── bindings <- all bindings are under this dir
2013-11-27 17:00:06 +08:00
│   ├── csharp <- C# bindings + test code
│   ├── java <- Java bindings + test code
│   ├── ocaml <- Ocaml bindings + test code
│   ├── python <- Python bindings + test code
│   └── ruby <- Ruby bindings + test code
2013-12-05 10:25:51 +08:00
├── include <- API headers in C language (*.h)
2013-11-27 17:00:06 +08:00
├── release <- Precompiled binaries
2013-11-27 21:29:12 +08:00
│   ├── linux <- .deb, .rpm, python packages, etc
│   ├── mac <- .dmg
│   └── windows <- .msi, .exe, .dll, etc
2013-12-05 10:25:51 +08:00
├── tests <- Test code (in C language)
2013-11-27 14:33:13 +08:00
Follow COMPILE to see how to compile and run code.
2013-11-27 21:29:12 +08:00
2013-12-05 10:25:51 +08: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 14:33:13 +08:00
$ make clean
$ make
2013-12-05 10:25:51 +08:00
$ sudo make install
2013-11-27 14:33:13 +08:00