Commit Graph

10 Commits

Author SHA1 Message Date
Marshall Greenblatt
b36cb4fe56 bootstrap: Don't explicitly call FreeLibary (see #3935)
This avoids an illegal access during shutdown.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
794601f128 bootstrap: Pass version to CefScopedLibraryLoader (see #3935)
Strict Chromium version checking is necessary because both sandbox
info and chrome_elf introduce Chromium version dependencies, and we
don't know which non-matching versions are compatible.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
914a6026b4 bootstrap: Depend on //sandbox directly (see #3935)
This allows us to more accurately duplicate the chrome.exe
sandbox initialization logic.
2025-05-29 12:29:37 -04:00
Marshall Greenblatt
4d65863278 bootstrap: Only show error dialogs with DCHECK_IS_ON (see #3935)
This will enable error dialogs for the Official CEF "Debug" builds.
2025-05-29 12:29:03 -04:00
Marshall Greenblatt
66457acccc bootstrap: Initialize crash reporting (see #3935)
This adds a runtime dependency on chrome_elf.dll and makes all
runtime errors LOG(FATAL) to generate a crash report. Don't wait
for libcef to load before running as the crashpad-handler process.
2025-05-29 12:21:55 -04:00
Marshall Greenblatt
1e8093a910 bootstrap: Load client DLL as untrusted for checks (see #3935) 2025-05-29 12:21:10 -04:00
Marshall Greenblatt
6606e241a1 cefclient: win: Add code signing verification (see #3935)
Move code signing verification code to libcef_dll_wrapper
and add example checks in cefclient.

Load libcef.dll with code signing checks.

Add a CefScopedLibraryLoader variant for Windows.
2025-05-29 12:20:30 -04:00
Marshall Greenblatt
9a115ea48f Exit early on invalid process type flag (see #3824)
This avoids crashes later during Chromium initialization.
2025-05-20 13:48:48 -04:00
Marshall Greenblatt
ce365d4987 bootstrap: Check code signing certificates (see #3824)
If either the bootstrap executable or the client dll is code signed
then both must be valid (all signatures) and signed with the same
primary certificate. This is a protection against mixing binaries
with different trust levels.
2025-05-20 13:48:48 -04:00
Marshall Greenblatt
adcac2c37c win: Add bootstrap[c].exe for sandbox integration (see #3824)
Replace cef_sandbox.lib usage with bootstrap executables.
See the SandboxSetup Wiki page for details.
2025-05-16 17:32:34 -04:00