diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-01-08 18:42:35 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-01-08 18:42:35 -0500 |
| commit | ca91bc1933976c62d24248f0f7c35af38451ff11 (patch) | |
| tree | 75bdf64cf41ef29fcb9e263919af099b3740cf41 /plugins/dwarf | |
| parent | 53aa6b58d4d1216fe34b59ca9afe13556949ea73 (diff) | |
[DWARF Import] Fix potential hang when encountering some unhandled DW_AT_location variants for a DW_TAG_variable
Diffstat (limited to 'plugins/dwarf')
| -rw-r--r-- | plugins/dwarf/dwarf_import/src/types.rs | 12 |
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); } |
