volatility3.framework.exceptions module
A list of potential exceptions that volatility can throw.
These include exceptions that can be thrown on errors by the symbol
space or symbol tables, and by layers when an address is invalid. The
PagedInvalidAddressException contains information about the
size of the invalid page.
- exception InvalidAddressException(layer_name, invalid_address, *args)[source]
Bases:
LayerExceptionThrown when an address is not valid in the layer it was requested.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception LayerException(layer_name, *args)[source]
Bases:
VolatilityExceptionThrown when an error occurs dealing with memory and layers.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception MissingModuleException(module, *args)[source]
Bases:
VolatilityException- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception OfflineException(url, *args)[source]
Bases:
VolatilityExceptionThrow when a remote resource is requested but Volatility is in offline mode
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception PagedInvalidAddressException(layer_name, invalid_address, invalid_bits, entry, *args)[source]
Bases:
InvalidAddressExceptionThrown when an address is not valid in the paged space in which it was request. This is a subclass of InvalidAddressException and is only thrown from a paged layer. In most circumstances
InvalidAddressExceptionis the correct exception to throw, since this will catch all invalid mappings (including paged ones).Includes the invalid address and the number of bits of the address that are invalid
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception PluginRequirementException[source]
Bases:
VolatilityExceptionClass to allow plugins to indicate that a requirement has not been fulfilled.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception PluginVersionException[source]
Bases:
VolatilityExceptionClass to allow determining that a required plugin has an invalid version.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SwappedInvalidAddressException(layer_name, invalid_address, invalid_bits, entry, swap_offset, *args)[source]
Bases:
PagedInvalidAddressExceptionThrown when an address is not valid in the paged layer in which it was requested, but expected to be in an associated swap layer.
Includes the swap lookup, as well as the invalid address and the bits of the lookup that were invalid.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SymbolError(symbol_name, table_name, *args)[source]
Bases:
VolatilityExceptionThrown when a symbol lookup has failed.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception SymbolSpaceError[source]
Bases:
VolatilityExceptionThrown when an error occurs dealing with Symbolspaces and SymbolTables.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.