Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_pdb.h>
#include "dbi.h"
#include "gdata.h"
#include "omap.h"
#include "stream_pe.h"
#include "tpi.h"
Go to the source code of this file.
Functions | |
RZ_IPI bool | parse_omap_stream (RzPdb *pdb, RzPdbMsfStream *stream) |
RZ_IPI void | free_omap_stream (RzPdbOmapStream *stream) |
RZ_IPI int | omap_remap (void *stream, int address) |
RZ_IPI bool | parse_gdata_stream (RzPdb *pdb, RzPdbMsfStream *stream) |
RZ_IPI void | free_gdata_stream (RzPdbGDataStream *stream) |
RZ_IPI bool | parse_dbi_stream (RzPdb *pdb, RzPdbMsfStream *stream) |
RZ_IPI void | free_dbi_stream (RzPdbDbiStream *stream) |
RZ_IPI bool | parse_pe_stream (RzPdb *pdb, RzPdbMsfStream *stream) |
RZ_IPI void | free_pe_stream (RzPdbPeStream *stream) |
RZ_IPI bool | parse_tpi_stream (RzPdb *pdb, RzPdbMsfStream *stream) |
RZ_IPI RzPdbTpiType * | parse_simple_type (RzPdbTpiStream *stream, ut32 idx) |
Parses simple type if the idx represents one. More... | |
RZ_IPI void | free_tpi_stream (RzPdbTpiStream *stream) |
RZ_IPI void free_dbi_stream | ( | RzPdbDbiStream * | stream | ) |
Definition at line 7 of file dbi.c.
References free(), dbi_stream_ex_header_t::ModuleName, dbi_stream_ex_header_t::ObjFileName, RZ_FREE, and rz_list_free().
Referenced by rz_bin_pdb_free().
RZ_IPI void free_gdata_stream | ( | RzPdbGDataStream * | stream | ) |
Definition at line 80 of file gdata.c.
References free(), GDataGlobal::name, RZ_FREE, and rz_list_free().
Referenced by rz_bin_pdb_free().
RZ_IPI void free_omap_stream | ( | RzPdbOmapStream * | stream | ) |
Definition at line 42 of file omap.c.
References free(), RZ_FREE, and rz_list_free().
Referenced by rz_bin_pdb_free().
RZ_IPI void free_pe_stream | ( | RzPdbPeStream * | stream | ) |
Definition at line 53 of file stream_pe.c.
References free(), and rz_list_free().
Referenced by rz_bin_pdb_free().
RZ_IPI void free_tpi_stream | ( | RzPdbTpiStream * | stream | ) |
Definition at line 705 of file tpi.c.
References free(), free_tpi_rbtree(), NULL, rz_list_free(), and rz_rbtree_free().
Referenced by rz_bin_pdb_free().
RZ_IPI bool parse_dbi_stream | ( | RzPdb * | pdb, |
RzPdbMsfStream * | stream | ||
) |
Definition at line 151 of file dbi.c.
References parse_dbi_dbg_header(), parse_dbi_stream_ex_header(), parse_dbi_stream_header(), RZ_BUF_CUR, rz_buf_seek(), RZ_LOG_ERROR, RZ_NEW0, s, rz_pdb_t::s_dbi, seek(), and ut64().
Referenced by parse_streams().
RZ_IPI bool parse_gdata_stream | ( | RzPdb * | pdb, |
RzPdbMsfStream * | stream | ||
) |
Definition at line 33 of file gdata.c.
References GDataGlobal::leaf_type, len, parse_gdata_global(), RZ_BUF_CUR, rz_buf_read_le16, rz_buf_seek(), rz_buf_tell(), RZ_FREE, rz_list_append(), rz_list_new(), RZ_LOG_ERROR, RZ_NEW0, rz_return_val_if_fail, s, rz_pdb_t::s_gdata, skip(), and UT16_MAX.
Referenced by parse_streams().
RZ_IPI bool parse_omap_stream | ( | RzPdb * | pdb, |
RzPdbMsfStream * | stream | ||
) |
Definition at line 8 of file omap.c.
References free(), rz_buf_read_le32, rz_buf_size(), rz_list_append(), rz_list_free(), rz_list_new(), RZ_LOG_ERROR, RZ_NEW0, rz_return_val_if_fail, s, and rz_pdb_t::s_omap.
Referenced by parse_streams().
RZ_IPI bool parse_pe_stream | ( | RzPdb * | pdb, |
RzPdbMsfStream * | stream | ||
) |
Definition at line 20 of file stream_pe.c.
References free(), parse_image_header(), rz_buf_size(), rz_list_append(), rz_list_free(), rz_list_newf(), RZ_LOG_ERROR, RZ_NEW0, rz_return_val_if_fail, s, and rz_pdb_t::s_pe.
Referenced by parse_streams().
RZ_IPI RzPdbTpiType* parse_simple_type | ( | RzPdbTpiStream * | stream, |
ut32 | idx | ||
) |
Parses simple type if the idx represents one.
RzPdbTpiStream | TPI stream context |
idx | leaf index |
Definition at line 142 of file tpi.c.
References FAR_POINTER, FAR_POINTER32, free(), get_simple_type_kind(), get_simple_type_mode(), HUGE_POINTER, setup::idx, LF_SIMPLE_TYPE, NEAR_POINTER, NEAR_POINTER128, NEAR_POINTER32, NEAR_POINTER64, NULL, PDB_BOOL128, PDB_BOOL16, PDB_BOOL32, PDB_BOOL64, PDB_BOOL8, PDB_BYTE, PDB_CHAR16, PDB_CHAR32, PDB_COMPLEX128, PDB_COMPLEX16, PDB_COMPLEX32, PDB_COMPLEX32_PP, PDB_COMPLEX48, PDB_COMPLEX64, PDB_COMPLEX80, PDB_FLOAT128, PDB_FLOAT16, PDB_FLOAT32, PDB_FLOAT32_PP, PDB_FLOAT48, PDB_FLOAT64, PDB_FLOAT80, PDB_INT128, PDB_INT128_OCT, PDB_INT16, PDB_INT16_SHORT, PDB_INT32, PDB_INT32_LONG, PDB_INT64, PDB_INT64_QUAD, PDB_NARROW_CHAR, PDB_NONE, PDB_SBYTE, PDB_SIGNED_CHAR, PDB_UINT128, PDB_UINT128_OCT, PDB_UINT16, PDB_UINT16_SHORT, PDB_UINT32, PDB_UINT32_LONG, PDB_UINT64, PDB_UINT64_QUAD, PDB_UNSIGNED_CHAR, PDB_VOID, PDB_WIDE_CHAR, RZ_LOG_ERROR, RZ_NEW0, rz_rbtree_insert(), rz_strbuf_append(), rz_strbuf_drain(), rz_strbuf_new(), Tpi_LF_SimpleType::size, tpi_type_node_cmp(), type, and Tpi_LF_SimpleType::type.
Referenced by rz_bin_pdb_get_type_by_index().
RZ_IPI bool parse_tpi_stream | ( | RzPdb * | pdb, |
RzPdbMsfStream * | stream | ||
) |
Definition at line 1799 of file tpi.c.
References header, i, NULL, parse_tpi_stream_header(), parse_tpi_types(), PDB_STREAM_TPI, PFMT32x, RZ_FREE, RZ_LOG_ERROR, RZ_NEW0, rz_rbtree_insert(), s, rz_pdb_t::s_tpi, tpi_type_node_cmp(), and type.
Referenced by parse_streams().