mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 05:43:30 +00:00
38 lines
1 KiB
C
38 lines
1 KiB
C
// start of
|
|
// structure of symbol file
|
|
///////////////////////////////////////////////////
|
|
typedef struct tagLoaderSymbolHeader
|
|
{
|
|
ULONG dwMagic,dwSize;
|
|
char Copyright[256];
|
|
char ModuleName[256];
|
|
ULONG NumberOfSymbols;
|
|
ULONG Reserved; // for future extension
|
|
}LOADERSYMBOLHEADER,*PLOADERSYMBOLHEADER;
|
|
|
|
typedef struct tagLoaderSymbolRecord
|
|
{
|
|
ULONG ModuleNameLength;
|
|
ULONG NameLength;
|
|
ULONG Address;
|
|
ULONG Type;
|
|
ULONG Class;
|
|
}LOADERSYMBOLRECORD,*PLOADERSYMBOLRECORD;
|
|
|
|
typedef struct tagLoaderSymbolFile
|
|
{
|
|
LOADERSYMBOLHEADER LoaderSymbolHeader; // file header
|
|
LOADERSYMBOLRECORD LoaderSymbolRecord[1]; // symbol records (symbol + source file)
|
|
}LOADERSYMBOLFILE,*PLOADERSYMBOLFILE;
|
|
|
|
typedef struct tagLoaderSymbolPool
|
|
{
|
|
ULONG NumberOfFiles;
|
|
ULONG SizeOfThisHeap;
|
|
LOADERSYMBOLHEADER LoaderSymbolHeader; // file header
|
|
LOADERSYMBOLRECORD LoaderSymbolRecord[1]; // symbol records (symbol + source file)
|
|
}LOADERSYMBOLPOOL,*PLOADERSYMBOLPOOL;
|
|
|
|
// end of
|
|
// structure of symbol file
|
|
///////////////////////////////////////////////////
|