4
(cmd_stdout, cmd_stderr) = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
5
return (cmd_stdout, cmd_stderr)
8
def is_dynamic_ELF_exe(filename):
9
file_out, _ = run_cmd(['file', filename])
10
return ("ELF" in file_out and "executable" in file_out and "dynamically linked" in file_out)