Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files5
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispMpLogger.h
Text · 1,735 bytes/* $Id: VBoxDispMpLogger.h $ */
/** @file
* VBox WDDM Display backdoor logger API
*/
/*
* Copyright (C) 2012-2020 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* you can redistribute it and/or modify it under the terms of the GNU
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
/* We're unable to use standard r3 vbgl-based backdoor logging API because win8 Metro apps
* can not do CreateFile/Read/Write by default
* this is why we use miniport escape functionality to issue backdoor log string to the miniport
* and submit it to host via standard r0 backdoor logging api accordingly */
#ifndef GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_wddm_shared_VBoxDispMpLogger_h
#define GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_wddm_shared_VBoxDispMpLogger_h
#ifndef RT_WITHOUT_PRAGMA_ONCE
# pragma once
#endif
#include <iprt/cdefs.h>
/*enable this in case we include this in a static lib*/
# define VBOXDISPMPLOGGER_DECL(a_Type) a_Type RTCALL
RT_C_DECLS_BEGIN
VBOXDISPMPLOGGER_DECL(int) VBoxDispMpLoggerInit(void);
VBOXDISPMPLOGGER_DECL(int) VBoxDispMpLoggerTerm(void);
VBOXDISPMPLOGGER_DECL(void) VBoxDispMpLoggerLog(const char *pszString);
VBOXDISPMPLOGGER_DECL(void) VBoxDispMpLoggerLogF(const char *pszString, ...);
DECLCALLBACK(void) VBoxWddmUmLog(const char *pszString);
RT_C_DECLS_END
#endif /* !GA_INCLUDED_SRC_WINNT_Graphics_Video_disp_wddm_shared_VBoxDispMpLogger_h */