mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-20 04:09:41 +00:00
40 lines
726 B
C
40 lines
726 B
C
#ifndef R2_PDB_H
|
|
#define R2_PDB_H
|
|
|
|
#define _R_LIST_C
|
|
#include "r_util.h"
|
|
#include <stdio.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#define FILE_NAME_LEN 256
|
|
|
|
struct R_PDB;
|
|
struct R_PDB7_ROOT_STREAM;
|
|
|
|
typedef struct R_PDB {
|
|
bool (*pdb_parse)(struct R_PDB *pdb);
|
|
void (*finish_pdb_parse)(struct R_PDB *pdb);
|
|
void (*print_types)(struct R_PDB *pdb, int mode);
|
|
// FILE *fp;
|
|
PrintfCallback cb_printf;
|
|
struct R_PDB7_ROOT_STREAM *root_stream;
|
|
void *stream_map;
|
|
RList *pdb_streams;
|
|
RList *pdb_streams2;
|
|
RBuffer *buf; // mmap of file
|
|
// int curr;
|
|
|
|
void (*print_gvars)(struct R_PDB *pdb, ut64 img_base, int format);
|
|
} R_PDB;
|
|
|
|
R_API bool init_pdb_parser(R_PDB *pdb, const char *filename);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|