retdec
|
#include <algorithm>
#include <fstream>
#include <memory>
#include "retdec/llvmir2hll/llvmir2hll.h"
#include "retdec/utils/io/log.h"
Namespaces | |
retdec | |
retdec::llvmir2hll | |
Functions | |
std::unique_ptr< llvm::ToolOutputFile > | getOutputStream (const std::string &outputFile) |
template<typename FactoryType > | |
std::string | getListOfSupportedObjects () |
Returns a list of all supported objects by the given factory. More... | |
template<typename FactoryType > | |
void | printErrorUnsupportedObject (const std::string &typeOfObjectsSingular, const std::string &typeOfObjectsPlural) |
Prints an error message concerning the situation when an unsupported object has been selected from the given factory. More... | |
static RegisterPass< LlvmIr2Hll > | retdec::llvmir2hll::X ("retdec-llvmir2hll", "LLVM IR -> HLL", false, false) |
Variables | |
std::string | TargetHLL = "c" |
std::string | oArithmExprEvaluator = "c" |
bool | ValidateModule = true |
bool | StrictFPUSemantics = false |
std::string | ForcedModuleName = "" |
bool | Debug = true |
bool | EmitDebugComments = true |
std::string | oCFGWriter = "dot" |
std::string | oCGWriter = "dot" |
std::string | VarNameGenPrefix = "" |
std::string | oVarNameGen = "fruit" |
std::string | oAliasAnalysis = "simple" |
std::string | FindPatterns = "" |
std::string | oSemantics = "" |
std::string getListOfSupportedObjects | ( | ) |
Returns a list of all supported objects by the given factory.
FactoryType | Type of the factory in whose objects we are interested in. |
The list is comma separated and has no beginning or trailing whitespace.
std::unique_ptr<llvm::ToolOutputFile> getOutputStream | ( | const std::string & | outputFile | ) |
void printErrorUnsupportedObject | ( | const std::string & | typeOfObjectsSingular, |
const std::string & | typeOfObjectsPlural | ||
) |
Prints an error message concerning the situation when an unsupported object has been selected from the given factory.
[in] | typeOfObjectsSingular | A human-readable description of the type of objects the factory provides. In the singular form, e.g. "HLL writer". |
[in] | typeOfObjectsPlural | A human-readable description of the type of objects the factory provides. In the plural form, e.g. "HLL writers". |
FactoryType | Type of the factory in whose objects we are interested in. |
bool Debug = true |
bool EmitDebugComments = true |
std::string FindPatterns = "" |
std::string ForcedModuleName = "" |
std::string oAliasAnalysis = "simple" |
std::string oArithmExprEvaluator = "c" |
std::string oCFGWriter = "dot" |
std::string oCGWriter = "dot" |
std::string oSemantics = "" |
std::string oVarNameGen = "fruit" |
bool StrictFPUSemantics = false |
std::string TargetHLL = "c" |
bool ValidateModule = true |
std::string VarNameGenPrefix = "" |