ReactOS 0.4.16-dev-457-g087979e
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "rsym.h"
#include "rsym64.h"
#include "dwarf2.h"
Go to the source code of this file.
Macros | |
#define | DPRINT if(DoPrint) printf |
#define | GetxdataSize(cFuncs, cUWOP, cScopes) |
Functions | |
unsigned long | DwDecodeUleb128 (unsigned long *pResult, char *pc) |
unsigned long | DwDecodeSleb128 (long *pResult, char *pc) |
unsigned long | DwDecodeCie (PDW2CIE Cie, char *pc) |
unsigned long | DwDecodeFde (PDW2FDE Fde, char *pc) |
unsigned long | DwExecIntruction (PDW2CFSTATE State, char *pc) |
ULONG | StoreUnwindCodes (PUNWIND_INFO Info, PDW2CFSTATE State, ULONG FunctionStart) |
ULONG | StoreUnwindInfo (PUNWIND_INFO Info, PDW2FDE pFde, ULONG FunctionStart) |
void | CountUnwindData (PFILE_INFO File) |
int | CompFunc (const void *p1, const void *p2) |
void | GeneratePData (PFILE_INFO File) |
WORD | CalculateChecksum (DWORD Start, void *pFile, ULONG cbSize) |
void | WriteOutFile (FILE *handle, PFILE_INFO File) |
int | ParsePEHeaders (PFILE_INFO File) |
int | main (int argc, char *argv[]) |
Variables | |
char | DoPrint = 0 |
ULONG | g_ehframep |
struct { | |
char * name | |
char regnt | |
} | regs [] |
#define GetxdataSize | ( | cFuncs, | |
cUWOP, | |||
cScopes | |||
) |
Functions for COFF
Definition at line 621 of file rsym64.c.
Referenced by ParsePEHeaders(), and WriteOutFile().
Definition at line 508 of file rsym64.c.
Referenced by EngSort(), and GeneratePData().
void CountUnwindData | ( | PFILE_INFO | File | ) |
Definition at line 472 of file rsym64.c.
Referenced by GeneratePData().
Definition at line 78 of file rsym64.c.
Referenced by StoreUnwindInfo().
Definition at line 99 of file rsym64.c.
Referenced by CountUnwindData(), and GeneratePData().
Definition at line 53 of file rsym64.c.
Referenced by DwDecodeCie(), and DwExecIntruction().
Functions for DWARF2
Definition at line 32 of file rsym64.c.
Referenced by DwDecodeCie(), DwDecodeFde(), and DwExecIntruction().
unsigned long DwExecIntruction | ( | PDW2CFSTATE | State, |
char * | pc | ||
) |
Definition at line 115 of file rsym64.c.
Referenced by CountUnwindData(), and StoreUnwindInfo().
void GeneratePData | ( | PFILE_INFO | File | ) |
Definition at line 515 of file rsym64.c.
Referenced by main().
Definition at line 855 of file rsym64.c.
int ParsePEHeaders | ( | PFILE_INFO | File | ) |
Definition at line 722 of file rsym64.c.
Referenced by main().
ULONG StoreUnwindCodes | ( | PUNWIND_INFO | Info, |
PDW2CFSTATE | State, | ||
ULONG | FunctionStart | ||
) |
Windows unwind data functions
Definition at line 305 of file rsym64.c.
Referenced by CountUnwindData(), and StoreUnwindInfo().
ULONG StoreUnwindInfo | ( | PUNWIND_INFO | Info, |
PDW2FDE | pFde, | ||
ULONG | FunctionStart | ||
) |
Definition at line 390 of file rsym64.c.
Referenced by GeneratePData().
void WriteOutFile | ( | FILE * | handle, |
PFILE_INFO | File | ||
) |
Definition at line 637 of file rsym64.c.
Referenced by main().
ULONG g_ehframep |
Definition at line 10 of file rsym64.c.
Referenced by DwExecIntruction(), and GeneratePData().
struct { ... } regs[] |
Referenced by AtapiInterrupt__(), DwExecIntruction(), get_processor_caption(), get_processor_id(), get_processor_manufacturer(), get_processor_name(), get_processor_revision(), get_processor_version(), IdeSendCommand(), IdeSendSmartCommand(), regs_to_str(), StoreUnwindCodes(), UniataAhciSendPIOCommandDirect(), UniataAhciSetupFIS_H2D_Direct(), UniataAhciSnapAtaRegs(), UniataSnapAtaRegs(), and xdr_pmap().