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

Assembler configuration. More...

#include <fcml_assembler.hpp>

Public Member Functions

 AssemblerConf ()
 
bool isChooseAbsEncoding () const
 
void setChooseAbsEncoding (bool chooseAbsEncoding)
 
fcml_fnp_asm_instruction_chooser getChooser () const
 
void setChooser (fcml_fnp_asm_instruction_chooser chooser)
 
bool isChooseSibEncoding () const
 
void setChooseSibEncoding (bool chooseSibEncoding)
 
bool isEnableErrorMessages () const
 
void setEnableErrorMessages (bool enableErrorMessages)
 
bool isForceRexPrefix () const
 
void setForceRexPrefix (bool forceRexPrefix)
 
bool isForceThreeByteVex () const
 
void setForceThreeByteVex (bool forceThreeByteVex)
 
bool isIncrementIp () const
 
void setIncrementIp (bool incrementIp)
 
fcml_fnp_asm_optimizer getOptimizer () const
 
void setOptimizer (fcml_fnp_asm_optimizer optimizer)
 
fcml_uint16_t getOptimizerFlags () const
 
void setOptimizerFlags (fcml_uint16_t optimizerFlags)
 
bool isThrowExceptionOnError () const
 Returns true if exception should be thrown when assembling fails. More...
 
void setThrowExceptionOnError (bool throwExceptionOnError)
 Sets the way how the error handling is done. More...
 

Detailed Description

Assembler configuration.

For more information about the flags, see fcml_st_assembler_conf structure documentation.

Since
1.1.0

Constructor & Destructor Documentation

◆ AssemblerConf()

fcml::AssemblerConf::AssemblerConf ( )
inline
Since
1.1.0

Member Function Documentation

◆ getChooser()

fcml_fnp_asm_instruction_chooser fcml::AssemblerConf::getChooser ( ) const
inline
Since
1.1.0

◆ getOptimizer()

fcml_fnp_asm_optimizer fcml::AssemblerConf::getOptimizer ( ) const
inline
Since
1.1.0

◆ getOptimizerFlags()

fcml_uint16_t fcml::AssemblerConf::getOptimizerFlags ( ) const
inline
Since
1.1.0

◆ isChooseAbsEncoding()

bool fcml::AssemblerConf::isChooseAbsEncoding ( ) const
inline
Since
1.1.0

◆ isChooseSibEncoding()

bool fcml::AssemblerConf::isChooseSibEncoding ( ) const
inline
Since
1.1.0

◆ isEnableErrorMessages()

bool fcml::AssemblerConf::isEnableErrorMessages ( ) const
inline
Since
1.1.0

◆ isForceRexPrefix()

bool fcml::AssemblerConf::isForceRexPrefix ( ) const
inline
Since
1.1.0

◆ isForceThreeByteVex()

bool fcml::AssemblerConf::isForceThreeByteVex ( ) const
inline
Since
1.1.0

◆ isIncrementIp()

bool fcml::AssemblerConf::isIncrementIp ( ) const
inline
Since
1.1.0

◆ isThrowExceptionOnError()

bool fcml::AssemblerConf::isThrowExceptionOnError ( ) const
inline

Returns true if exception should be thrown when assembling fails.

Returns
True if exception is the preferred way of error handling in case of failure.
Since
1.1.0

◆ setChooseAbsEncoding()

void fcml::AssemblerConf::setChooseAbsEncoding ( bool  chooseAbsEncoding)
inline
Since
1.1.0

◆ setChooser()

void fcml::AssemblerConf::setChooser ( fcml_fnp_asm_instruction_chooser  chooser)
inline
Since
1.1.0

◆ setChooseSibEncoding()

void fcml::AssemblerConf::setChooseSibEncoding ( bool  chooseSibEncoding)
inline
Since
1.1.0

◆ setEnableErrorMessages()

void fcml::AssemblerConf::setEnableErrorMessages ( bool  enableErrorMessages)
inline
Since
1.1.0

◆ setForceRexPrefix()

void fcml::AssemblerConf::setForceRexPrefix ( bool  forceRexPrefix)
inline
Since
1.1.0

◆ setForceThreeByteVex()

void fcml::AssemblerConf::setForceThreeByteVex ( bool  forceThreeByteVex)
inline
Since
1.1.0

◆ setIncrementIp()

void fcml::AssemblerConf::setIncrementIp ( bool  incrementIp)
inline
Since
1.1.0

◆ setOptimizer()

void fcml::AssemblerConf::setOptimizer ( fcml_fnp_asm_optimizer  optimizer)
inline
Since
1.1.0

◆ setOptimizerFlags()

void fcml::AssemblerConf::setOptimizerFlags ( fcml_uint16_t  optimizerFlags)
inline
Since
1.1.0

◆ setThrowExceptionOnError()

void fcml::AssemblerConf::setThrowExceptionOnError ( bool  throwExceptionOnError)
inline

Sets the way how the error handling is done.

Parameters
throwExceptionOnErrorTrue if exception should be thrown in case of failure.
Since
1.1.0

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