mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
Fix CodeQL suggestion
This commit is contained in:
@@ -351,6 +351,8 @@ class elf_phdr(objects.StructType):
|
||||
if self._parent_e_type.description == "ET_DYN":
|
||||
offset = self._parent_offset + offset
|
||||
except ValueError:
|
||||
# Unknown ELF object file type. Anyway, if the ELF object file type is not a
|
||||
# shared object (ET_DYN), the virtual address is 'p_vaddr'.
|
||||
pass
|
||||
|
||||
return offset
|
||||
|
||||
Reference in New Issue
Block a user