summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2026-01-08 18:42:35 -0500
committerJosh Ferrell <josh@vector35.com>2026-01-08 18:42:35 -0500
commitca91bc1933976c62d24248f0f7c35af38451ff11 (patch)
tree75bdf64cf41ef29fcb9e263919af099b3740cf41 /plugins
parent53aa6b58d4d1216fe34b59ca9afe13556949ea73 (diff)
[DWARF Import] Fix potential hang when encountering some unhandled DW_AT_location variants for a DW_TAG_variable
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dwarf/dwarf_import/src/types.rs12
1 files changed, 12 insertions, 0 deletions
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<R: ReaderType>(
}
}
}
+ 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);
}