Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/integration_elf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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#"
Expand Down Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down