diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2017-01-06 06:52:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-06 06:52:13 +0100 |
| commit | f89a4638923b89c4e17fa6811a62a7d01bccbdee (patch) | |
| tree | e1ab792c966c74faaf1d16b11036af9291d9a21f /test/arch/x86/unit | |
| parent | 06461f1bd7a8c987b47381dffa3e1462cee8e44f (diff) | |
| parent | 1940e5baa0310bb6a3090f4a5a3cc832b024f03f (diff) | |
| download | miasm-f89a4638923b89c4e17fa6811a62a7d01bccbdee.tar.gz miasm-f89a4638923b89c4e17fa6811a62a7d01bccbdee.zip | |
Merge pull request #470 from a-vincent/master
Tidy up which files are executable and which are not
Diffstat (limited to 'test/arch/x86/unit')
| -rw-r--r-- | test/arch/x86/unit/asm_test.py | 8 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_daa.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_das.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_float.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_int.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pcmpeq.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pextr.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pinsr.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pmaxu.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pminu.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pmovmskb.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pshufb.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_psrl_psll.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_punpck.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_pushpop.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_seh.py | 2 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_stack.py | 3 | ||||
| -rwxr-xr-x[-rw-r--r--] | test/arch/x86/unit/mn_strings.py | 2 |
18 files changed, 24 insertions, 25 deletions
diff --git a/test/arch/x86/unit/asm_test.py b/test/arch/x86/unit/asm_test.py index 4e1d03b8..bf97dbe4 100644 --- a/test/arch/x86/unit/asm_test.py +++ b/test/arch/x86/unit/asm_test.py @@ -1,4 +1,3 @@ -#! /usr/bin/env python import sys import os @@ -10,13 +9,6 @@ from miasm2.core import asmbloc from elfesteem.strpatchwork import StrPatchwork from miasm2.analysis.machine import Machine from miasm2.jitter.csts import * -from pdb import pm - - -filename = os.environ.get('PYTHONSTARTUP') -if filename and os.path.isfile(filename): - execfile(filename) - reg_and_id = dict(mn_x86.regs.all_regs_ids_byname) diff --git a/test/arch/x86/unit/mn_daa.py b/test/arch/x86/unit/mn_daa.py index d07bf849..21d609e4 100644..100755 --- a/test/arch/x86/unit/mn_daa.py +++ b/test/arch/x86/unit/mn_daa.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_das.py b/test/arch/x86/unit/mn_das.py index 2d8102d9..08df1a7a 100644..100755 --- a/test/arch/x86/unit/mn_das.py +++ b/test/arch/x86/unit/mn_das.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_float.py b/test/arch/x86/unit/mn_float.py index d704de73..f31a25e3 100644..100755 --- a/test/arch/x86/unit/mn_float.py +++ b/test/arch/x86/unit/mn_float.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_int.py b/test/arch/x86/unit/mn_int.py index 9d964220..09792371 100644..100755 --- a/test/arch/x86/unit/mn_int.py +++ b/test/arch/x86/unit/mn_int.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from miasm2.jitter.csts import EXCEPT_INT_XX diff --git a/test/arch/x86/unit/mn_pcmpeq.py b/test/arch/x86/unit/mn_pcmpeq.py index 5d0a59c6..22760db4 100644..100755 --- a/test/arch/x86/unit/mn_pcmpeq.py +++ b/test/arch/x86/unit/mn_pcmpeq.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pextr.py b/test/arch/x86/unit/mn_pextr.py index 696f077b..c4548d67 100644..100755 --- a/test/arch/x86/unit/mn_pextr.py +++ b/test/arch/x86/unit/mn_pextr.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pinsr.py b/test/arch/x86/unit/mn_pinsr.py index 74120e5c..4beaba13 100644..100755 --- a/test/arch/x86/unit/mn_pinsr.py +++ b/test/arch/x86/unit/mn_pinsr.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pmaxu.py b/test/arch/x86/unit/mn_pmaxu.py index 527b966f..752b9132 100644..100755 --- a/test/arch/x86/unit/mn_pmaxu.py +++ b/test/arch/x86/unit/mn_pmaxu.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pminu.py b/test/arch/x86/unit/mn_pminu.py index d667df4e..3be95a9a 100644..100755 --- a/test/arch/x86/unit/mn_pminu.py +++ b/test/arch/x86/unit/mn_pminu.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pmovmskb.py b/test/arch/x86/unit/mn_pmovmskb.py index b7e7b897..a3eb65f5 100644..100755 --- a/test/arch/x86/unit/mn_pmovmskb.py +++ b/test/arch/x86/unit/mn_pmovmskb.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pshufb.py b/test/arch/x86/unit/mn_pshufb.py index 5f4c7370..d10c18e3 100644..100755 --- a/test/arch/x86/unit/mn_pshufb.py +++ b/test/arch/x86/unit/mn_pshufb.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_psrl_psll.py b/test/arch/x86/unit/mn_psrl_psll.py index 44126b96..a5428dab 100644..100755 --- a/test/arch/x86/unit/mn_psrl_psll.py +++ b/test/arch/x86/unit/mn_psrl_psll.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_punpck.py b/test/arch/x86/unit/mn_punpck.py index f6a4772e..b519b4c3 100644..100755 --- a/test/arch/x86/unit/mn_punpck.py +++ b/test/arch/x86/unit/mn_punpck.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_pushpop.py b/test/arch/x86/unit/mn_pushpop.py index 1a3f5517..ffcc3fa5 100644..100755 --- a/test/arch/x86/unit/mn_pushpop.py +++ b/test/arch/x86/unit/mn_pushpop.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_16, Asm_Test_32 diff --git a/test/arch/x86/unit/mn_seh.py b/test/arch/x86/unit/mn_seh.py index d6fc56ca..dd3fd4ef 100644..100755 --- a/test/arch/x86/unit/mn_seh.py +++ b/test/arch/x86/unit/mn_seh.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from miasm2.os_dep.win_api_x86_32_seh import fake_seh_handler, build_teb, \ diff --git a/test/arch/x86/unit/mn_stack.py b/test/arch/x86/unit/mn_stack.py index 3bce3979..f9cfc60a 100644..100755 --- a/test/arch/x86/unit/mn_stack.py +++ b/test/arch/x86/unit/mn_stack.py @@ -1,4 +1,5 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 + import sys from asm_test import Asm_Test_32 diff --git a/test/arch/x86/unit/mn_strings.py b/test/arch/x86/unit/mn_strings.py index 5e7269f7..3cb70e2a 100644..100755 --- a/test/arch/x86/unit/mn_strings.py +++ b/test/arch/x86/unit/mn_strings.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 import sys from asm_test import Asm_Test_32 |