From 906de8cf124a6cc74d28c1f82ea9b4883b97efde Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 23 Nov 2025 17:17:11 -0500 Subject: [Rust] Add `Function::defined_symbol` to use when getting the default function symbol is not warranted --- plugins/warp/src/processor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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>>, ProcessingError> { let is_function_named = |f: &Guard| { 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| { -- cgit v1.3.1