capstone.api

Idiomatic lifting of Capstone's C API to D

Members

Aliases

Callback
alias Callback = size_t delegate(in ubyte[] code, size_t offset) nothrow @nogc

User-defined callback function type for SKIPDATA mode of operation

ModeFlags
alias ModeFlags = BitFlags!(Mode, Yes.unsafe)

Type for combination of several modes

Classes

Capstone
class Capstone(Arch arch)

Encapsulates an instance of the Capstone dissassembly engine

Enums

Arch
enum Arch

Architecture type

Mode
enum Mode

Mode type

SupportQuery
enum SupportQuery

The support options that Capstone can be compiled with

Syntax
enum Syntax

Disassembly syntax variants

Functions

diet
auto diet()

Indicates whether the installed library was compiled in diet mode

supports
auto supports(in SupportQuery query)

Indicates whether an architecture or particular option is supported by the installed Capstone library

versionOfBindings
auto versionOfBindings()

Determines the Version supported by these bindings

versionOfLibrary
auto versionOfLibrary()

Determines the Version supported by the installed library

Structs

Detail
struct Detail(Arch arch)

Architecture-independent instruction details

Instruction
struct Instruction(Arch arch)

Disassembled instruction

Version
struct Version

Version consisting of major and minor numbers

Meta