#include "precomp.h"
#include <ntsecapi.h>
Go to the source code of this file.
◆ START_TEST()
Definition at line 96 of file RtlEncryptMemory.c.
97{
99 PSTR CommandLine, Param;
101
102
104 Param =
strstr(CommandLine,
"-cp");
106 {
108 return;
109 }
110
114
117
120}
void TestCrossProcessDecrypt(PSTR Param)
void TestEncrypt(ULONG OptionFlags)
void TestCrossProcessEncrypt(ULONG OptionFlags)
char * strstr(char *String1, char *String2)
#define ok_ntstatus(status, expected)
LPSTR WINAPI GetCommandLineA(VOID)
#define RTL_ENCRYPT_OPTION_SAME_LOGON
#define RTL_ENCRYPT_OPTION_SAME_PROCESS
#define RTL_ENCRYPT_OPTION_CROSS_PROCESS
#define STATUS_INVALID_PARAMETER
◆ TestCrossProcessDecrypt()
void TestCrossProcessDecrypt |
( |
PSTR |
Param | ) |
|
Definition at line 43 of file RtlEncryptMemory.c.
44{
50
52
53
54 StrData = Param + 5;
56 {
60 }
61
62
66}
#define ok_int(expression, result)
GLint GLint GLint GLint GLint x
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_ _CRTIMP int __cdecl sscanf(_In_z_ const char *_Src, _In_z_ _Scanf_format_string_ const char *_Format,...)
#define RtlEqualMemory(dst, src, len)
Referenced by START_TEST().
◆ TestCrossProcessEncrypt()
void TestCrossProcessEncrypt |
( |
ULONG |
OptionFlags | ) |
|
Definition at line 68 of file RtlEncryptMemory.c.
69{
76
77
81
82
83 sprintf(
CmdLine,
"advapi32_apitest.exe RtlEncryptMemory -cp%lu:", OptionFlags);
85
86
88 {
90 }
91
94}
ACPI_SIZE strlen(const char *String)
static const WCHAR CmdLine[]
#define sprintf(buf, format,...)
int __cdecl system(_In_opt_z_ const char *_Command)
#define RtlCopyMemory(Destination, Source, Length)
Referenced by START_TEST().
◆ TestEncrypt()
Definition at line 14 of file RtlEncryptMemory.c.
15{
18
19
23
24
33
41}
#define DECLSPEC_ALIGN(x)
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList
Referenced by START_TEST().
◆ TestData