Rizin
unix-like reverse engineering framework and cli tools
pdb_downloader.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: 2014-2015 inisider <inisider@gmail.com>
2 // SPDX-License-Identifier: LGPL-3.0-only
3 
4 #ifndef PDB_DOWNLOADER_H
5 #define PDB_DOWNLOADER_H
6 
7 #include <rz_types.h>
8 #include <rz_bin.h>
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 typedef struct SPDBOptions {
15  const char *symbol_server;
16  const char *symbol_store_path;
19 
20 typedef struct SPDBDownloaderOpt {
21  const char *symbol_server;
22  const char *dbg_file;
23  const char *guid;
24  const char *symbol_store_path;
27 
28 typedef struct SPDBDownloader {
30 
31  char *(*download)(struct SPDBDownloader *pdb_downloader);
33 
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif
#define RZ_API
static const char struct stat static buf struct stat static buf static vhangup int options
Definition: sflib.h:145
RZ_API RZ_OWN char * rz_bin_symserver_download(RZ_NONNULL const SPDBDownloaderOpt *options)
downloads file from symbol server
struct SPDBOptions SPDBOptions
struct SPDBDownloaderOpt SPDBDownloaderOpt
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.
struct SPDBDownloader SPDBDownloader
#define RZ_NULLABLE
Definition: rz_types.h:65
#define RZ_OWN
Definition: rz_types.h:62
#define RZ_NONNULL
Definition: rz_types.h:64
const char * dbg_file
const char * symbol_server
const char * symbol_store_path
const char * guid
SPDBDownloaderOpt * opt
const char * symbol_server
const char * symbol_store_path
Definition: malloc.c:26
Definition: rz_pj.h:12
ut64(WINAPI *w32_GetEnabledXStateFeatures)()