mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-22 01:24:51 +02:00
Lots and lots of typing additions found by an initial monkeytype run.
This commit is contained in:
@@ -22,7 +22,7 @@ class SymbolError(VolatilityException):
|
||||
class InvalidAddressException(VolatilityException):
|
||||
"""Thrown when an address is not valid in the space it was requested"""
|
||||
|
||||
def __init__(self, layer_name, invalid_address, *args):
|
||||
def __init__(self, layer_name: str, invalid_address: int, *args) -> None:
|
||||
super().__init__(layer_name, invalid_address, *args)
|
||||
self.invalid_address = invalid_address
|
||||
self.layer_name = layer_name
|
||||
|
||||
Reference in New Issue
Block a user