diff options
| author | Camille Mougey <commial@gmail.com> | 2016-01-15 17:24:26 +0100 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2016-01-15 17:24:26 +0100 |
| commit | 629151efbea0f76586cff8ec00064c227f93e9a3 (patch) | |
| tree | 15bf9ebd1f54d8fbee198dd667ff276797f413c7 /miasm2/core/cpu.py | |
| parent | 4c9094900f28a569bab5b0d6fc3343e418eb8569 (diff) | |
| parent | 8f7ab6d8f180c169e55e869d1df61852aad09074 (diff) | |
| download | miasm-629151efbea0f76586cff8ec00064c227f93e9a3.tar.gz miasm-629151efbea0f76586cff8ec00064c227f93e9a3.zip | |
Merge pull request #305 from serpilliere/instruction_slots
Instruction slots
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index 48f7e26e..d304108d 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -910,6 +910,9 @@ class metamn(type): class instruction(object): + __slots__ = ["name", "mode", "args", + "l", "b", "offset", "data", + "additional_info", "delayslot"] def __init__(self, name, mode, args, additional_info=None): self.name = name |