Zydis  v2.0.0
Mnemonic.h File Reference

Mnemonic constant definitions and helper functions. More...

Include dependency graph for Mnemonic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

ZYDIS_EXPORT const char * ZydisMnemonicGetString (ZydisMnemonic mnemonic)
 Returns the specified instruction mnemonic string. More...
 
ZYDIS_EXPORT const ZydisStaticStringZydisMnemonicGetStaticString (ZydisMnemonic mnemonic)
 Returns the specified instruction mnemonic as ZydisStaticString. More...
 

Detailed Description

Mnemonic constant definitions and helper functions.

Function Documentation

◆ ZydisMnemonicGetStaticString()

ZYDIS_EXPORT const ZydisStaticString* ZydisMnemonicGetStaticString ( ZydisMnemonic  mnemonic)

Returns the specified instruction mnemonic as ZydisStaticString.

Parameters
mnemonicThe mnemonic.
Returns
The instruction mnemonic string or NULL, if an invalid mnemonic was passed.

The buffer of the returned struct is guaranteed to be zero-terminated in this special case.

◆ ZydisMnemonicGetString()

ZYDIS_EXPORT const char* ZydisMnemonicGetString ( ZydisMnemonic  mnemonic)

Returns the specified instruction mnemonic string.

Parameters
mnemonicThe mnemonic.
Returns
The instruction mnemonic string or NULL, if an invalid mnemonic was passed.