From 52dd0afc0dce16e454a37d73397359351d3f2064 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Fri, 5 Jul 2024 14:59:06 -0400 Subject: Fix dwarf return types having 0 confidence --- rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rust/examples') diff --git a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs index 8317843d..13030aa8 100644 --- a/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs +++ b/rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs @@ -448,7 +448,7 @@ impl DebugInfoBuilder { fn get_function_type(&self, function: &FunctionInfoBuilder) -> Ref { let return_type = match function.return_type { - Some(return_type_id) => Conf::new(self.get_type(return_type_id).unwrap().get_type(), 0), + Some(return_type_id) => Conf::new(self.get_type(return_type_id).unwrap().get_type(), 128), _ => Conf::new(binaryninja::types::Type::void(), 0), }; -- cgit v1.3.1