Bug 1914102 - Use OffscreenCanvas in TabBase.capture instead of creating a canvas...
[gecko.git] / toolkit / xre / detect_win32k_conflicts.h
blob62ff737bcd90e25e2eb20c1f359830621a2f370a
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
5 #ifndef TOOLKIT_XRE_DETECT_WIN32K_CONFLICTS_H
6 #define TOOLKIT_XRE_DETECT_WIN32K_CONFLICTS_H
7 #include <cinttypes>
9 // C interface for the `detect_win32k_conflicts` Rust crate
11 struct ConflictingMitigationStatus {
12 bool caller_check;
13 bool sim_exec;
14 bool stack_pivot;
17 extern "C" bool detect_win32k_conflicting_mitigations(
18 ConflictingMitigationStatus* aConflictingMitigationStatus);
20 #endif // TOOLKIT_XRE_DETECT_WIN32K_CONFLICTS_H