diff options
Diffstat (limited to '')
| -rw-r--r-- | miasm/core/asmbloc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/asmbloc.py b/miasm/core/asmbloc.py index abc8b629..462b03d7 100644 --- a/miasm/core/asmbloc.py +++ b/miasm/core/asmbloc.py @@ -779,7 +779,7 @@ def asmbloc(mnemo, all_blocs): if isinstance(instr, asm_raw): candidates = [instr.raw] c = instr.raw - elif [True for a in instr.arg if mnemo.has_symb(a)]: + elif any([mnemo.has_symb(a) for a in instr.arg]): testing_arg = [mnemo.fix_symbol(a) for a in instr.arg] sav_a = instr.arg instr.arg = testing_arg |