diff options
| author | Josh Ferrell <josh@vector35.com> | 2026-04-21 16:53:45 -0400 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2026-04-21 17:04:41 -0400 |
| commit | 71b1c61391c0b32dd19053bfcaf51bbd67f0a642 (patch) | |
| tree | 7f5221919e0a56b01498b288c63a3684e229f0cb /plugins | |
| parent | 0498fe8cc36075829deeebb919a57150d1ff9a44 (diff) | |
[PDB Import] Collect locals and params from blocks contained in a FrameProcedure
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/pdb-ng/src/symbol_parser.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/pdb-ng/src/symbol_parser.rs b/plugins/pdb-ng/src/symbol_parser.rs index 92b5f8be..5e3cb166 100644 --- a/plugins/pdb-ng/src/symbol_parser.rs +++ b/plugins/pdb-ng/src/symbol_parser.rs @@ -1709,7 +1709,10 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> { let mut locals = vec![]; let mut seen_offsets = HashSet::new(); - for child in self.symbol_children(index) { + for child in self.walk_children(index) { + if child == index { + continue; + } match self.lookup_symbol(&child) { Some(ParsedSymbol::LocalVariable(ParsedVariable { name, |
