retdec
|
A base class for parsing to C-types. More...
#include <ctypes_parser.h>
Public Types | |
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... | |
Public Member Functions | |
virtual | ~CTypesParser ()=default |
Protected Member Functions | |
CTypesParser () | |
Creates new C-types parser. More... | |
CTypesParser (unsigned defaultBitWidth) | |
Creates new C-types parser. More... | |
Protected Attributes | |
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... | |
A base class for parsing to C-types.
using retdec::ctypesparser::CTypesParser::TypeSignedness = std::map<std::string, ctypes::IntegralType::Signess> |
Set container for C-types' signedness.
using retdec::ctypesparser::CTypesParser::TypeWidths = std::map<std::string, unsigned> |
Set container for C-types' bit width.
|
virtualdefault |
|
protected |
Creates new C-types parser.
|
protected |
Creates new C-types parser.
defaultBitWidth | BitWidth used for types that are not in typeWidths. |
|
protected |
Container for already parsed functions, types.
|
protected |
Bitwidth used for types not in typeWidths
.
|
protected |
C-types' signedness.
|
protected |
C-types' bit widths.