From 4c4b80422cbda5a0ee40af7cbd16b985f3c55576 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 9 Nov 2025 23:55:09 +0000 Subject: [PATCH 1/2] Initial plan From a0001548905e065b6c140e344c77085a04579b22 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 10 Nov 2025 00:01:03 +0000 Subject: [PATCH 2/2] fix: Skip ELF integration tests on Windows (non-Unix platforms) Co-authored-by: unclesp1d3r <251112+unclesp1d3r@users.noreply.github.com> --- tests/integration_elf.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration_elf.rs b/tests/integration_elf.rs index 72cfa0f..28dc765 100644 --- a/tests/integration_elf.rs +++ b/tests/integration_elf.rs @@ -6,6 +6,7 @@ use stringy::container::{ContainerParser, ElfParser}; use tempfile::TempDir; #[test] +#[cfg(target_family = "unix")] fn test_elf_import_export_extraction_dynamic() { // Create a simple C program that we can compile to test with let c_code = r#" @@ -135,6 +136,7 @@ int main() { } #[test] +#[cfg(target_family = "unix")] fn test_elf_import_export_extraction_static() { let temp_dir = TempDir::new().expect("Failed to create temp dir"); let c_file = temp_dir.path().join("test_static.c"); @@ -257,6 +259,7 @@ fn test_elf_import_export_extraction_static() { } #[test] +#[cfg(target_family = "unix")] fn test_elf_section_classification_integration() { // Test with the current binary (this test executable) let current_exe = std::env::current_exe().expect("Failed to get current executable path");