summaryrefslogtreecommitdiff
path: root/rust/examples/dwarf/shared/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/examples/dwarf/shared/src')
-rw-r--r--rust/examples/dwarf/shared/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/examples/dwarf/shared/src/lib.rs b/rust/examples/dwarf/shared/src/lib.rs
index e3d1315d..febbe3ed 100644
--- a/rust/examples/dwarf/shared/src/lib.rs
+++ b/rust/examples/dwarf/shared/src/lib.rs
@@ -54,12 +54,12 @@ pub fn is_raw_dwo_dwarf(view: &BinaryView) -> bool {
}
pub fn can_use_debuginfod(view: &BinaryView) -> bool {
- can_use_build_id(view) &&
+ has_build_id_section(view) &&
Settings::new("")
.get_bool("network.enableDebuginfod", Some(view), None)
}
-pub fn can_use_build_id(view: &BinaryView) -> bool {
+pub fn has_build_id_section(view: &BinaryView) -> bool {
if let Ok(raw_view) = view.raw_view() {
return raw_view.section_by_name(".note.gnu.build-id").is_ok()
}