diff options
author | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-09-22 22:07:07 +0200 |
---|---|---|
committer | Johannes Stoelp <johannes.stoelp@gmail.com> | 2021-09-22 22:07:07 +0200 |
commit | 2e32c8e4aaf166ef22b36818a3dd9b649a18dcb7 (patch) | |
tree | 75c23395328950ff39fb0566ba893fe849e83c13 | |
parent | 94f34dd75b400e6517e5329691e7d9818190c5e5 (diff) | |
download | vdso-proxy-poc-2e32c8e4aaf166ef22b36818a3dd9b649a18dcb7.tar.gz vdso-proxy-poc-2e32c8e4aaf166ef22b36818a3dd9b649a18dcb7.zip |
update usage of find_version after changing API
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "goblin" version = "0.4.2" -source = "git+https://github.com/johannst/goblin?branch=elf-gnu-symbol-versioning-utils#b3f8ab6611f652f6b18cc361680ca5d36bbad6c5" +source = "git+https://github.com/johannst/goblin?branch=elf-gnu-symbol-versioning-utils#4893886664718b7627a572578b69de65a9f88e24" dependencies = [ "log", "plain", diff --git a/src/main.rs b/src/main.rs index 6bd1fac..08cf086 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,7 +98,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(), &elf.dynstrtab) + .find_version(&elf.verdef, &elf.verneed, &elf.dynstrtab) .ok_or(Error::SymbolVersionError(format!( "No symbol version string found for symbol with idx {}", idx |