supports

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

bool
supports

Parameters

query

The SupportQuery to issue to the library

Return Value

Type: bool

True if the requested option is supported

Examples

// Query installed Capstone library for supported options
foreach(query; EnumMembers!SupportQuery)
    writefln!"%-10s: %s"(query, supports(query));

Meta