ReactOS 0.4.16-dev-92-g0c2cdca
|
Go to the source code of this file.
Classes | |
struct | _SECTION_CONTENTS_IMAGE_FILE |
struct | _RAW_SIZE_IMAGE_FILE |
Macros | |
#define | BYTES4(x) x, x, x, x |
#define | BYTES8(x) BYTES4(x), BYTES4(x) |
#define | BYTES16(x) BYTES8(x), BYTES8(x) |
#define | BYTES32(x) BYTES16(x), BYTES16(x) |
#define | BYTES64(x) BYTES32(x), BYTES32(x) |
#define | BYTES128(x) BYTES64(x), BYTES64(x) |
#define | BYTES256(x) BYTES128(x), BYTES128(x) |
#define | BYTES512(x) BYTES256(x), BYTES256(x) |
#define | BYTES1024(x) BYTES512(x), BYTES512(x) |
#define | TEST_BYTE(n, v) StartSeh() ok_hex(Bytes[n], v); EndSeh(STATUS_SUCCESS); |
#define | TEST_WRITE(n) StartSeh() *(volatile UCHAR *)&Bytes[n] = Bytes[n]; EndSeh(STATUS_SUCCESS); |
#define | TEST_NOWRITE(n) StartSeh() *(volatile UCHAR *)&Bytes[n] = Bytes[n]; EndSeh(STATUS_ACCESS_VIOLATION); |
#define | TEST_BYTE(n, v) |
Functions | |
void | Test_PageFileSection (void) |
void | Test_ImageSection (void) |
void | Test_ImageSection2 (void) |
void | Test_BasedSection (void) |
C_ASSERT (FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, text_data)==0x400) | |
C_ASSERT (FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, rossym_data)==0x800) | |
C_ASSERT (FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, rsrc_data)==0xc00) | |
C_ASSERT (FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, clc_data)==0x1000) | |
static void | Test_SectionContents (BOOL Relocate) |
C_ASSERT (FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, text_data)==0x400) | |
C_ASSERT (FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, data_data)==0x1600) | |
C_ASSERT (FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, rsrc_data)==0x2800) | |
static void | Test_RawSize (ULONG TestNumber) |
static void | Test_EmptyFile (VOID) |
static void | Test_Truncate (VOID) |
START_TEST (NtMapViewOfSection) | |
Variables | |
static struct _SECTION_CONTENTS_IMAGE_FILE | SectionContentsImageFile |
static struct _RAW_SIZE_IMAGE_FILE | RawSizeImageFile |
Definition at line 1168 of file NtMapViewOfSection.c.
Definition at line 1166 of file NtMapViewOfSection.c.
Definition at line 1167 of file NtMapViewOfSection.c.
#define TEST_NOWRITE | ( | n | ) | StartSeh() *(volatile UCHAR *)&Bytes[n] = Bytes[n]; EndSeh(STATUS_ACCESS_VIOLATION); |
C_ASSERT | ( | FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, data_data) | = =0x1600 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, rsrc_data) | = =0x2800 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _RAW_SIZE_IMAGE_FILE, text_data) | = =0x400 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, clc_data) | = =0x1000 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, rossym_data) | = =0x800 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, rsrc_data) | = =0xc00 | ) |
C_ASSERT | ( | FIELD_OFFSET(struct _SECTION_CONTENTS_IMAGE_FILE, text_data) | = =0x400 | ) |
START_TEST | ( | NtMapViewOfSection | ) |
Definition at line 2015 of file NtMapViewOfSection.c.
Definition at line 1085 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 1874 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 733 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 1000 of file NtMapViewOfSection.c.
Definition at line 14 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 1716 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 1370 of file NtMapViewOfSection.c.
Referenced by START_TEST().
Definition at line 1922 of file NtMapViewOfSection.c.
Referenced by START_TEST().
|
static |
Referenced by Test_RawSize().
|
static |
Referenced by Test_SectionContents().