Merge pull request #657 from davidcarne/fix-uninit

x86: initialize eaDisplacement in 16-bit mode.  Fixes #656
tree: 105983a298d77f2efe85bb61693e47ec908900f8
  1. .appveyor.yml
  2. .gitignore
  3. .travis.yml
  4. CMakeLists.txt
  5. COMPILE.TXT
  6. COMPILE_CMAKE.TXT
  7. COMPILE_MSVC.TXT
  8. CREDITS.TXT
  9. ChangeLog
  10. HACK.TXT
  11. LEB128.h
  12. LICENSE.TXT
  13. LICENSE_LLVM.TXT
  14. MCDisassembler.h
  15. MCFixedLenDisassembler.h
  16. MCInst.c
  17. MCInst.h
  18. MCInstrDesc.c
  19. MCInstrDesc.h
  20. MCRegisterInfo.c
  21. MCRegisterInfo.h
  22. Makefile
  23. MathExtras.h
  24. README.md
  25. RELEASE_NOTES
  26. SStream.c
  27. SStream.h
  28. TODO
  29. arch/
  30. bindings/
  31. config.mk
  32. contrib/
  33. cs.c
  34. cs_priv.h
  35. docs/
  36. functions.mk
  37. include/
  38. make.sh
  39. msvc/
  40. packages/
  41. pkgconfig.mk
  42. suite/
  43. tests/
  44. utils.c
  45. utils.h
  46. windows/
  47. windowsce/
  48. xcode/
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.