mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-26 11:34:49 +02:00
19 lines
712 B
Python
19 lines
712 B
Python
# This file is Copyright 2019 Volatility Foundation and licensed under the Volatility Software License 1.0
|
|
# which is available at https://www.volatilityfoundation.org/license/vsl-v1.0
|
|
#
|
|
|
|
from volatility.framework.symbols import intermed
|
|
from volatility.framework.symbols.linux.extensions import elf
|
|
|
|
|
|
class ElfIntermedSymbols(intermed.IntermediateSymbolTable):
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
super().__init__(*args, **kwargs)
|
|
|
|
self.set_type_class('Elf', elf.elf)
|
|
self.set_type_class('Elf64_Phdr', elf.elf_phdr)
|
|
self.set_type_class('Elf32_Phdr', elf.elf_phdr)
|
|
self.set_type_class('Elf32_Sym', elf.elf_sym)
|
|
self.set_type_class('Elf64_Sym', elf.elf_sym)
|