retdec
|
#include <borland_ast_ctypes_parser.h>
Public Member Functions | |
BorlandToCtypesParser ()=default | |
std::shared_ptr< ctypes::Function > | parseAsFunction (const std::string &name, std::shared_ptr< demangler::borland::Node > ast, std::unique_ptr< ctypes::Module > &module, const TypeWidths &typeWidths={}, const TypeSignedness &typeSignedness={}, unsigned defaultBitWidth=0) |
![]() | |
AstToCtypesParser ()=default | |
![]() | |
virtual | ~CTypesParser ()=default |
Additional Inherited Members | |
![]() | |
using | TypeWidths = std::map< std::string, unsigned > |
Set container for C-types' bit width. More... | |
using | TypeSignedness = std::map< std::string, ctypes::IntegralType::Signess > |
Set container for C-types' signedness. More... | |
![]() | |
unsigned | getBitWidth (const std::string &typeName) const |
ctypes::IntegralType::Signess | toSigness (bool isUnsigned) const |
ctypes::IntegralType::Signess | toSigness (const std::string &typeName) const |
ctypes::FunctionType::VarArgness | toVarArgness (bool isVarArg) const |
![]() | |
CTypesParser () | |
Creates new C-types parser. More... | |
CTypesParser (unsigned defaultBitWidth) | |
Creates new C-types parser. More... | |
![]() | |
std::shared_ptr< retdec::ctypes::Context > | context |
Container for already parsed functions, types. More... | |
TypeWidths | typeWidths |
C-types' bit widths. More... | |
TypeSignedness | typeSignedness |
C-types' signedness. More... | |
unsigned | defaultBitWidth = 0 |
Bitwidth used for types not in typeWidths . More... | |
|
default |
|
private |
std::shared_ptr< ctypes::Function > retdec::demangler::BorlandToCtypesParser::parseAsFunction | ( | const std::string & | name, |
std::shared_ptr< demangler::borland::Node > | ast, | ||
std::unique_ptr< ctypes::Module > & | module, | ||
const TypeWidths & | typeWidths = {} , |
||
const TypeSignedness & | typeSignedness = {} , |
||
unsigned | defaultBitWidth = 0 |
||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |