From ca91bc1933976c62d24248f0f7c35af38451ff11 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Thu, 8 Jan 2026 18:42:35 -0500 Subject: [DWARF Import] Fix potential hang when encountering some unhandled DW_AT_location variants for a DW_TAG_variable --- plugins/dwarf/dwarf_import/src/types.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins') diff --git a/plugins/dwarf/dwarf_import/src/types.rs b/plugins/dwarf/dwarf_import/src/types.rs index 776ee378..7f9e4e5d 100644 --- a/plugins/dwarf/dwarf_import/src/types.rs +++ b/plugins/dwarf/dwarf_import/src/types.rs @@ -83,6 +83,18 @@ pub(crate) fn parse_variable( } } } + Ok(Operation::ImplicitValue { data }) => { + debug!( + "Unhandled operation type ImplicitValue with data length {} for variable", + data.len() + ); + } + Ok(Operation::EntryValue { expression }) => { + debug!( + "Unhandled operation type EntryValue with expression length {} for variable", + expression.len() + ); + } Ok(op) => { debug!("Unhandled operation type for variable: {:?}", op); } -- cgit v1.3.1