retdec
Public Types | Public Member Functions | Private Attributes | List of all members
retdec::ctypesparser::TypeConfig Class Reference

Defines type widths and singnedness for types that are implementation specific. TODO add configuration based on decompiled architecture and compiler. More...

#include <type_config.h>

Collaboration diagram for retdec::ctypesparser::TypeConfig:
Collaboration graph
[legend]

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

 TypeConfig ()
 Defines type widths and singnedness for types that are implementation specific. More...
 
TypeWidths typeWidths ()
 
TypeSignedness typeSignedness ()
 
unsigned defaultBitWidth ()
 

Private Attributes

TypeWidths _typeWidths
 
TypeSignedness _typeSignedness
 
unsigned _defaultBitWidth
 

Detailed Description

Defines type widths and singnedness for types that are implementation specific. TODO add configuration based on decompiled architecture and compiler.

Member Typedef Documentation

◆ TypeSignedness

Set container for C-types' signedness.

◆ TypeWidths

using retdec::ctypesparser::TypeConfig::TypeWidths = std::map<std::string, unsigned>

Set container for C-types' bit width.

Constructor & Destructor Documentation

◆ TypeConfig()

retdec::ctypesparser::TypeConfig::TypeConfig ( )

Defines type widths and singnedness for types that are implementation specific.

Member Function Documentation

◆ defaultBitWidth()

unsigned retdec::ctypesparser::TypeConfig::defaultBitWidth ( )

◆ typeSignedness()

TypeConfig::TypeSignedness retdec::ctypesparser::TypeConfig::typeSignedness ( )

◆ typeWidths()

TypeConfig::TypeWidths retdec::ctypesparser::TypeConfig::typeWidths ( )

Member Data Documentation

◆ _defaultBitWidth

unsigned retdec::ctypesparser::TypeConfig::_defaultBitWidth
private

◆ _typeSignedness

TypeSignedness retdec::ctypesparser::TypeConfig::_typeSignedness
private

◆ _typeWidths

TypeWidths retdec::ctypesparser::TypeConfig::_typeWidths
private

The documentation for this class was generated from the following files: