#include <stdint.h>
#include <Zydis/Defines.h>
#include <Zydis/Status.h>
#include <Zydis/DecoderTypes.h>
Go to the source code of this file.
◆ ZydisGetCPUFlagsByAction()
Returns a mask of CPU-flags matching the given action.
- Parameters
-
| instruction | A pointer to the ZydisDecodedInstruction struct. |
| action | The CPU-flag action. |
| flags | A pointer to the variable that receives the flag mask. |
- Returns
- A zydis status code
◆ ZydisUtilsCalcAbsoluteTargetAddress()
Calculates the absolute target-address of an relative instruction operand.
- Parameters
-
| instruction | A pointer to the ZydisDecodedInstruction struct. |
| operand | A pointer to the ZydisDecodedOperand struct. |
| address | A pointer to the memory that receives the absolute target-address. |
- Returns
- A zydis status code