switch endian mode with cs_option() for Arm/Arm64/Mips/Sparc. fix issue #849
5 files changed
tree: 415870ce43505beaedceb357ac12d3f1545231e4
  1. arch/
  2. bindings/
  3. contrib/
  4. cstool/
  5. docs/
  6. include/
  7. msvc/
  8. packages/
  9. suite/
  10. tests/
  11. windows/
  12. windowsce/
  13. xcode/
  14. .appveyor.yml
  15. .gitignore
  16. .travis.yml
  17. ChangeLog
  18. CMakeLists.txt
  19. COMPILE.TXT
  20. COMPILE_CMAKE.TXT
  21. COMPILE_MSVC.TXT
  22. config.mk
  23. CREDITS.TXT
  24. cs.c
  25. cs_priv.h
  26. functions.mk
  27. HACK.TXT
  28. LEB128.h
  29. LICENSE.TXT
  30. LICENSE_LLVM.TXT
  31. make.sh
  32. Makefile
  33. MathExtras.h
  34. MCDisassembler.h
  35. MCFixedLenDisassembler.h
  36. MCInst.c
  37. MCInst.h
  38. MCInstrDesc.c
  39. MCInstrDesc.h
  40. MCRegisterInfo.c
  41. MCRegisterInfo.h
  42. pkgconfig.mk
  43. README.md
  44. RELEASE_NOTES
  45. SStream.c
  46. SStream.h
  47. TODO
  48. utils.c
  49. utils.h
README.md

Capstone Engine

Build Status Build status

Capstone is a disassembly framework with the target of becoming the ultimate disasm engine for binary analysis and reversing in the security community.

Created by Nguyen Anh Quynh, then developed and maintained by a small community, Capstone offers some unparalleled features:

  • Support multiple hardware architectures: ARM, ARM64 (ARMv8), M68K, Mips, PPC, Sparc, SystemZ, XCore and X86 (including X86_64).

  • Having clean/simple/lightweight/intuitive architecture-neutral API.

  • Provide details on disassembled instruction (called “decomposer” by others).

  • Provide semantics of the disassembled instruction, such as list of implicit registers read & written.

  • Implemented in pure C language, with lightweight wrappers for C++, C#, Go, Java, Lua, NodeJS, Ocaml, Python, Ruby, Rust & Vala ready (available in main code, or provided externally by the community).

  • Native support for all popular platforms: Windows, Mac OSX, iOS, Android, Linux, *BSD, Solaris, etc.

  • Thread-safe by design.

  • Special support for embedding into firmware or OS kernel.

  • High performance & suitable for malware analysis (capable of handling various X86 malware tricks).

  • Distributed under the open source BSD license.

Further information is available at http://www.capstone-engine.org

Compile

See COMPILE.TXT file for how to compile and install Capstone.

Documentation

See docs/README for how to customize & program your own tools with Capstone.

Hack

See HACK.TXT file for the structure of the source code.

License

This project is released under the BSD license. If you redistribute the binary or source code of Capstone, please attach file LICENSE.TXT with your products.