Capstone Documentation Beta

Enumeration Build​Mode

public enum BuildMode

Compilation modes for the Capstone library.

By default, Capstone is built in full mode, with all supported architectures. Use Capstone.supports(buildMode:) to check if Capstone was built in any special mode.

%3 BuildMode BuildMode Int32 Int32 BuildMode->Int32

Conforms To

Int32

Enumeration Cases

diet

case diet

Support value to verify diet mode of the engine.

If capstone is compiled in "diet" mode, the following information is not available:

  • Instruction mnemonics

  • Instruction operand strings

  • Instruction groups

  • Registers implicitly read/written by instructions

See capstone-engine.org/diet.html .

x86reduce

case x86reduce

Support value to verify X86-reduce mode of the engine.

In X86-reduce mode, some parts of the X86 instruction set are removed:

  • Floating Point Unit (FPU)

  • MultiMedia eXtension (MMX)

  • Streaming SIMD Extensions (SSE)

  • 3DNow

  • Advanced Vector Extensions (AVX)

  • Fused Multiply Add Operations (FMA)

  • eXtended Operations (XOP)

  • Transactional Synchronization Extensions (TSX)

See capstone-engine.org/x86reduce.html .