diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-09-18 13:42:53 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-09-18 13:42:53 -0400 |
| commit | 4292c27bea13a5ba0423c69e0ab3d0caa4a04e38 (patch) | |
| tree | 1dc5882cb95497e3a774deba5fc7d5f05a034bd4 /python/function.py | |
| parent | 9b6597c904243e1baa271160ca77d2b8da4218df (diff) | |
Make some additional dataclasses frozen
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/function.py b/python/function.py index 229fd2f6..42e88fa3 100644 --- a/python/function.py +++ b/python/function.py @@ -69,9 +69,9 @@ ILInstructionType = Union['lowlevelil.LowLevelILInstruction', 'mediumlevelil.Med def _function_name_(): return inspect.stack()[1][0].f_code.co_name -@dataclass +@dataclass(frozen=True) class ArchAndAddr: - arch:Optional['architecture.Architecture'] + arch:'architecture.Architecture' addr:int def __repr__(self): |
