/usr/include/libr/r_pdb.h is in libradare2-dev 2.3.0+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #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
|