retdec
Public Member Functions | Public Attributes | List of all members
ProcessingOptions Struct Reference

#include <processing.h>

Collaboration diagram for ProcessingOptions:
Collaboration graph
[legend]

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...
 

Detailed Description

Structure to keep information about user options.

Member Function Documentation

◆ validate()

bool ProcessingOptions::validate ( std::string &  error)

Validate user options.

Parameters
errorwill be set to error message if options are invalid
Returns
true if options are valid, false otherwise

Member Data Documentation

◆ ignoreNops

bool ProcessingOptions::ignoreNops = false

Do not count NOPs to (pure) size.

◆ input

std::vector<std::string> ProcessingOptions::input

Input files.

◆ isDelphi

bool ProcessingOptions::isDelphi = false

Delphi specific functions off/on.

◆ logOn

bool ProcessingOptions::logOn = false

Log-file on/off.

◆ maxSize

std::size_t ProcessingOptions::maxSize = 0

Upper rule size limit.

◆ minPure

std::size_t ProcessingOptions::minPure = 0

Pure information limit.

◆ minSize

std::size_t ProcessingOptions::minSize = 0

Lower rule size limit.

◆ nopOpcode

std::size_t ProcessingOptions::nopOpcode = 0x00

Opcode of NOP instruction.


The documentation for this struct was generated from the following files: