Files
2024-07-21 22:49:06 -07:00

15 lines
438 B
Python

#!/usr/bin/env python
# Copyright (C) 2015 Dmitry Rodionov
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
from os import system
from lib.core.packages import Package
class Macho(Package):
""" Mach-O executable analysys package. """
def prepare(self):
# Make sure that our target is executable
system("/bin/chmod +x \"%s\"" % self.target)