retdec
|
Classes | |
class | CTypesParser |
A base class for parsing to C-types. More... | |
class | CTypesParseError |
A class for ctypesparser-related errors. More... | |
class | JSONCTypesParser |
Parser for C-types represented in JSON. More... | |
class | TypeConfig |
Defines type widths and singnedness for types that are implementation specific. TODO add configuration based on decompiled architecture and compiler. More... | |
Functions | |
const rapidjson::Value & | safeGetObject (const rapidjson::Value &val, const std::string &name) |
const rapidjson::Value & | safeGetArray (const rapidjson::Value &val, const std::string &name) |
std::string | safeGetString (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value()) |
int64_t | safeGetInt64 (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value()) |
bool | safeGetBool (const rapidjson::Value &val, const std::string &name, const rapidjson::Value &defaultValue=rapidjson::Value()) |
Parser for C-types information from JSON to ctypes.
const rapidjson::Value& retdec::ctypesparser::safeGetArray | ( | const rapidjson::Value & | val, |
const std::string & | name | ||
) |
bool retdec::ctypesparser::safeGetBool | ( | const rapidjson::Value & | val, |
const std::string & | name, | ||
const rapidjson::Value & | defaultValue = rapidjson::Value() |
||
) |
int64_t retdec::ctypesparser::safeGetInt64 | ( | const rapidjson::Value & | val, |
const std::string & | name, | ||
const rapidjson::Value & | defaultValue = rapidjson::Value() |
||
) |
const rapidjson::Value& retdec::ctypesparser::safeGetObject | ( | const rapidjson::Value & | val, |
const std::string & | name | ||
) |
std::string retdec::ctypesparser::safeGetString | ( | const rapidjson::Value & | val, |
const std::string & | name, | ||
const rapidjson::Value & | defaultValue = rapidjson::Value() |
||
) |