From 0efd212e359401ffe9eef206bd802bb560578a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20Andr=C3=A9=20Vadla=20Ravn=C3=A5s?= Date: Sun, 7 Jun 2015 22:39:21 +0200 Subject: [PATCH] Remove validation logic for the `-f` switch We cannot assume this is happening locally. --- src/frida/application.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frida/application.py b/src/frida/application.py index baa4d57..2c1e0df 100755 --- a/src/frida/application.py +++ b/src/frida/application.py @@ -100,8 +100,6 @@ class ConsoleApplication(object): target = expand_target(target) if target[0] == 'file': argv = target[1] - if not os.path.isfile(argv[0]): - parser.error("%s: file not found" % argv[0]) argv.extend(args) args = [] self._target = target