retdec
|
#include <processing.h>
Public Member Functions | |
bool | validate (std::string &error) |
Public Attributes | |
std::size_t | maxSize = 0 |
Upper rule size limit. More... | |
std::size_t | minSize = 0 |
Lower rule size limit. More... | |
std::size_t | minPure = 0 |
Pure information limit. More... | |
bool | ignoreNops = false |
Do not count NOPs to (pure) size. More... | |
std::size_t | nopOpcode = 0x00 |
Opcode of NOP instruction. More... | |
bool | isDelphi = false |
Delphi specific functions off/on. More... | |
bool | logOn = false |
Log-file on/off. More... | |
std::vector< std::string > | input |
Input files. More... | |
Structure to keep information about user options.
bool ProcessingOptions::validate | ( | std::string & | error | ) |
Validate user options.
error | will be set to error message if options are invalid |
true
if options are valid, false
otherwise bool ProcessingOptions::ignoreNops = false |
Do not count NOPs to (pure) size.
std::vector<std::string> ProcessingOptions::input |
Input files.
bool ProcessingOptions::isDelphi = false |
Delphi specific functions off/on.
bool ProcessingOptions::logOn = false |
Log-file on/off.
std::size_t ProcessingOptions::maxSize = 0 |
Upper rule size limit.
std::size_t ProcessingOptions::minPure = 0 |
Pure information limit.
std::size_t ProcessingOptions::minSize = 0 |
Lower rule size limit.
std::size_t ProcessingOptions::nopOpcode = 0x00 |
Opcode of NOP instruction.