mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Volshell: Add support for constructing objects at specific offsets.
This commit is contained in:
@@ -50,12 +50,12 @@ class Volshell(generic.Volshell):
|
||||
self.change_task(self.config['pid'])
|
||||
return result
|
||||
|
||||
def display_type(self, object: Union[str, interfaces.objects.ObjectInterface]):
|
||||
def display_type(self, object: Union[str, interfaces.objects.ObjectInterface], offset: int = None):
|
||||
"""Display Type describes the members of a particular object in alphabetical order"""
|
||||
if isinstance(object, str):
|
||||
if constants.BANG not in object:
|
||||
object = self.config['vmlinux'] + constants.BANG + object
|
||||
return super().display_type(object)
|
||||
return super().display_type(object, offset)
|
||||
|
||||
def display_symbols(self, symbol_table: str = None):
|
||||
"""Prints an alphabetical list of symbols for a symbol table"""
|
||||
|
||||
Reference in New Issue
Block a user