retdec
Functions | Variables
retdec::bin2llvmir::names Namespace Reference

Functions

std::string generateFunctionName (common::Address a, bool ida=false)
 
std::string generateFunctionNameUnknown (common::Address a, bool ida=false)
 
std::string generateGlobalVarName (common::Address a, const std::string &name=std::string())
 
std::string generateStackVarName (int offset, const std::string &name=std::string())
 
std::string generateBasicBlockName (common::Address a)
 
std::string generateTempVariableName (common::Address a, unsigned cntr)
 
std::string generateFunctionNameUndef (unsigned cntr)
 
std::string generateVtableName (common::Address a)
 

Variables

const std::string entryPointName = "entry_point"
 
const std::string generatedImportPrefix = "imported_function_ord_"
 
const std::string generatedFunctionPrefix = "function_"
 
const std::string generatedFunctionPrefixIDA = "ida_"
 
const std::string generatedFunctionPrefixUnk = "unknown_"
 
const std::string generatedGlobalVarPrefix = "global_var_"
 
const std::string generatedStackVarPrefix = "stack_var_"
 
const std::string generatedTempVarPrefix = "v"
 
const std::string generatedBasicBlockPrefix = "dec_label_pc_"
 
const std::string generatedUndefFunctionPrefix = "__decompiler_undefined_function_"
 
const std::string generatedVtablePrefix = "vtable_"
 
const std::string asm2llvmGv = "_asm_program_counter"
 
const std::string pseudoCallFunction = "__pseudo_call"
 
const std::string pseudoReturnFunction = "__pseudo_return"
 
const std::string pseudoBranchFunction = "__pseudo_branch"
 
const std::string pseudoCondBranchFunction = "__pseudo_cond_branch"
 
const std::string pseudoX87dataLoadFunction = "__frontend_reg_load.fpr"
 
const std::string pseudoX87dataStoreFunction = "__frontend_reg_store.fpr"
 

Function Documentation

◆ generateBasicBlockName()

std::string retdec::bin2llvmir::names::generateBasicBlockName ( common::Address  a)

◆ generateFunctionName()

std::string retdec::bin2llvmir::names::generateFunctionName ( common::Address  a,
bool  ida = false 
)

◆ generateFunctionNameUndef()

std::string retdec::bin2llvmir::names::generateFunctionNameUndef ( unsigned  cntr)

◆ generateFunctionNameUnknown()

std::string retdec::bin2llvmir::names::generateFunctionNameUnknown ( common::Address  a,
bool  ida = false 
)

◆ generateGlobalVarName()

std::string retdec::bin2llvmir::names::generateGlobalVarName ( common::Address  a,
const std::string &  name = std::string() 
)

◆ generateStackVarName()

std::string retdec::bin2llvmir::names::generateStackVarName ( int  offset,
const std::string &  name = std::string() 
)

◆ generateTempVariableName()

std::string retdec::bin2llvmir::names::generateTempVariableName ( common::Address  a,
unsigned  cntr 
)

◆ generateVtableName()

std::string retdec::bin2llvmir::names::generateVtableName ( common::Address  a)

Variable Documentation

◆ asm2llvmGv

const std::string retdec::bin2llvmir::names::asm2llvmGv = "_asm_program_counter"

◆ entryPointName

const std::string retdec::bin2llvmir::names::entryPointName = "entry_point"

◆ generatedBasicBlockPrefix

const std::string retdec::bin2llvmir::names::generatedBasicBlockPrefix = "dec_label_pc_"

◆ generatedFunctionPrefix

const std::string retdec::bin2llvmir::names::generatedFunctionPrefix = "function_"

◆ generatedFunctionPrefixIDA

const std::string retdec::bin2llvmir::names::generatedFunctionPrefixIDA = "ida_"

◆ generatedFunctionPrefixUnk

const std::string retdec::bin2llvmir::names::generatedFunctionPrefixUnk = "unknown_"

◆ generatedGlobalVarPrefix

const std::string retdec::bin2llvmir::names::generatedGlobalVarPrefix = "global_var_"

◆ generatedImportPrefix

const std::string retdec::bin2llvmir::names::generatedImportPrefix = "imported_function_ord_"

◆ generatedStackVarPrefix

const std::string retdec::bin2llvmir::names::generatedStackVarPrefix = "stack_var_"

◆ generatedTempVarPrefix

const std::string retdec::bin2llvmir::names::generatedTempVarPrefix = "v"

◆ generatedUndefFunctionPrefix

const std::string retdec::bin2llvmir::names::generatedUndefFunctionPrefix = "__decompiler_undefined_function_"

◆ generatedVtablePrefix

const std::string retdec::bin2llvmir::names::generatedVtablePrefix = "vtable_"

◆ pseudoBranchFunction

const std::string retdec::bin2llvmir::names::pseudoBranchFunction = "__pseudo_branch"

◆ pseudoCallFunction

const std::string retdec::bin2llvmir::names::pseudoCallFunction = "__pseudo_call"

◆ pseudoCondBranchFunction

const std::string retdec::bin2llvmir::names::pseudoCondBranchFunction = "__pseudo_cond_branch"

◆ pseudoReturnFunction

const std::string retdec::bin2llvmir::names::pseudoReturnFunction = "__pseudo_return"

◆ pseudoX87dataLoadFunction

const std::string retdec::bin2llvmir::names::pseudoX87dataLoadFunction = "__frontend_reg_load.fpr"

◆ pseudoX87dataStoreFunction

const std::string retdec::bin2llvmir::names::pseudoX87dataStoreFunction = "__frontend_reg_store.fpr"