diff options
| author | Mason Reed <mason@vector35.com> | 2025-12-09 20:04:29 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-12-09 20:04:29 -0500 |
| commit | dd1f2b0c6796b7bd9b8f441c224804500275f5b1 (patch) | |
| tree | eb869b784de0d4503e2671c121d5ecd451f6be7f /plugins/dwarf | |
| parent | 6728415172553838701009676202433153533565 (diff) | |
[Rust] Fix misc formatting
Diffstat (limited to 'plugins/dwarf')
| -rw-r--r-- | plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs index 699d37a9..c65e5387 100644 --- a/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs +++ b/plugins/dwarf/dwarf_import/src/dwarfdebuginfo.rs @@ -722,7 +722,9 @@ impl DebugInfoBuilder { // DWARF doesn't contain GOT info, so remove any entries there...they will be wrong (relying on Binja's mechanisms for the GOT is good ) // Also ignore externs since we don't want to try and create functions not backed by the file let symbol_type = symbol.sym_type(); - if symbol_type != SymbolType::ImportAddress && symbol_type != SymbolType::External { + if symbol_type != SymbolType::ImportAddress + && symbol_type != SymbolType::External + { func.address = Some(symbol.address() - bv.start()); } } |
