retdec
|
Implementation of string conversions. More...
#include <cstdint>
#include <llvm/IR/Constants.h>
#include <llvm/IR/DerivedTypes.h>
#include <llvm/IR/GlobalVariable.h>
#include "retdec/llvmir2hll/ir/const_string.h"
#include "retdec/llvmir2hll/llvm/string_conversions.h"
#include "retdec/llvmir2hll/support/debug.h"
Namespaces | |
retdec | |
retdec::llvmir2hll | |
Functions | |
Querying | |
bool | retdec::llvmir2hll::is8BitStringLiteral (const llvm::ConstantArray *ca) |
Checks if the given LLVM constant array represents an 8-bit string literal. More... | |
bool | retdec::llvmir2hll::stores8BitStringLiteral (const llvm::GlobalVariable *v) |
Checks if the global variable stores an 8-bit string literal. More... | |
Conversions | |
ShPtr< ConstString > | retdec::llvmir2hll::toConstString (llvm::ConstantArray *ca) |
Converts the given LLVM constant array into ConstString. More... | |
ShPtr< ConstString > | retdec::llvmir2hll::toConstString (llvm::ConstantDataArray *cda) |
Converts the given LLVM constant data array into ConstString. More... | |
ShPtr< ConstString > | retdec::llvmir2hll::getInitializerAsConstString (llvm::GlobalVariable *v) |
Returns the initializer of the given global variable as ConstString. More... | |
Implementation of string conversions.