33 DPRINT1(
"Image doesn't have a valid DOS header\n");
42 DPRINT1(
"Image doesn't have a valid PE header\n");
49 - (
char *) ImageStart))
51 DPRINT1(
"Image doesn't have valid section headers\n");
59 RosSymSectionFound =
TRUE;
65 if (!RosSymSectionFound)
72 if (ImageSize < SectionHeader->PointerToRawData + SectionHeader->
SizeOfRawData
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
char * strncpy(char *DstString, const char *SrcString, ACPI_SIZE Count)
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
struct _IMAGE_DOS_HEADER * PIMAGE_DOS_HEADER
#define IMAGE_FIRST_SECTION(NtHeader)
#define IMAGE_SIZEOF_SHORT_NAME
BOOLEAN RosSymCreateFromMem(PVOID ImageStart, ULONG_PTR ImageSize, PROSSYM_INFO *RosSymInfo)
#define ROSSYM_IS_VALID_NT_HEADERS(NtHeaders)
#define ROSSYM_IS_VALID_DOS_HEADER(DosHeader)
#define ROSSYM_SECTION_NAME
BOOLEAN RosSymCreateFromRaw(PVOID RawData, ULONG_PTR DataSize, PROSSYM_INFO *RosSymInfo)