BinaryNinja:
Error decompiling: Traceback (most recent call last):
File "decompile_bn.py", line 66, in <module>
main()
File "decompile_bn.py", line 13, in main
t = tempfile.NamedTemporaryFile()
File "/usr/local/lib/python3.8/tempfile.py", line 531, in NamedTemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params
dir = gettempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
Hex-Rays:
Error decompiling: /tmp/tmpanbyzjw9/tmpqx8sjhpv: is not decompilable
angr and Ghidra still waiting at 150seconds and counting....
320seconds and counting....
Boomerang:
Error decompiling: Traceback (most recent call last):
File "decompile_boomerang.py", line 57, in <module>
main()
File "decompile_boomerang.py", line 14, in main
with tempfile.TemporaryDirectory() as tempdir:
File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params
dir = gettempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
RecStudio:
Error decompiling: Traceback (most recent call last):
File "decompile_recstudio.py", line 59, in <module>
main()
File "decompile_recstudio.py", line 14, in main
with tempfile.TemporaryDirectory() as tempdir:
File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params
dir = gettempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
Reko:
Error decompiling: Traceback (most recent call last):
File "decompile_recstudio.py", line 59, in <module>
main()
File "decompile_recstudio.py", line 14, in main
with tempfile.TemporaryDirectory() as tempdir:
File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__
self.name = mkdtemp(suffix, prefix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params
dir = gettempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir
tempdir = _get_default_tempdir()
File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir
raise FileNotFoundError(_errno.ENOENT,
FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
RetDec and Snowman are the only ones that work on a sample app supplied.
If I get time, I'll upload another app to test it, which will introduces a new technique.
I know for a fact Ghidra should work because I've used it myself.
Was this due to load or server restarts or are you still seeing errors? Pass me a GUID either publicly or privately (my handle on twitter accepts DMs or an email address at my handle.com as a domain) if you don't mind and I can take a closer look.
Hex-Rays: Error decompiling: /tmp/tmpanbyzjw9/tmpqx8sjhpv: is not decompilable
angr and Ghidra still waiting at 150seconds and counting....
320seconds and counting....
Boomerang: Error decompiling: Traceback (most recent call last): File "decompile_boomerang.py", line 57, in <module> main() File "decompile_boomerang.py", line 14, in main with tempfile.TemporaryDirectory() as tempdir: File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__ self.name = mkdtemp(suffix, prefix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params dir = gettempdir() File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir tempdir = _get_default_tempdir() File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir raise FileNotFoundError(_errno.ENOENT, FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
RecStudio: Error decompiling: Traceback (most recent call last): File "decompile_recstudio.py", line 59, in <module> main() File "decompile_recstudio.py", line 14, in main with tempfile.TemporaryDirectory() as tempdir: File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__ self.name = mkdtemp(suffix, prefix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params dir = gettempdir() File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir tempdir = _get_default_tempdir() File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir raise FileNotFoundError(_errno.ENOENT, FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
Reko: Error decompiling: Traceback (most recent call last): File "decompile_recstudio.py", line 59, in <module> main() File "decompile_recstudio.py", line 14, in main with tempfile.TemporaryDirectory() as tempdir: File "/usr/local/lib/python3.8/tempfile.py", line 780, in __init__ self.name = mkdtemp(suffix, prefix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 347, in mkdtemp prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir) File "/usr/local/lib/python3.8/tempfile.py", line 117, in _sanitize_params dir = gettempdir() File "/usr/local/lib/python3.8/tempfile.py", line 286, in gettempdir tempdir = _get_default_tempdir() File "/usr/local/lib/python3.8/tempfile.py", line 218, in _get_default_tempdir raise FileNotFoundError(_errno.ENOENT, FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/decompiler_user']
RetDec and Snowman are the only ones that work on a sample app supplied.
If I get time, I'll upload another app to test it, which will introduces a new technique.
I know for a fact Ghidra should work because I've used it myself.