diff options
Diffstat (limited to 'miasm2/arch/x86/arch.py')
| -rw-r--r-- | miasm2/arch/x86/arch.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py index 8f9a1f79..b1d671d1 100644 --- a/miasm2/arch/x86/arch.py +++ b/miasm2/arch/x86/arch.py @@ -954,8 +954,8 @@ class mn_x86(cls_mn): for c, v in candidates: if v_opmode(c) != instr.mode: cand_diff_mode += v - cand_same_mode.sort(key=lambda x: len(x)) - cand_diff_mode.sort(key=lambda x: len(x)) + cand_same_mode.sort(key=len) + cand_diff_mode.sort(key=len) return cand_same_mode + cand_diff_mode |