summaryrefslogtreecommitdiff
path: root/rust/examples
diff options
context:
space:
mode:
authorJosh Ferrell <josh@vector35.com>2024-07-05 14:59:06 -0400
committerJosh Ferrell <josh@vector35.com>2024-07-05 14:59:06 -0400
commit52dd0afc0dce16e454a37d73397359351d3f2064 (patch)
treef9a6614633c4ee1016a429245f78f2c96f17f3e8 /rust/examples
parent0dc909f1800296619053e067a1e3700665f4644c (diff)
Fix dwarf return types having 0 confidence
Diffstat (limited to 'rust/examples')
-rw-r--r--rust/examples/dwarf/dwarf_import/src/dwarfdebuginfo.rs2
1 files changed, 1 insertions, 1 deletions
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<Type> {
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),
};