Assembler context.
More...
#include <fcml_assembler.hpp>
Assembler context.
It is a counterpart to the fcml_st_assembler_context structure.
- Since
- 1.1.0
◆ AssemblerContext() [1/2]
fcml::AssemblerContext::AssemblerContext |
( |
| ) |
|
|
inline |
◆ AssemblerContext() [2/2]
Creates an entry point instance for given operating mode and optional instruction pointer.
- Parameters
-
operatingMode | The processor operating mode. |
ip | The instruction pointer. |
- Since
- 1.1.0
◆ getConfig() [1/2]
Gets constant assembler configuration associated with the context.
- Returns
- Assembler configuration.
- Since
- 1.1.0
◆ getConfig() [2/2]
Gets assembler configuration associated with the context.
- Returns
- Assembler configuration.
- Since
- 1.1.0
◆ getEntryPoint() [1/2]
const EntryPoint& fcml::AssemblerContext::getEntryPoint |
( |
| ) |
const |
|
inline |
Gets reference to the constant entry point instance associated with the context.
- Returns
- Reference to the constant entry point.
- Since
- 1.1.0
◆ getEntryPoint() [2/2]
EntryPoint& fcml::AssemblerContext::getEntryPoint |
( |
| ) |
|
|
inline |
Gets reference to the entry point instance associated with the context.
- Returns
- Reference to the entry point.
- Since
- 1.1.0
◆ incrementIP()
void fcml::AssemblerContext::incrementIP |
( |
fcml_ip |
ip | ) |
|
|
inline |
Increments entry point by given number of bytes.
- Parameters
-
ip | Number of bytes the instruction pointer has to be incremented by. |
- Since
- 1.1.0
◆ setAddressSizeAttribute()
void fcml::AssemblerContext::setAddressSizeAttribute |
( |
fcml_usize |
addressSizeAttribute | ) |
|
|
inline |
Sets a new address size attribute for the entry point.
- Parameters
-
addressSizeAttribute | The address size attribute. |
- Since
- 1.1.0
◆ setConfig()
void fcml::AssemblerContext::setConfig |
( |
const AssemblerConf & |
config | ) |
|
|
inline |
Copies given configuration to the instance associated with the context.
Deep copy is performed, so passed object not need to be maintained as long as the context is used.
- Parameters
-
config | Configuration that is copied to the context. |
- Since
- 1.1.0
◆ setEntryPoint()
void fcml::AssemblerContext::setEntryPoint |
( |
const EntryPoint & |
entryPoint | ) |
|
|
inline |
Copies given entry point to the instance associated with the context.
Deep copy is performed, so passed object not need to be maintained as long as the context is used.
- Parameters
-
entryPoint | The entry point. |
- Since
- 1.1.0
◆ setIP()
void fcml::AssemblerContext::setIP |
( |
fcml_ip |
ip | ) |
|
|
inline |
Sets instruction pointer directly into the entry point.
- Parameters
-
- Since
- 1.1.0
◆ setOperandSizeAttribute()
void fcml::AssemblerContext::setOperandSizeAttribute |
( |
fcml_usize |
operandSizeAttribute | ) |
|
|
inline |
Sets a new operand size attribute for the entry point.
- Parameters
-
operandSizeAttribute | The operand size attribute. |
- Since
- 1.1.0
◆ setOperatingMode()
Sets processor operating mode directly into the entry point.
- Parameters
-
operatingMode | Processor operating mode to be set. |
- Since
- 1.1.0
The documentation for this class was generated from the following file: