Keystone class
The Keystone engine bindings
The class must be disposed by calling .dispose()
once not needed anymore to prevent memory leakage.
Properties
- architecture → int
-
The current engine architecture
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastError → int
-
The last engine error
no setter
- mode → int
-
The current engine mode
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- syntax → int
-
The current engine syntax
no setter
- version → int
-
The Keystone version
no setter
Methods
-
assemble(
AsmBuilderBase builder, {int baseAddress = 0}) → AssemblerResult -
Assemble code from the
builder
helper -
assembleRaw(
String asm, {int baseAddress = 0}) → AssemblerResult -
Assemble code from a raw
asm
string -
dispose(
) → void - Cleanup the Keystone engine resources
-
isArchitectureSupported(
int architecture) → bool -
Returns if the supplied
architecture
is supported by the engine -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setOption(
int type, int value) → bool -
Sets the engine option (
type
) with thevalue
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited