|
Zydis v4.1.1
|
Functions allowing retrieval of information about registers. More...
Functions | |
| ZYDIS_EXPORT ZydisRegister | ZydisRegisterEncode (ZydisRegisterClass register_class, ZyanU8 id) |
| Returns the register specified by the register_class and id tuple. | |
| ZYDIS_EXPORT ZyanI8 | ZydisRegisterGetId (ZydisRegister reg) |
| Returns the id of the specified register. | |
| ZYDIS_EXPORT ZydisRegisterClass | ZydisRegisterGetClass (ZydisRegister reg) |
| Returns the register-class of the specified register. | |
| ZYDIS_EXPORT ZydisRegisterWidth | ZydisRegisterGetWidth (ZydisMachineMode mode, ZydisRegister reg) |
| Returns the width of the specified register. | |
| ZYDIS_EXPORT ZydisRegister | ZydisRegisterGetLargestEnclosing (ZydisMachineMode mode, ZydisRegister reg) |
| Returns the largest enclosing register of the given register. | |
| ZYDIS_EXPORT const char * | ZydisRegisterGetString (ZydisRegister reg) |
| Returns the specified register string. | |
| ZYDIS_EXPORT const ZydisShortString * | ZydisRegisterGetStringWrapped (ZydisRegister reg) |
| Returns the specified register string as ZydisShortString. | |
| ZYDIS_EXPORT ZydisRegisterWidth | ZydisRegisterClassGetWidth (ZydisMachineMode mode, ZydisRegisterClass register_class) |
| Returns the width of the specified register-class. | |
Functions allowing retrieval of information about registers.
| ZYDIS_EXPORT ZydisRegisterWidth ZydisRegisterClassGetWidth | ( | ZydisMachineMode | mode, |
| ZydisRegisterClass | register_class ) |
Returns the width of the specified register-class.
| mode | The active machine mode. |
| register_class | The register class. |
| ZYDIS_EXPORT ZydisRegister ZydisRegisterEncode | ( | ZydisRegisterClass | register_class, |
| ZyanU8 | id ) |
Returns the register specified by the register_class and id tuple.
| register_class | The register class. |
| id | The register id. |
| ZYDIS_EXPORT ZydisRegisterClass ZydisRegisterGetClass | ( | ZydisRegister | reg | ) |
Returns the register-class of the specified register.
| reg | The register. |
| ZYDIS_EXPORT ZyanI8 ZydisRegisterGetId | ( | ZydisRegister | reg | ) |
Returns the id of the specified register.
| reg | The register. |
| ZYDIS_EXPORT ZydisRegister ZydisRegisterGetLargestEnclosing | ( | ZydisMachineMode | mode, |
| ZydisRegister | reg ) |
Returns the largest enclosing register of the given register.
| mode | The active machine mode. |
| reg | The register. |
| ZYDIS_EXPORT const char * ZydisRegisterGetString | ( | ZydisRegister | reg | ) |
Returns the specified register string.
| reg | The register. |
| ZYDIS_EXPORT const ZydisShortString * ZydisRegisterGetStringWrapped | ( | ZydisRegister | reg | ) |
Returns the specified register string as ZydisShortString.
| reg | The register. |
The buffer of the returned struct is guaranteed to be zero-terminated in this special case.
| ZYDIS_EXPORT ZydisRegisterWidth ZydisRegisterGetWidth | ( | ZydisMachineMode | mode, |
| ZydisRegister | reg ) |
Returns the width of the specified register.
| mode | The active machine mode. |
| reg | The register. |