public static enum KeystoneOptionValue.KeystoneOptionSyntax extends Enum<KeystoneOptionValue.KeystoneOptionSyntax> implements JnaEnum
| 枚举常量和说明 |
|---|
Att
X86 ATT asm syntax (KS_OPT_SYNTAX).
|
Gas
X86 GNU GAS syntax (KS_OPT_SYNTAX).
|
Intel
X86 Intel syntax - default on X86 (KS_OPT_SYNTAX).
|
Masm
X86 Masm syntax (KS_OPT_SYNTAX) - unsupported yet.
|
Nasm
X86 Nasm syntax (KS_OPT_SYNTAX).
|
Radix16
All immediates are in hex format (i.e 12 is 0x12).
|
| 限定符和类型 | 方法和说明 |
|---|---|
static KeystoneOptionValue.KeystoneOptionSyntax |
fromValue(Integer value)
Converts an integer value into its corresponding enumeration value.
|
int |
value()
Retrieves the value of an element in the enumeration.
|
static KeystoneOptionValue.KeystoneOptionSyntax |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static KeystoneOptionValue.KeystoneOptionSyntax[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final KeystoneOptionValue.KeystoneOptionSyntax Intel
public static final KeystoneOptionValue.KeystoneOptionSyntax Att
public static final KeystoneOptionValue.KeystoneOptionSyntax Nasm
public static final KeystoneOptionValue.KeystoneOptionSyntax Masm
public static final KeystoneOptionValue.KeystoneOptionSyntax Gas
public static final KeystoneOptionValue.KeystoneOptionSyntax Radix16
public static KeystoneOptionValue.KeystoneOptionSyntax[] values()
for (KeystoneOptionValue.KeystoneOptionSyntax c : KeystoneOptionValue.KeystoneOptionSyntax.values()) System.out.println(c);
public static KeystoneOptionValue.KeystoneOptionSyntax valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public static KeystoneOptionValue.KeystoneOptionSyntax fromValue(Integer value)
The complexity of the conversion is θ(1).
value - The integer value.Copyright © 2022. All rights reserved.