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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user