Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | SPDBOptions |
struct | SPDBDownloaderOpt |
struct | SPDBDownloader |
Typedefs | |
typedef struct SPDBOptions | SPDBOptions |
typedef struct SPDBDownloaderOpt | SPDBDownloaderOpt |
typedef struct SPDBDownloader | SPDBDownloader |
Functions | |
RZ_API int | rz_bin_pdb_download (RZ_NONNULL RzBin *bin, RZ_NULLABLE PJ *pj, int isradjson, RZ_NONNULL SPDBOptions *options) |
Download PDB file for currently opened RzBin file. More... | |
RZ_API RZ_OWN char * | rz_bin_symserver_download (RZ_NONNULL const SPDBDownloaderOpt *options) |
downloads file from symbol server More... | |
typedef struct SPDBDownloader SPDBDownloader |
typedef struct SPDBDownloaderOpt SPDBDownloaderOpt |
typedef struct SPDBOptions SPDBOptions |
RZ_API int rz_bin_pdb_download | ( | RZ_NONNULL RzBin * | bin, |
RZ_NULLABLE PJ * | pj, | ||
int | isradjson, | ||
RZ_NONNULL SPDBOptions * | options | ||
) |
Download PDB file for currently opened RzBin file.
bin | RzBin instance |
pj | Optional PJ instance for json output |
isradjson | Use pj for json output |
options | symbol server options for downloading the PDB file |
Definition at line 171 of file pdb_downloader.c.
References SPDBDownloaderOpt::dbg_file, rz_bin_info_t::debug_file_name, SPDBDownloaderOpt::extract, free(), SPDBDownloaderOpt::guid, rz_bin_info_t::guid, info(), is_valid_guid(), options, path, pj_end(), pj_kb(), pj_ko(), pj_ks(), rz_bin_get_info(), rz_bin_symserver_download(), rz_cons_printf(), rz_file_dos_basename(), RZ_LOG_ERROR, rz_return_val_if_fail, SPDBDownloaderOpt::symbol_server, and SPDBDownloaderOpt::symbol_store_path.
Referenced by download_pdb(), GetHeapGlobalsOffset(), rz_cmd_info_pdb_download_handler(), and rz_main_rz_bin().
RZ_API RZ_OWN char* rz_bin_symserver_download | ( | RZ_NONNULL const SPDBDownloaderOpt * | options | ) |
downloads file from symbol server
options | options for downloading file |
Definition at line 219 of file pdb_downloader.c.
References deinit_pdb_downloader(), SPDBDownloader::download, free(), init_pdb_downloader(), NULL, options, path, rz_return_val_if_fail, strdup(), and SPDBDownloaderOpt::symbol_server.
Referenced by rz_bin_pdb_download(), and winkd_download_module_and_pdb().