mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:35:53 +00:00
[LDR] Initial verifier implementation
This commit is contained in:
parent
ad8a2edd85
commit
60a1006d0f
6 changed files with 719 additions and 40 deletions
|
@ -20,17 +20,6 @@ ULONG LdrpNormalSnap;
|
|||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
AVrfPageHeapDllNotification(IN PLDR_DATA_TABLE_ENTRY LdrEntry)
|
||||
{
|
||||
/* Check if page heap dll notification is turned on */
|
||||
if (!(RtlpDphGlobalFlags & DPH_FLAG_DLL_NOTIFY))
|
||||
return;
|
||||
|
||||
/* We don't support this flag currently */
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
NTSTATUS
|
||||
NTAPI
|
||||
|
@ -795,10 +784,9 @@ LdrpWalkImportDescriptor(IN LPWSTR DllPath OPTIONAL,
|
|||
}
|
||||
|
||||
/* Check if Application Verifier was enabled */
|
||||
if (Peb->NtGlobalFlag & FLG_HEAP_ENABLE_TAIL_CHECK)
|
||||
if (Peb->NtGlobalFlag & FLG_APPLICATION_VERIFIER)
|
||||
{
|
||||
/* FIXME */
|
||||
DPRINT1("We don't support Application Verifier yet!\n");
|
||||
AVrfDllLoadNotification(LdrEntry);
|
||||
}
|
||||
|
||||
/* Just to be safe */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue