VirtualBox

source: vbox/trunk/src/VBox/Runtime/VBox/VBoxRTDeps.cpp

Last change on this file was 104319, checked in by vboxsync, 5 weeks ago

libs/libxml-2.12.6: Disable features not relevant for us, bugref:10654 [missing file]

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Revision
File size: 4.9 KB
Line 
1/* $Id: VBoxRTDeps.cpp 104319 2024-04-12 14:42:45Z vboxsync $ */
2/** @file
3 * IPRT - VBoxRT.dll/so dependencies.
4 */
5
6/*
7 * Copyright (C) 2006-2023 Oracle and/or its affiliates.
8 *
9 * This file is part of VirtualBox base platform packages, as
10 * available from https://www.virtualbox.org.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation, in version 3 of the
15 * License.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, see <https://www.gnu.org/licenses>.
24 *
25 * The contents of this file may alternatively be used under the terms
26 * of the Common Development and Distribution License Version 1.0
27 * (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
28 * in the VirtualBox distribution, in which case the provisions of the
29 * CDDL are applicable instead of those of the GPL.
30 *
31 * You may elect to license modified versions of this file under the
32 * terms and conditions of either the GPL or the CDDL or both.
33 *
34 * SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
35 */
36
37
38/*********************************************************************************************************************************
39* Header Files *
40*********************************************************************************************************************************/
41#include <VBox/sup.h>
42#include <iprt/asm.h>
43#include <iprt/assert.h>
44#include <iprt/localipc.h>
45#include <iprt/buildconfig.h>
46#include <iprt/system.h>
47
48#include <libxml/tree.h>
49#ifdef RT_OS_WINDOWS
50# include <iprt/win/windows.h>
51#endif
52#include "internal/openssl-pre.h"
53#include <openssl/md5.h>
54#include <openssl/rc4.h>
55#include <openssl/pem.h> /* drags in Windows.h */
56#include <openssl/x509.h>
57#include <openssl/rsa.h>
58#include <openssl/ssl.h>
59#include <openssl/rand.h>
60#include <openssl/aes.h>
61#include "internal/openssl-post.h"
62
63
64/*********************************************************************************************************************************
65* Global Variables *
66*********************************************************************************************************************************/
67struct CLANG11NONSENSE { PFNRT pfn; } g_VBoxRTDeps[] =
68{
69 { (PFNRT)SUPR3Init },
70 { (PFNRT)SUPR3PageAllocEx },
71 { (PFNRT)SUPR3LoadVMM },
72 { (PFNRT)SUPSemEventCreate },
73 { (PFNRT)SUPIsTscFreqCompatibleEx },
74#if defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)
75 { (PFNRT)SUPTracerFireProbe }, /** @todo port me @bugref{9898} ? */
76 { (PFNRT)SUPGetTscDeltaSlow },
77#endif
78 { (PFNRT)xmlNewDocComment },
79 { (PFNRT)RTLocalIpcServerCreate },
80 { (PFNRT)MD5_Init },
81 { (PFNRT)RC4 },
82 { (PFNRT)RC4_set_key },
83 { (PFNRT)PEM_read_bio_X509 },
84 { (PFNRT)PEM_read_bio_PrivateKey },
85 { (PFNRT)X509_free },
86 { (PFNRT)X509_verify_cert_error_string },
87 { (PFNRT)i2d_X509 },
88 { (PFNRT)i2d_X509 },
89 { (PFNRT)i2d_PublicKey },
90 { (PFNRT)DH_generate_parameters_ex }, /* gsoap */
91 { (PFNRT)DH_new }, /* gsoap */
92#if OPENSSL_VERSION_NUMBER >= 0x10100000
93 { (PFNRT)OpenSSL_version_num }, /* gsoap */
94 { (PFNRT)ASN1_STRING_get0_data }, /* gsoap */
95#endif
96#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
97 { (PFNRT)RSA_generate_key }, /* gsoap */
98#endif
99 { (PFNRT)RSA_generate_key_ex },
100#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) || defined(OPENSSL_MANGLER)
101 { (PFNRT)DH_generate_parameters }, /* gsoap */
102#endif
103 { (PFNRT)DH_generate_parameters_ex },
104 { (PFNRT)RAND_load_file },
105#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
106 { (PFNRT)CRYPTO_set_dynlock_create_callback },
107 { (PFNRT)CRYPTO_set_dynlock_lock_callback },
108 { (PFNRT)CRYPTO_set_dynlock_destroy_callback },
109#endif
110 { (PFNRT)RTAssertShouldPanic },
111 { (PFNRT)ASMAtomicReadU64 },
112 { (PFNRT)ASMAtomicCmpXchgU64 },
113 { (PFNRT)ASMBitFirstSet },
114 { (PFNRT)RTBldCfgRevision },
115 { (PFNRT)SSL_free },
116#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
117 { (PFNRT)SSL_library_init },
118 { (PFNRT)SSL_load_error_strings },
119#endif
120 { (PFNRT)SSL_CTX_free },
121 { (PFNRT)SSL_CTX_use_certificate_file },
122 { (PFNRT)SSLv23_method },
123#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER)
124 { (PFNRT)TLSv1_server_method },
125#endif
126 { (PFNRT)AES_ofb128_encrypt }, /* libtpms */
127 { NULL }
128};
129
Note: See TracBrowser for help on using the repository browser.

© 2023 Oracle
ContactPrivacy policyTerms of Use