From 28d0696beaad18624255d631ff997dd4ac69f182 Mon Sep 17 00:00:00 2001 From: Aymeric Vincent Date: Thu, 5 Jan 2017 16:45:17 +0100 Subject: use python2 as executable name, give adequate permissions --- example/asm/shellcode.py | 2 +- example/jitter/arm.py | 2 +- example/jitter/arm_sc.py | 2 +- example/jitter/example_types.py | 2 +- example/jitter/mips32.py | 2 +- example/jitter/msp430.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) mode change 100644 => 100755 example/asm/shellcode.py mode change 100644 => 100755 example/jitter/arm.py mode change 100644 => 100755 example/jitter/arm_sc.py mode change 100644 => 100755 example/jitter/example_types.py mode change 100644 => 100755 example/jitter/mips32.py mode change 100644 => 100755 example/jitter/msp430.py (limited to 'example') diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py old mode 100644 new mode 100755 index f31c88c2..3ff11489 --- a/example/asm/shellcode.py +++ b/example/asm/shellcode.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 from argparse import ArgumentParser from pdb import pm diff --git a/example/jitter/arm.py b/example/jitter/arm.py old mode 100644 new mode 100755 index 7bd354bc..eac6c0e6 --- a/example/jitter/arm.py +++ b/example/jitter/arm.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/env python2 #-*- coding:utf-8 -*- import logging from pdb import pm diff --git a/example/jitter/arm_sc.py b/example/jitter/arm_sc.py old mode 100644 new mode 100755 index ca765d31..6644a440 --- a/example/jitter/arm_sc.py +++ b/example/jitter/arm_sc.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/env python2 #-*- coding:utf-8 -*- from miasm2.analysis.sandbox import Sandbox_Linux_armb_str from miasm2.analysis.sandbox import Sandbox_Linux_arml_str diff --git a/example/jitter/example_types.py b/example/jitter/example_types.py old mode 100644 new mode 100755 index c37c3b84..7ed964c2 --- a/example/jitter/example_types.py +++ b/example/jitter/example_types.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/env python2 """This script is just a short example of common usages for miasm2.core.types. For a more complete view of what is possible, tests/core/types.py covers most of the module possibilities, and the module doc gives useful information diff --git a/example/jitter/mips32.py b/example/jitter/mips32.py old mode 100644 new mode 100755 index a03cac8e..7c8900f8 --- a/example/jitter/mips32.py +++ b/example/jitter/mips32.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/env python2 #-*- coding:utf-8 -*- from argparse import ArgumentParser from miasm2.analysis import debugging diff --git a/example/jitter/msp430.py b/example/jitter/msp430.py old mode 100644 new mode 100755 index 89ecd930..5c8b7197 --- a/example/jitter/msp430.py +++ b/example/jitter/msp430.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#! /usr/bin/env python2 #-*- coding:utf-8 -*- from argparse import ArgumentParser from miasm2.analysis import debugging -- cgit 1.4.1