| 1 | /* |
| 2 | * Copyright 2018 Red Hat Inc., Durham, North Carolina. |
| 3 | * All Rights Reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | * Authors: |
| 20 | * "Jan Černý" <[email protected]> |
| 21 | */ |
| 22 | |
| 23 | #ifdef HAVE_CONFIG_Hcxx . . $ `<built-in>:409:9`! |
| 24 | #include <config.h>cxx . . $ `<file>/build/config.h`/ |
| 25 | #endif |
| 26 | |
| 27 | #include "probe-table.h"cxx . . $ `<file>/src/OVAL/probes/public/probe-table.h`/ |
| 28 | #include "oval_types.h"cxx . . $ `<file>/src/OVAL/public/oval_types.h`/ |
| 29 | |
| 30 | #ifdef OPENSCAP_PROBE_INDEPENDENT_ENVIRONMENTVARIABLEcxx . . $ `build/config.h:89:9`! |
| 31 | #include "independent/environmentvariable_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/environmentvariable_probe.h`/ |
| 32 | #endif |
| 33 | |
| 34 | #ifdef OPENSCAP_PROBE_INDEPENDENT_ENVIRONMENTVARIABLE58cxx . . $ `build/config.h:90:9`! |
| 35 | #include "independent/environmentvariable58_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/environmentvariable58_probe.h`/ |
| 36 | #endif |
| 37 | |
| 38 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FAMILYcxx . . $ `build/config.h:91:9`! |
| 39 | #include "independent/family_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/family_probe.h`/ |
| 40 | #endif |
| 41 | |
| 42 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FILEHASH |
| 43 | #include "independent/filehash_probe.h" |
| 44 | #endif |
| 45 | |
| 46 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FILEHASH58cxx . . $ `build/config.h:93:9`! |
| 47 | #include "independent/filehash58_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/filehash58_probe.h`/ |
| 48 | #endif |
| 49 | |
| 50 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SQL |
| 51 | #include "independent/sql_probe.h" |
| 52 | #endif |
| 53 | |
| 54 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SQL57 |
| 55 | #include "independent/sql57_probe.h" |
| 56 | #endif |
| 57 | |
| 58 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SYSTEM_INFOcxx . . $ `build/config.h:96:9`! |
| 59 | #include "independent/system_info_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/system_info_probe.h`/ |
| 60 | #endif |
| 61 | |
| 62 | #ifdef OPENSCAP_PROBE_INDEPENDENT_TEXTFILECONTENTcxx . . $ `build/config.h:97:9`! |
| 63 | #include "independent/textfilecontent_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/textfilecontent_probe.h`/ |
| 64 | #endif |
| 65 | |
| 66 | #ifdef OPENSCAP_PROBE_INDEPENDENT_TEXTFILECONTENT54cxx . . $ `build/config.h:98:9`! |
| 67 | #include "independent/textfilecontent54_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/textfilecontent54_probe.h`/ |
| 68 | #endif |
| 69 | |
| 70 | #ifdef OPENSCAP_PROBE_INDEPENDENT_VARIABLEcxx . . $ `build/config.h:99:9`! |
| 71 | #include "independent/variable_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/variable_probe.h`/ |
| 72 | #endif |
| 73 | |
| 74 | #ifdef OPENSCAP_PROBE_INDEPENDENT_XMLFILECONTENTcxx . . $ `build/config.h:100:9`! |
| 75 | #include "independent/xmlfilecontent_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/xmlfilecontent_probe.h`/ |
| 76 | #endif |
| 77 | |
| 78 | #ifdef OPENSCAP_PROBE_INDEPENDENT_YAMLFILECONTENTcxx . . $ `build/config.h:101:9`! |
| 79 | #include "independent/yamlfilecontent_probe.h"cxx . . $ `<file>/src/OVAL/probes/independent/yamlfilecontent_probe.h`/ |
| 80 | #endif |
| 81 | |
| 82 | #ifdef OPENSCAP_PROBE_LINUX_DPKGINFOcxx . . $ `build/config.h:102:9`! |
| 83 | #include "unix/linux/dpkginfo_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/dpkginfo_probe.h`/ |
| 84 | #endif |
| 85 | |
| 86 | #ifdef OPENSCAP_PROBE_LINUX_IFLISTENERScxx . . $ `build/config.h:103:9`! |
| 87 | #include "unix/linux/iflisteners_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/iflisteners_probe.h`/ |
| 88 | #endif |
| 89 | |
| 90 | #ifdef OPENSCAP_PROBE_LINUX_INETLISTENINGSERVERScxx . . $ `build/config.h:104:9`! |
| 91 | #include "unix/linux/inetlisteningservers_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/inetlisteningservers_probe.h`/ |
| 92 | #endif |
| 93 | |
| 94 | #ifdef OPENSCAP_PROBE_LINUX_PARTITIONcxx . . $ `build/config.h:105:9`! |
| 95 | #include "unix/linux/partition_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/partition_probe.h`/ |
| 96 | #endif |
| 97 | |
| 98 | #ifdef OPENSCAP_PROBE_LINUX_RPMINFOcxx . . $ `build/config.h:106:9`! |
| 99 | #include "unix/linux/rpminfo_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/rpminfo_probe.h`/ |
| 100 | #endif |
| 101 | |
| 102 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYcxx . . $ `build/config.h:107:9`! |
| 103 | #include "unix/linux/rpmverify_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/rpmverify_probe.h`/ |
| 104 | #endif |
| 105 | |
| 106 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYFILEcxx . . $ `build/config.h:108:9`! |
| 107 | #include "unix/linux/rpmverifyfile_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/rpmverifyfile_probe.h`/ |
| 108 | #endif |
| 109 | |
| 110 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYPACKAGEcxx . . $ `build/config.h:109:9`! |
| 111 | #include "unix/linux/rpmverifypackage_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/rpmverifypackage_probe.h`/ |
| 112 | #endif |
| 113 | |
| 114 | #ifdef OPENSCAP_PROBE_LINUX_SELINUXBOOLEANcxx . . $ `build/config.h:110:9`! |
| 115 | #include "unix/linux/selinuxboolean_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/selinuxboolean_probe.h`/ |
| 116 | #endif |
| 117 | |
| 118 | #ifdef OPENSCAP_PROBE_LINUX_SELINUXSECURITYCONTEXTcxx . . $ `build/config.h:111:9`! |
| 119 | #include "unix/linux/selinuxsecuritycontext_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/selinuxsecuritycontext_probe.h`/ |
| 120 | #endif |
| 121 | |
| 122 | #ifdef OPENSCAP_PROBE_LINUX_SYSTEMDUNITDEPENDENCYcxx . . $ `build/config.h:112:9`! |
| 123 | #include "unix/linux/systemdunitdependency_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/systemdunitdependency_probe.h`/ |
| 124 | #endif |
| 125 | |
| 126 | #ifdef OPENSCAP_PROBE_LINUX_SYSTEMDUNITPROPERTYcxx . . $ `build/config.h:113:9`! |
| 127 | #include "unix/linux/systemdunitproperty_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/systemdunitproperty_probe.h`/ |
| 128 | #endif |
| 129 | |
| 130 | #ifdef OPENSCAP_PROBE_LINUX_FWUPDSECURITYATTRcxx . . $ `build/config.h:114:9`! |
| 131 | #include "unix/linux/fwupdsecattr_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/linux/fwupdsecattr_probe.h`/ |
| 132 | #endif |
| 133 | |
| 134 | #ifdef OPENSCAP_PROBE_SOLARIS_ISAINFO |
| 135 | #include "unix/solaris/isainfo_probe.h" |
| 136 | #endif |
| 137 | |
| 138 | #ifdef OPENSCAP_PROBE_UNIX_DNSCACHEcxx . . $ `build/config.h:116:9`! |
| 139 | #include "unix/dnscache_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/dnscache_probe.h`/ |
| 140 | #endif |
| 141 | |
| 142 | #ifdef OPENSCAP_PROBE_UNIX_FILEcxx . . $ `build/config.h:117:9`! |
| 143 | #include "unix/file_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/file_probe.h`/ |
| 144 | #endif |
| 145 | |
| 146 | #ifdef OPENSCAP_PROBE_UNIX_FILEEXTENDEDATTRIBUTEcxx . . $ `build/config.h:118:9`! |
| 147 | #include "unix/fileextendedattribute_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/fileextendedattribute_probe.h`/ |
| 148 | #endif |
| 149 | |
| 150 | #ifdef OPENSCAP_PROBE_UNIX_GCONF |
| 151 | #include "unix/gconf_probe.h" |
| 152 | #endif |
| 153 | |
| 154 | #ifdef OPENSCAP_PROBE_UNIX_INTERFACEcxx . . $ `build/config.h:120:9`! |
| 155 | #include "unix/interface_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/interface_probe.h`/ |
| 156 | #endif |
| 157 | |
| 158 | #ifdef OPENSCAP_PROBE_UNIX_PASSWORDcxx . . $ `build/config.h:121:9`! |
| 159 | #include "unix/password_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/password_probe.h`/ |
| 160 | #endif |
| 161 | |
| 162 | #ifdef OPENSCAP_PROBE_UNIX_PROCESScxx . . $ `build/config.h:122:9`! |
| 163 | #include "unix/process_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/process_probe.h`/ |
| 164 | #endif |
| 165 | |
| 166 | #ifdef OPENSCAP_PROBE_UNIX_PROCESS58cxx . . $ `build/config.h:123:9`! |
| 167 | #include "unix/process58_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/process58_probe.h`/ |
| 168 | #endif |
| 169 | |
| 170 | #ifdef OPENSCAP_PROBE_UNIX_ROUTINGTABLEcxx . . $ `build/config.h:124:9`! |
| 171 | #include "unix/routingtable_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/routingtable_probe.h`/ |
| 172 | #endif |
| 173 | |
| 174 | #ifdef OPENSCAP_PROBE_UNIX_RUNLEVELcxx . . $ `build/config.h:125:9`! |
| 175 | #include "unix/runlevel_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/runlevel_probe.h`/ |
| 176 | #endif |
| 177 | |
| 178 | #ifdef OPENSCAP_PROBE_UNIX_SHADOWcxx . . $ `build/config.h:126:9`! |
| 179 | #include "unix/shadow_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/shadow_probe.h`/ |
| 180 | #endif |
| 181 | |
| 182 | #ifdef OPENSCAP_PROBE_UNIX_SYMLINKcxx . . $ `build/config.h:127:9`! |
| 183 | #include "unix/symlink_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/symlink_probe.h`/ |
| 184 | #endif |
| 185 | |
| 186 | #ifdef OPENSCAP_PROBE_UNIX_SYSCTLcxx . . $ `build/config.h:128:9`! |
| 187 | #include "unix/sysctl_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/sysctl_probe.h`/ |
| 188 | #endif |
| 189 | |
| 190 | #ifdef OPENSCAP_PROBE_UNIX_UNAMEcxx . . $ `build/config.h:129:9`! |
| 191 | #include "unix/uname_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/uname_probe.h`/ |
| 192 | #endif |
| 193 | |
| 194 | #ifdef OPENSCAP_PROBE_UNIX_XINETDcxx . . $ `build/config.h:130:9`! |
| 195 | #include "unix/xinetd_probe.h"cxx . . $ `<file>/src/OVAL/probes/unix/xinetd_probe.h`/ |
| 196 | #endif |
| 197 | |
| 198 | #ifdef OPENSCAP_PROBE_WINDOWS_ACCESSTOKEN |
| 199 | #include "windows/accesstoken_probe.h" |
| 200 | #endif |
| 201 | |
| 202 | #ifdef OPENSCAP_PROBE_WINDOWS_REGISTRY |
| 203 | #include "windows/registry_probe.h" |
| 204 | #endif |
| 205 | |
| 206 | #ifdef OPENSCAP_PROBE_WINDOWS_WMI57 |
| 207 | #include "windows/wmi57_probe.h" |
| 208 | #endif |
| 209 | |
| 210 | typedef struct probe_table_entrycxx . . $ probe_table_entry# { |
| 211 | oval_subtype_tcxx . . $ oval_subtype_t# typecxx . . $ probe_table_entry#type.; |
| 212 | probe_init_function_tcxx . . $ probe_init_function_t# probe_init_functioncxx . . $ probe_table_entry#probe_init_function.; |
| 213 | probe_main_function_tcxx . . $ probe_main_function_t# probe_main_functioncxx . . $ probe_table_entry#probe_main_function.; |
| 214 | probe_fini_function_tcxx . . $ probe_fini_function_t# probe_fini_functioncxx . . $ probe_table_entry#probe_fini_function.; |
| 215 | probe_offline_mode_function_tcxx . . $ probe_offline_mode_function_t# probe_offline_mode_functioncxx . . $ probe_table_entry#probe_offline_mode_function.; |
| 216 | } probe_table_entry_tcxx . . $ probe_table_entry_t#; |
| 217 | |
| 218 | static const probe_table_entry_tcxx . . $ probe_table_entry_t# probe_tablecxx . . $ probe_table.[] = { |
| 219 | /* {type, init, main, fini, offline} */ |
| 220 | #ifdef OPENSCAP_PROBE_INDEPENDENT_ENVIRONMENTVARIABLEcxx . . $ `build/config.h:89:9`! |
| 221 | {OVAL_INDEPENDENT_ENVIRONMENT_VARIABLEcxx . . $ OVAL_INDEPENDENT_ENVIRONMENT_VARIABLE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, environmentvariable_probe_maincxx . . $ environmentvariable_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 222 | #endif |
| 223 | #ifdef OPENSCAP_PROBE_INDEPENDENT_ENVIRONMENTVARIABLE58cxx . . $ `build/config.h:90:9`! |
| 224 | {OVAL_INDEPENDENT_ENVIRONMENT_VARIABLE58cxx . . $ OVAL_INDEPENDENT_ENVIRONMENT_VARIABLE58., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, environmentvariable58_probe_maincxx . . $ environmentvariable58_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, environmentvariable58_probe_offline_mode_supportedcxx . . $ environmentvariable58_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 225 | #endif |
| 226 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FAMILYcxx . . $ `build/config.h:91:9`! |
| 227 | {OVAL_INDEPENDENT_FAMILYcxx . . $ OVAL_INDEPENDENT_FAMILY., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, family_probe_maincxx . . $ family_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, family_probe_offline_mode_supportedcxx . . $ family_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 228 | #endif |
| 229 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FILEHASH |
| 230 | {OVAL_INDEPENDENT_FILE_HASH, filehash_probe_init, filehash_probe_main, filehash_probe_fini, filehash_probe_offline_mode_supported}, |
| 231 | #endif |
| 232 | #ifdef OPENSCAP_PROBE_INDEPENDENT_FILEHASH58cxx . . $ `build/config.h:93:9`! |
| 233 | {OVAL_INDEPENDENT_FILE_HASH58cxx . . $ OVAL_INDEPENDENT_FILE_HASH58., filehash58_probe_initcxx . . $ filehash58_probe_init(50c7df7de5344ebb)., filehash58_probe_maincxx . . $ filehash58_probe_main(470536d3ffacaf10)., filehash58_probe_finicxx . . $ filehash58_probe_fini(5d22bdacc48458e8)., filehash58_probe_offline_mode_supportedcxx . . $ filehash58_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 234 | #endif |
| 235 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SQL |
| 236 | {OVAL_INDEPENDENT_SQL, NULL, sql_probe_main, NULL, NULL}, |
| 237 | #endif |
| 238 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SQL57 |
| 239 | {OVAL_INDEPENDENT_SQL57, NULL, sql57_probe_main, NULL, NULL}, |
| 240 | #endif |
| 241 | #ifdef OPENSCAP_PROBE_INDEPENDENT_SYSTEM_INFOcxx . . $ `build/config.h:96:9`! |
| 242 | {OVAL_INDEPENDENT_SYSCHAR_SUBTYPEcxx . . $ OVAL_INDEPENDENT_SYSCHAR_SUBTYPE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, system_info_probe_maincxx . . $ system_info_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, system_info_probe_offline_mode_supportedcxx . . $ system_info_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 243 | #endif |
| 244 | #ifdef OPENSCAP_PROBE_INDEPENDENT_TEXTFILECONTENTcxx . . $ `build/config.h:97:9`! |
| 245 | {OVAL_INDEPENDENT_TEXT_FILE_CONTENTcxx . . $ OVAL_INDEPENDENT_TEXT_FILE_CONTENT., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, textfilecontent_probe_maincxx . . $ textfilecontent_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, textfilecontent_probe_offline_mode_supportedcxx . . $ textfilecontent_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 246 | #endif |
| 247 | #ifdef OPENSCAP_PROBE_INDEPENDENT_TEXTFILECONTENT54cxx . . $ `build/config.h:98:9`! |
| 248 | {OVAL_INDEPENDENT_TEXT_FILE_CONTENT_54cxx . . $ OVAL_INDEPENDENT_TEXT_FILE_CONTENT_54., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, textfilecontent54_probe_maincxx . . $ textfilecontent54_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, textfilecontent54_probe_offline_mode_supportedcxx . . $ textfilecontent54_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 249 | #endif |
| 250 | #ifdef OPENSCAP_PROBE_INDEPENDENT_VARIABLEcxx . . $ `build/config.h:99:9`! |
| 251 | {OVAL_INDEPENDENT_VARIABLEcxx . . $ OVAL_INDEPENDENT_VARIABLE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, variable_probe_maincxx . . $ variable_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, variable_probe_offline_mode_supportedcxx . . $ variable_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 252 | #endif |
| 253 | #ifdef OPENSCAP_PROBE_INDEPENDENT_XMLFILECONTENTcxx . . $ `build/config.h:100:9`! |
| 254 | {OVAL_INDEPENDENT_XML_FILE_CONTENTcxx . . $ OVAL_INDEPENDENT_XML_FILE_CONTENT., xmlfilecontent_probe_initcxx . . $ xmlfilecontent_probe_init(50c7df7de5344ebb)., xmlfilecontent_probe_maincxx . . $ xmlfilecontent_probe_main(470536d3ffacaf10)., xmlfilecontent_probe_finicxx . . $ xmlfilecontent_probe_fini(5d22bdacc48458e8)., xmlfilecontent_probe_offline_mode_supportedcxx . . $ xmlfilecontent_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 255 | #endif |
| 256 | #ifdef OPENSCAP_PROBE_INDEPENDENT_YAMLFILECONTENTcxx . . $ `build/config.h:101:9`! |
| 257 | {OVAL_INDEPENDENT_YAML_FILE_CONTENTcxx . . $ OVAL_INDEPENDENT_YAML_FILE_CONTENT., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, yamlfilecontent_probe_maincxx . . $ yamlfilecontent_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, yamlfilecontent_probe_offline_mode_supportedcxx . . $ yamlfilecontent_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 258 | #endif |
| 259 | #ifdef OPENSCAP_PROBE_LINUX_DPKGINFOcxx . . $ `build/config.h:102:9`! |
| 260 | {OVAL_LINUX_DPKG_INFOcxx . . $ OVAL_LINUX_DPKG_INFO., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, dpkginfo_probe_maincxx . . $ dpkginfo_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, dpkginfo_probe_offline_mode_supportedcxx . . $ dpkginfo_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 261 | #endif |
| 262 | #ifdef OPENSCAP_PROBE_LINUX_IFLISTENERScxx . . $ `build/config.h:103:9`! |
| 263 | {OVAL_LINUX_IFLISTENERScxx . . $ OVAL_LINUX_IFLISTENERS., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, iflisteners_probe_maincxx . . $ iflisteners_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 264 | #endif |
| 265 | #ifdef OPENSCAP_PROBE_LINUX_INETLISTENINGSERVERScxx . . $ `build/config.h:104:9`! |
| 266 | {OVAL_LINUX_INET_LISTENING_SERVERScxx . . $ OVAL_LINUX_INET_LISTENING_SERVERS., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, inetlisteningservers_probe_maincxx . . $ inetlisteningservers_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 267 | #endif |
| 268 | #ifdef OPENSCAP_PROBE_LINUX_PARTITIONcxx . . $ `build/config.h:105:9`! |
| 269 | {OVAL_LINUX_PARTITIONcxx . . $ OVAL_LINUX_PARTITION., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, partition_probe_maincxx . . $ partition_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, patition_probe_offline_mode_supportedcxx . . $ patition_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 270 | #endif |
| 271 | #ifdef OPENSCAP_PROBE_LINUX_RPMINFOcxx . . $ `build/config.h:106:9`! |
| 272 | {OVAL_LINUX_RPM_INFOcxx . . $ OVAL_LINUX_RPM_INFO., rpminfo_probe_initcxx . . $ rpminfo_probe_init(50c7df7de5344ebb)., rpminfo_probe_maincxx . . $ rpminfo_probe_main(470536d3ffacaf10)., rpminfo_probe_finicxx . . $ rpminfo_probe_fini(5d22bdacc48458e8)., rpminfo_probe_offline_mode_supportedcxx . . $ rpminfo_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 273 | #endif |
| 274 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYcxx . . $ `build/config.h:107:9`! |
| 275 | {OVAL_LINUX_RPMVERIFYcxx . . $ OVAL_LINUX_RPMVERIFY., rpmverify_probe_initcxx . . $ rpmverify_probe_init(50c7df7de5344ebb)., rpmverify_probe_maincxx . . $ rpmverify_probe_main(470536d3ffacaf10)., rpmverify_probe_finicxx . . $ rpmverify_probe_fini(5d22bdacc48458e8)., rpmverify_probe_offline_mode_supportedcxx . . $ rpmverify_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 276 | #endif |
| 277 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYFILEcxx . . $ `build/config.h:108:9`! |
| 278 | {OVAL_LINUX_RPMVERIFYFILEcxx . . $ OVAL_LINUX_RPMVERIFYFILE., rpmverifyfile_probe_initcxx . . $ rpmverifyfile_probe_init(50c7df7de5344ebb)., rpmverifyfile_probe_maincxx . . $ rpmverifyfile_probe_main(470536d3ffacaf10)., rpmverifyfile_probe_finicxx . . $ rpmverifyfile_probe_fini(5d22bdacc48458e8)., rpmverifyfile_probe_offline_mode_supportedcxx . . $ rpmverifyfile_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 279 | #endif |
| 280 | #ifdef OPENSCAP_PROBE_LINUX_RPMVERIFYPACKAGEcxx . . $ `build/config.h:109:9`! |
| 281 | {OVAL_LINUX_RPMVERIFYPACKAGEcxx . . $ OVAL_LINUX_RPMVERIFYPACKAGE., rpmverifypackage_probe_initcxx . . $ rpmverifypackage_probe_init(50c7df7de5344ebb)., rpmverifypackage_probe_maincxx . . $ rpmverifypackage_probe_main(470536d3ffacaf10)., rpmverifypackage_probe_finicxx . . $ rpmverifypackage_probe_fini(5d22bdacc48458e8)., rpmverifypackage_probe_offline_mode_supportedcxx . . $ rpmverifypackage_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 282 | #endif |
| 283 | #ifdef OPENSCAP_PROBE_LINUX_SELINUXBOOLEANcxx . . $ `build/config.h:110:9`! |
| 284 | {OVAL_LINUX_SELINUXBOOLEANcxx . . $ OVAL_LINUX_SELINUXBOOLEAN., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, selinuxboolean_probe_maincxx . . $ selinuxboolean_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, selinuxboolean_probe_offline_mode_supportedcxx . . $ selinuxboolean_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 285 | #endif |
| 286 | #ifdef OPENSCAP_PROBE_LINUX_SELINUXSECURITYCONTEXTcxx . . $ `build/config.h:111:9`! |
| 287 | {OVAL_LINUX_SELINUXSECURITYCONTEXTcxx . . $ OVAL_LINUX_SELINUXSECURITYCONTEXT., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, selinuxsecuritycontext_probe_maincxx . . $ selinuxsecuritycontext_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, selinuxsecuritycontext_probe_offline_mode_supportedcxx . . $ selinuxsecuritycontext_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 288 | #endif |
| 289 | #ifdef OPENSCAP_PROBE_LINUX_SYSTEMDUNITDEPENDENCYcxx . . $ `build/config.h:112:9`! |
| 290 | {OVAL_LINUX_SYSTEMDUNITDEPENDENCYcxx . . $ OVAL_LINUX_SYSTEMDUNITDEPENDENCY., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, systemdunitdependency_probe_maincxx . . $ systemdunitdependency_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, systemdunitdependency_probe_offline_mode_supportedcxx . . $ systemdunitdependency_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 291 | #endif |
| 292 | #ifdef OPENSCAP_PROBE_LINUX_SYSTEMDUNITPROPERTYcxx . . $ `build/config.h:113:9`! |
| 293 | {OVAL_LINUX_SYSTEMDUNITPROPERTYcxx . . $ OVAL_LINUX_SYSTEMDUNITPROPERTY., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, systemdunitproperty_probe_maincxx . . $ systemdunitproperty_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, systemdunitproperty_probe_offline_mode_supportedcxx . . $ systemdunitproperty_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 294 | #endif |
| 295 | #ifdef OPENSCAP_PROBE_LINUX_FWUPDSECURITYATTRcxx . . $ `build/config.h:114:9`! |
| 296 | {OVAL_LINUX_FWUPDSECATTRcxx . . $ OVAL_LINUX_FWUPDSECATTR., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, fwupdsecattr_probe_maincxx . . $ fwupdsecattr_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 297 | #endif |
| 298 | #ifdef OPENSCAP_PROBE_SOLARIS_ISAINFO |
| 299 | {OVAL_SOLARIS_ISAINFO, NULL, isainfo_probe_main, NULL, NULL}, |
| 300 | #endif |
| 301 | #ifdef OPENSCAP_PROBE_UNIX_DNSCACHEcxx . . $ `build/config.h:116:9`! |
| 302 | {OVAL_UNIX_DNSCACHEcxx . . $ OVAL_UNIX_DNSCACHE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, dnscache_probe_maincxx . . $ dnscache_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 303 | #endif |
| 304 | #ifdef OPENSCAP_PROBE_UNIX_FILEcxx . . $ `build/config.h:117:9`! |
| 305 | {OVAL_UNIX_FILEcxx . . $ OVAL_UNIX_FILE., file_probe_initcxx . . $ file_probe_init(50c7df7de5344ebb)., file_probe_maincxx . . $ file_probe_main(470536d3ffacaf10)., file_probe_finicxx . . $ file_probe_fini(5d22bdacc48458e8)., file_probe_offline_mode_supportedcxx . . $ file_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 306 | #endif |
| 307 | #ifdef OPENSCAP_PROBE_UNIX_FILEEXTENDEDATTRIBUTEcxx . . $ `build/config.h:118:9`! |
| 308 | {OVAL_UNIX_FILEEXTENDEDATTRIBUTEcxx . . $ OVAL_UNIX_FILEEXTENDEDATTRIBUTE., fileextendedattribute_probe_initcxx . . $ fileextendedattribute_probe_init(50c7df7de5344ebb)., fileextendedattribute_probe_maincxx . . $ fileextendedattribute_probe_main(470536d3ffacaf10)., fileextendedattribute_probe_finicxx . . $ fileextendedattribute_probe_fini(5d22bdacc48458e8)., fileextendedattribute_probe_offline_mode_supportedcxx . . $ fileextendedattribute_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 309 | #endif |
| 310 | #ifdef OPENSCAP_PROBE_UNIX_GCONF |
| 311 | {OVAL_UNIX_GCONF, NULL, gconf_probe_main, NULL, NULL}, |
| 312 | #endif |
| 313 | #ifdef OPENSCAP_PROBE_UNIX_INTERFACEcxx . . $ `build/config.h:120:9`! |
| 314 | {OVAL_UNIX_INTERFACEcxx . . $ OVAL_UNIX_INTERFACE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, interface_probe_maincxx . . $ interface_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 315 | #endif |
| 316 | #ifdef OPENSCAP_PROBE_UNIX_PASSWORDcxx . . $ `build/config.h:121:9`! |
| 317 | {OVAL_UNIX_PASSWORDcxx . . $ OVAL_UNIX_PASSWORD., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, password_probe_maincxx . . $ password_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, password_probe_offline_mode_supportedcxx . . $ password_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 318 | #endif |
| 319 | #ifdef OPENSCAP_PROBE_UNIX_PROCESScxx . . $ `build/config.h:122:9`! |
| 320 | {OVAL_UNIX_PROCESScxx . . $ OVAL_UNIX_PROCESS., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, process_probe_maincxx . . $ process_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 321 | #endif |
| 322 | #ifdef OPENSCAP_PROBE_UNIX_PROCESS58cxx . . $ `build/config.h:123:9`! |
| 323 | {OVAL_UNIX_PROCESS58cxx . . $ OVAL_UNIX_PROCESS58., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, process58_probe_maincxx . . $ process58_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, process58_probe_offline_mode_supportedcxx . . $ process58_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 324 | #endif |
| 325 | #ifdef OPENSCAP_PROBE_UNIX_ROUTINGTABLEcxx . . $ `build/config.h:124:9`! |
| 326 | {OVAL_UNIX_ROUTINGTABLEcxx . . $ OVAL_UNIX_ROUTINGTABLE., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, routingtable_probe_maincxx . . $ routingtable_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 327 | #endif |
| 328 | #ifdef OPENSCAP_PROBE_UNIX_RUNLEVELcxx . . $ `build/config.h:125:9`! |
| 329 | {OVAL_UNIX_RUNLEVELcxx . . $ OVAL_UNIX_RUNLEVEL., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, runlevel_probe_maincxx . . $ runlevel_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, runlevel_probe_offline_mode_supportedcxx . . $ runlevel_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 330 | #endif |
| 331 | #ifdef OPENSCAP_PROBE_UNIX_SHADOWcxx . . $ `build/config.h:126:9`! |
| 332 | {OVAL_UNIX_SHADOWcxx . . $ OVAL_UNIX_SHADOW., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, shadow_probe_maincxx . . $ shadow_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, shadow_probe_offline_mode_supportedcxx . . $ shadow_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 333 | #endif |
| 334 | #ifdef OPENSCAP_PROBE_UNIX_SYMLINKcxx . . $ `build/config.h:127:9`! |
| 335 | {OVAL_UNIX_SYMLINKcxx . . $ OVAL_UNIX_SYMLINK., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, symlink_probe_maincxx . . $ symlink_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, symlink_probe_offline_mode_supportedcxx . . $ symlink_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 336 | #endif |
| 337 | #ifdef OPENSCAP_PROBE_UNIX_SYSCTLcxx . . $ `build/config.h:128:9`! |
| 338 | {OVAL_UNIX_SYSCTLcxx . . $ OVAL_UNIX_SYSCTL., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, sysctl_probe_maincxx . . $ sysctl_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, sysctl_probe_offline_mode_supportedcxx . . $ sysctl_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 339 | #endif |
| 340 | #ifdef OPENSCAP_PROBE_UNIX_UNAMEcxx . . $ `build/config.h:129:9`! |
| 341 | {OVAL_UNIX_UNAMEcxx . . $ OVAL_UNIX_UNAME., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, uname_probe_maincxx . . $ uname_probe_main(470536d3ffacaf10)., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!}, |
| 342 | #endif |
| 343 | #ifdef OPENSCAP_PROBE_UNIX_XINETDcxx . . $ `build/config.h:130:9`! |
| 344 | {OVAL_UNIX_XINETDcxx . . $ OVAL_UNIX_XINETD., xinetd_probe_initcxx . . $ xinetd_probe_init(50c7df7de5344ebb)., xinetd_probe_maincxx . . $ xinetd_probe_main(470536d3ffacaf10)., xinetd_probe_finicxx . . $ xinetd_probe_fini(5d22bdacc48458e8)., xinetd_probe_offline_mode_supportedcxx . . $ xinetd_probe_offline_mode_supported(b126dc7c1de90089).}, |
| 345 | #endif |
| 346 | #ifdef OPENSCAP_PROBE_WINDOWS_ACCESSTOKEN |
| 347 | {OVAL_WINDOWS_ACCESS_TOKEN, NULL, accesstoken_probe_main, NULL, NULL}, |
| 348 | #endif |
| 349 | #ifdef OPENSCAP_PROBE_WINDOWS_REGISTRY |
| 350 | {OVAL_WINDOWS_REGISTRY, NULL, registry_probe_main, NULL, NULL}, |
| 351 | #endif |
| 352 | #ifdef OPENSCAP_PROBE_WINDOWS_WMI57 |
| 353 | {OVAL_WINDOWS_WMI_57, NULL, wmi57_probe_main, NULL, NULL}, |
| 354 | #endif |
| 355 | {OVAL_SUBTYPE_UNKNOWNcxx . . $ OVAL_SUBTYPE_UNKNOWN., NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!, NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`!} |
| 356 | }; |
| 357 | |
| 358 | static const probe_table_entry_tcxx . . $ probe_table_entry_t# *probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 359 | { |
| 360 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_tablecxx . . $ probe_table.; |
| 361 | while (entry->probe_main_functioncxx . . $ probe_table_entry#probe_main_function. != NULLcxx . . $ `/usr/lib/gcc/x86_64-linux-gnu/15/include/stddef.h:419:9`! && entry->typecxx . . $ probe_table_entry#type. != type) |
| 362 | { |
| 363 | entry++; |
| 364 | } |
| 365 | return entry; |
| 366 | } |
| 367 | |
| 368 | probe_init_function_tcxx . . $ probe_init_function_t# probe_table_get_init_functioncxx . . $ probe_table_get_init_function(8866a821235b0b2).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 369 | { |
| 370 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(type); |
| 371 | return entry->probe_init_functioncxx . . $ probe_table_entry#probe_init_function.; |
| 372 | } |
| 373 | |
| 374 | probe_main_function_tcxx . . $ probe_main_function_t# probe_table_get_main_functioncxx . . $ probe_table_get_main_function(4ab90c66680516dc).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 375 | { |
| 376 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(type); |
| 377 | return entry->probe_main_functioncxx . . $ probe_table_entry#probe_main_function.; |
| 378 | } |
| 379 | |
| 380 | probe_fini_function_tcxx . . $ probe_fini_function_t# probe_table_get_fini_functioncxx . . $ probe_table_get_fini_function(a6503bb9f69d5c62).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 381 | { |
| 382 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(type); |
| 383 | return entry->probe_fini_functioncxx . . $ probe_table_entry#probe_fini_function.; |
| 384 | } |
| 385 | |
| 386 | probe_offline_mode_function_tcxx . . $ probe_offline_mode_function_t# probe_table_get_offline_mode_functioncxx . . $ probe_table_get_offline_mode_function(9aeed2b37f3596a5).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 387 | { |
| 388 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(type); |
| 389 | return entry->probe_offline_mode_functioncxx . . $ probe_table_entry#probe_offline_mode_function.; |
| 390 | } |
| 391 | |
| 392 | void probe_table_listcxx . . $ probe_table_list(8d4262d45fc644ab).(FILEcxx . . $ FILE# *output) |
| 393 | { |
| 394 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_tablecxx . . $ probe_table.; |
| 395 | while (entry->typecxx . . $ probe_table_entry#type. != OVAL_SUBTYPE_UNKNOWNcxx . . $ OVAL_SUBTYPE_UNKNOWN.) |
| 396 | { |
| 397 | oval_subtype_tcxx . . $ oval_subtype_t# type = entry->typecxx . . $ probe_table_entry#type.; |
| 398 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, "%-14s", oval_family_get_textcxx . . $ oval_family_get_text(e0888d2a111f8f85).(oval_subtype_get_familycxx . . $ oval_subtype_get_family(16c965cbeb40760).(type))); |
| 399 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, "%-29s", oval_subtype_get_textcxx . . $ oval_subtype_get_text(ee6b3dcae047e21f).(type)); |
| 400 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, "probe_%s", oval_subtype_get_textcxx . . $ oval_subtype_get_text(ee6b3dcae047e21f).(type)); |
| 401 | #if (defined(OPENSCAP_ENABLE_MD5) && defined(OPENSCAP_ENABLE_SHA1)) |
| 402 | if (type == OVAL_INDEPENDENT_FILE_HASH) { |
| 403 | fprintf(output, " (MD5, SHA-1)"); |
| 404 | } |
| 405 | #endif |
| 406 | if (type == OVAL_INDEPENDENT_FILE_HASH58cxx . . $ OVAL_INDEPENDENT_FILE_HASH58.) { |
| 407 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, " ("); |
| 408 | #ifdef OPENSCAP_ENABLE_MD5 |
| 409 | fprintf(output, "MD5, "); |
| 410 | #endif |
| 411 | #ifdef OPENSCAP_ENABLE_SHA1 |
| 412 | fprintf(output, "SHA-1, "); |
| 413 | #endif |
| 414 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, "SHA-224, SHA-256, SHA-384, SHA-512)"); |
| 415 | } |
| 416 | fprintfcxx . . $ fprintf(bc216f8e5b1ebeac).(output, "\n"); |
| 417 | entry++; |
| 418 | } |
| 419 | } |
| 420 | |
| 421 | int probe_table_sizecxx . . $ probe_table_size(b126dc7c1de90089).() |
| 422 | { |
| 423 | int size = 0; |
| 424 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_tablecxx . . $ probe_table.; |
| 425 | while (entry->typecxx . . $ probe_table_entry#type. != OVAL_SUBTYPE_UNKNOWNcxx . . $ OVAL_SUBTYPE_UNKNOWN.) { |
| 426 | entry++; |
| 427 | size++; |
| 428 | } |
| 429 | return size; |
| 430 | } |
| 431 | |
| 432 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! probe_table_existscxx . . $ probe_table_exists(4c65e7724f38ac).(oval_subtype_tcxx . . $ oval_subtype_t# type) |
| 433 | { |
| 434 | const probe_table_entry_tcxx . . $ probe_table_entry_t# *entry = probe_table_getcxx . . $ probe_table_get(2a952fde19addb2a).(type); |
| 435 | return (entry->typecxx . . $ probe_table_entry#type. != OVAL_SUBTYPE_UNKNOWNcxx . . $ OVAL_SUBTYPE_UNKNOWN.); |
| 436 | } |
| 437 | |
| 438 | oval_subtype_tcxx . . $ oval_subtype_t# probe_table_at_indexcxx . . $ probe_table_at_index(d379c43f84bb4020).(int idx) |
| 439 | { |
| 440 | if (idx < 0 || idx >= probe_table_sizecxx . . $ probe_table_size(b126dc7c1de90089).()) { |
| 441 | return OVAL_SUBTYPE_UNKNOWNcxx . . $ OVAL_SUBTYPE_UNKNOWN.; |
| 442 | } |
| 443 | const probe_table_entry_tcxx . . $ probe_table_entry_t# entry = probe_tablecxx . . $ probe_table.[idx]; |
| 444 | return entry.typecxx . . $ probe_table_entry#type.; |
| 445 | } |