mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-05 05:18:40 +00:00
plug in dwarf converter to radbin; hook up to both rdi generation & breakpad generation; radbin exe -> pdb / elf -> dwarf inferences; cleanup / unification passes
This commit is contained in:
@@ -9,6 +9,42 @@
|
||||
|
||||
#include "radbin/generated/radbin.meta.h"
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: File Types
|
||||
|
||||
typedef U32 RB_FileFormatFlags;
|
||||
enum
|
||||
{
|
||||
RB_FileFormatFlag_HasDWARF = (1<<0),
|
||||
};
|
||||
|
||||
typedef struct RB_File RB_File;
|
||||
struct RB_File
|
||||
{
|
||||
RB_FileFormat format;
|
||||
RB_FileFormatFlags format_flags;
|
||||
String8 path;
|
||||
String8 data;
|
||||
};
|
||||
|
||||
typedef struct RB_FileNode RB_FileNode;
|
||||
struct RB_FileNode
|
||||
{
|
||||
RB_FileNode *next;
|
||||
RB_File *v;
|
||||
};
|
||||
|
||||
typedef struct RB_FileList RB_FileList;
|
||||
struct RB_FileList
|
||||
{
|
||||
RB_FileNode *first;
|
||||
RB_FileNode *last;
|
||||
U64 count;
|
||||
};
|
||||
|
||||
read_only global RB_File rb_file_nil = {0};
|
||||
#define rb_file_list_first(list) ((list)->first ? (list)->first->v : &rb_file_nil)
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Top-Level Entry Point
|
||||
|
||||
|
||||
Reference in New Issue
Block a user