retdec
Namespaces
string.cpp File Reference

Implementation of the string utilities. More...

#include <cstddef>
#include <vector>
#include "retdec/llvmir2hll/support/debug.h"
#include "retdec/llvmir2hll/utils/string.h"
#include "retdec/utils/conversion.h"
#include "retdec/utils/string.h"

Namespaces

 retdec
 
 retdec::llvmir2hll
 

Functions

Operations with Strings
std::string retdec::llvmir2hll::makeIdentifierValid (const std::string &id)
 Replaces invalid characters by valid ones in the given identifier. More...
 
std::string retdec::llvmir2hll::getAddressFromName (const std::string &name, const std::string &prefix)
 Returns the address extracted from the given name. More...
 
std::string retdec::llvmir2hll::getOffsetFromName (const std::string &name)
 Returns the offset extracted from the given name. More...
 
std::string retdec::llvmir2hll::getAddressFromLabel (const std::string &label, const std::string &labelPrefix, const std::string &addressPrefix)
 Tries to extract an address from the given basic block label. More...
 

Detailed Description

Implementation of the string utilities.