fix: build errors in ostp-guard, ostp-daemon, ostp-installer

- Make check_analysis_tools() public in ostp-guard
- Fix PWSTR type in ostp-installer (use windows::core::PWSTR)
- Remove unused imports (Context, Foundation, fileapi, minwindef)

Build artifacts in dist/:
- Linux x64: ostp-server (9.2 MB), oncp-master (4.8 MB)
- Windows x64: ostp-client.exe (1.64 MB), ostp-daemon.exe (0.53 MB), ostp-installer.exe (0.37 MB)
This commit is contained in:
2026-01-02 02:53:16 +03:00
parent 91ab02dc8e
commit bb9692aa16
22 changed files with 3 additions and 895 deletions

View File

@@ -24,7 +24,7 @@ pub fn is_virtual_machine() -> bool {
}
/// HIGH: Check for reverse engineering tools in memory
fn check_analysis_tools() -> bool {
pub fn check_analysis_tools() -> bool {
#[cfg(unix)]
{
if let Ok(output) = std::process::Command::new("ps")