retdec
Namespaces
string_conversions.h File Reference

Conversions of strings stored in LLVM IR. More...

#include <string>
#include "retdec/llvmir2hll/support/smart_ptr.h"

Go to the source code of this file.

Namespaces

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

Detailed Description

Conversions of strings stored in LLVM IR.