diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-21 08:27:40 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-08-23 09:35:27 +0200 |
| commit | 253547e35343aed844e7bcb033c610409fcbd21e (patch) | |
| tree | f57b90520b3c06edc8483979795d3de2e9a54d26 /miasm2/jitter/jitload.py | |
| parent | 46bb6b39453ea8b5abb04dfd62492e429376a8ea (diff) | |
| download | miasm-253547e35343aed844e7bcb033c610409fcbd21e.tar.gz miasm-253547e35343aed844e7bcb033c610409fcbd21e.zip | |
Code cleaning: lgtm.com
Diffstat (limited to '')
| -rw-r--r-- | miasm2/jitter/jitload.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/miasm2/jitter/jitload.py b/miasm2/jitter/jitload.py index 39ca3d56..89f5bada 100644 --- a/miasm2/jitter/jitload.py +++ b/miasm2/jitter/jitload.py @@ -2,12 +2,11 @@ import logging import warnings from functools import wraps -from collections import Sequence, namedtuple, Iterator +from collections import Sequence, namedtuple from miasm2.jitter.csts import * from miasm2.core.utils import * from miasm2.core.bin_stream import bin_stream_vm -from miasm2.core.interval import interval from miasm2.jitter.emulatedsymbexec import EmulatedSymbExec from miasm2.jitter.codegen import CGen from miasm2.jitter.jitcore_cc_base import JitCore_Cc_Base @@ -131,7 +130,6 @@ class CallbackHandlerBitflag(CallbackHandler): callbacks return True, continue with next callback. Iterator on other results""" - res = True for bitflag_expected in self.callbacks: if bitflag_expected & bitflag == bitflag_expected: # If the flag matched |