From db101298390662a47233a59af9d6490dba703819 Mon Sep 17 00:00:00 2001 From: Johannes Stoelp Date: Wed, 22 Sep 2021 21:20:14 +0200 Subject: updated find_version call to pass dynstrtab --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index 2ee1d66..36d2179 100644 --- a/src/main.rs +++ b/src/main.rs @@ -95,7 +95,7 @@ unsafe fn get_vdso_sym( "No Versym entry for symbol with idx {} found", idx )))? - .find_version(elf.verdef.as_ref(), elf.verneed.as_ref()) + .find_version(elf.verdef.as_ref(), elf.verneed.as_ref(), &elf.dynstrtab) .ok_or(Error::SymbolVersionError(format!( "No symbol version string found for symbol with idx {}", idx -- cgit v1.2.3