Rizin
unix-like reverse engineering framework and cli tools
|
#include "pdb.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) |
static int | binary_search (unsigned int *A, int key, int imin, int imax) |
RZ_API int | rz_bin_pdb_omap_remap (RZ_NONNULL RzPdbOmapStream *omap_stream, int address) |
return remapped symbol address More... | |
Definition at line 59 of file omap.c.
Referenced by rz_bin_pdb_omap_remap().
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 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_API int rz_bin_pdb_omap_remap | ( | RZ_NONNULL RzPdbOmapStream * | omap_stream, |
int | address | ||
) |
return remapped symbol address
omap_stream | RzPdbOmapStream |
address | Where to remap |
Definition at line 89 of file omap.c.
References binary_search(), OmapEntry::from, i, len, malloc(), pos, rz_list_get_n(), rz_list_iterator(), rz_list_length(), and OmapEntry::to.
Referenced by pdb_set_symbols(), and rz_core_bin_pdb_gvars_as_string().