fcml  1.2.2
Public Member Functions | List of all members
fcml::DecodedModRMDetails Class Reference

ModRM details. More...

#include <fcml_disassembler.hpp>

Public Member Functions

 DecodedModRMDetails ()
 Creates an empty ModR/M details. More...
 
bool isRip () const
 Gets true if RIP byte is available. More...
 
void setRip (bool isRip)
 Sets RIP byte availability. More...
 
const Nullable< fcml_uint8_t > & getModRM () const
 Gets ModR/M nullable byte. More...
 
Nullable< fcml_uint8_t > & getModRM ()
 Gets ModR/M nullable byte. More...
 
void setModRM (const Nullable< fcml_uint8_t > &modRM)
 Sets ModR/M nullable byte. More...
 
const Nullable< fcml_uint8_t > & getSib () const
 Gets SIB nullable byte. More...
 
Nullable< fcml_uint8_t > & getSib ()
 Gets SIB nullable byte. More...
 
void setSib (const Nullable< fcml_uint8_t > &sib)
 Sets SIB nullable byte. More...
 
const Nullable< fcml_uint32_t > & getN () const
 Gets constant N (see AVX-512 compressed disp8). More...
 
Nullable< fcml_uint32_t > & getN ()
 Gets N (see compressed AVX-512 disp8). More...
 
void setN (const Nullable< fcml_uint32_t > &N)
 Sets N (see compressed AVX-512 disp8). More...
 
const IntegergetDisplacement () const
 Gets constant raw displacement. More...
 
IntegergetDisplacement ()
 Gets raw displacement. More...
 
void setDisplacement (const Integer &displacement)
 Sets displacement. More...
 

Detailed Description

ModRM details.

Since
1.1.0

Constructor & Destructor Documentation

◆ DecodedModRMDetails()

fcml::DecodedModRMDetails::DecodedModRMDetails ( )
inline

Creates an empty ModR/M details.

Since
1.1.0

Member Function Documentation

◆ getDisplacement() [1/2]

const Integer& fcml::DecodedModRMDetails::getDisplacement ( ) const
inline

Gets constant raw displacement.

Returns
Displacement.
Since
1.2.0

◆ getDisplacement() [2/2]

Integer& fcml::DecodedModRMDetails::getDisplacement ( )
inline

Gets raw displacement.

Returns
Displacement.
Since
1.2.0

◆ getModRM() [1/2]

const Nullable<fcml_uint8_t>& fcml::DecodedModRMDetails::getModRM ( ) const
inline

Gets ModR/M nullable byte.

Returns
ModR/M nullable byte.
Since
1.1.0

◆ getModRM() [2/2]

Nullable<fcml_uint8_t>& fcml::DecodedModRMDetails::getModRM ( )
inline

Gets ModR/M nullable byte.

Returns
ModR/M nullable byte.
Since
1.1.0

◆ getN() [1/2]

const Nullable<fcml_uint32_t>& fcml::DecodedModRMDetails::getN ( ) const
inline

Gets constant N (see AVX-512 compressed disp8).

Returns
N as nullable value.
Since
1.2.0

◆ getN() [2/2]

Nullable<fcml_uint32_t>& fcml::DecodedModRMDetails::getN ( )
inline

Gets N (see compressed AVX-512 disp8).

Returns
N nullable value.
Since
1.2.0

◆ getSib() [1/2]

const Nullable<fcml_uint8_t>& fcml::DecodedModRMDetails::getSib ( ) const
inline

Gets SIB nullable byte.

Returns
SIB nullable byte.
Since
1.1.0

◆ getSib() [2/2]

Nullable<fcml_uint8_t>& fcml::DecodedModRMDetails::getSib ( )
inline

Gets SIB nullable byte.

Returns
SIB nullable byte.
Since
1.1.0

◆ isRip()

bool fcml::DecodedModRMDetails::isRip ( ) const
inline

Gets true if RIP byte is available.

Returns
True if RIP byte is available.
Since
1.1.0

◆ setDisplacement()

void fcml::DecodedModRMDetails::setDisplacement ( const Integer displacement)
inline

Sets displacement.

Parameters
displacementDisplacement.
Since
1.2.0

◆ setModRM()

void fcml::DecodedModRMDetails::setModRM ( const Nullable< fcml_uint8_t > &  modRM)
inline

Sets ModR/M nullable byte.

Parameters
modRMModR/M nullable byte.
Since
1.1.0

◆ setN()

void fcml::DecodedModRMDetails::setN ( const Nullable< fcml_uint32_t > &  N)
inline

Sets N (see compressed AVX-512 disp8).

Parameters
NN nullable value.
Since
1.2.0

◆ setRip()

void fcml::DecodedModRMDetails::setRip ( bool  isRip)
inline

Sets RIP byte availability.

Parameters
isRipTrue if RIP byte is available.
Since
1.1.0

◆ setSib()

void fcml::DecodedModRMDetails::setSib ( const Nullable< fcml_uint8_t > &  sib)
inline

Sets SIB nullable byte.

Parameters
sibThe SIB nullable byte.
Since
1.1.0

The documentation for this class was generated from the following file: