check for and skip linux-vsdo.so

This commit is contained in:
Robin Nicholson 2018-03-11 23:49:02 +01:00
parent 0fa198a7f9
commit 408a1b6e5e
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ int read_shared_object(struct dl_phdr_info* info, size_t size, void* data)
elf_root = reinterpret_cast<unsigned char*>(info->dlpi_addr);
name = info->dlpi_name;
}
if (name && *name) {
if (name && *name && strncmp(name, "linux-vdso.so", 13) != 0) {
spy::MFile file(name);
spy::ELFInfo elf(file.address(), name);
elf.base_ = elf_root;