| 程序包 | 说明 |
|---|---|
| keystone | |
| keystone.exceptions | |
| keystone.natives |
| 限定符和类型 | 方法和说明 |
|---|---|
static KeystoneOptionType |
KeystoneOptionType.fromValue(Integer value)
Converts an integer value into its corresponding enumeration value.
|
static KeystoneOptionType |
KeystoneOptionType.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeystoneOptionType[] |
KeystoneOptionType.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Keystone.setOption(KeystoneOptionType type,
int value)
Sets an option for Keystone engine at runtime using a not-strongly typed option value.
|
| 限定符和类型 | 方法和说明 |
|---|---|
KeystoneOptionType |
SetOptionFailedKeystoneException.getOptionType()
Gets the type of the option that generated the exception.
|
| 构造器和说明 |
|---|
SetOptionFailedKeystoneException(KeystoneError keystoneError,
KeystoneOptionType type,
int value) |
| 限定符和类型 | 方法和说明 |
|---|---|
static KeystoneError |
DirectMappingKeystoneNative.ks_option(com.sun.jna.Pointer engine,
KeystoneOptionType type,
int value)
Set option for Keystone engine at runtime.
|
static KeystoneError |
DirectMappingKeystoneNative.ks_option(com.sun.jna.Pointer engine,
KeystoneOptionType type,
SymbolResolverCallback callback)
Set option for Keystone engine at runtime
Native function prototype: err ks_option(ks_engine *ks, ks_opt_type type, size_t value);
|
Copyright © 2022. All rights reserved.