diff options
| author | Mason Reed <mason@vector35.com> | 2025-11-23 17:17:11 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-12-15 17:26:10 -0500 |
| commit | 906de8cf124a6cc74d28c1f82ea9b4883b97efde (patch) | |
| tree | 1edce1b893262696b81ed9336d0f6806e403d517 /plugins/warp | |
| parent | c35fd93f9ad532387c2732e76838f3347aa9f539 (diff) | |
[Rust] Add `Function::defined_symbol` to use when getting the default function symbol is not warranted
Diffstat (limited to 'plugins/warp')
| -rw-r--r-- | plugins/warp/src/processor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/processor.rs b/plugins/warp/src/processor.rs index df26f613..693f0852 100644 --- a/plugins/warp/src/processor.rs +++ b/plugins/warp/src/processor.rs @@ -837,7 +837,7 @@ impl WarpFileProcessor { ) -> Result<HashMap<Target, Vec<SignatureChunk<'static>>>, ProcessingError> { let is_function_named = |f: &Guard<BNFunction>| { self.included_functions == IncludedFunctionsField::All - || view.symbol_by_address(f.start()).is_some() + || f.defined_symbol().is_some() || f.has_user_annotations() }; let is_function_tagged = |f: &Guard<BNFunction>| { |
