Provides predicates for certain cpu states.
More...
#include <predicates.h>
|
| template<typename TCpuAccessor> |
| static bool | IsThreadMode (const TCpuAccessor &cpua) |
| | Check if the cpu is in thread mode.
|
| |
| template<typename TCpuAccessor> |
| static bool | IsHandlerMode (const TCpuAccessor &cpua) |
| | Check if the cpu is in handler mode.
|
| |
| template<typename TCpuAccessor> |
| static bool | IsMainStack (const TCpuAccessor &cpua) |
| | Check if the cpu is using the main stack.
|
| |
| template<typename TCpuAccessor> |
| static bool | IsProcessStack (const TCpuAccessor &cpua) |
| | Check if the cpu is using the process stack.
|
| |
| template<typename TCpuAccessor> |
| static bool | IsCurrentModePrivileged (TCpuAccessor &cpua) |
| | Check if the cpu is in privileged mode.
|
| |
| template<typename TCpuAccessor> |
| static bool | IsThumbMode (TCpuAccessor &cpua) |
| | Check if the cpu is in thumb mode.
|
| |
Provides predicates for certain cpu states.
◆ IsCurrentModePrivileged()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsCurrentModePrivileged |
( |
TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is in privileged mode.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is in privileged mode, false otherwise
◆ IsHandlerMode()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsHandlerMode |
( |
const TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is in handler mode.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is in handler mode, false otherwise
◆ IsMainStack()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsMainStack |
( |
const TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is using the main stack.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is using the main stack, false otherwise
◆ IsProcessStack()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsProcessStack |
( |
const TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is using the process stack.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is using the process stack, false otherwise
◆ IsThreadMode()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsThreadMode |
( |
const TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is in thread mode.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is in thread mode, false otherwise
◆ IsThumbMode()
template<typename TCpuAccessor>
| static bool libmicroemu::internal::Predicates::IsThumbMode |
( |
TCpuAccessor & | cpua | ) |
|
|
inlinestatic |
Check if the cpu is in thumb mode.
- Parameters
-
| cpua | a reference to a cpu accessor |
- Returns
- true if the cpu is in thumb mode, false otherwise
The documentation for this class was generated from the following file: