diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-09-22 21:20:14 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-09-22 21:20:14 +0200 |
commit | db101298390662a47233a59af9d6490dba703819 (patch) | |
tree | 42bd9f9556bccc9e09bbfd9d24d1a5174e0c4083 /src | |
parent | b633edbff8ed1b92aaa41ebc5c0fd63ea55f0f35 (diff) | |
download | vdso-proxy-poc-db101298390662a47233a59af9d6490dba703819.tar.gz vdso-proxy-poc-db101298390662a47233a59af9d6490dba703819.zip |
updated find_version call to pass dynstrtab
Diffstat (limited to 'src')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |