JetP1ane/Callisto

No semgrep (file/directory) found

Opened this issue · 0 comments

While running the tool, I get the following error:
[+] Decompiler Ran Successfully [+] Starting Analysis.. Traceback (most recent call last): File "/home/kali/Tools/Callisto/callisto.py", line 193, in <module> Callisto().controller() File "/home/kali/Tools/Callisto/callisto.py", line 74, in controller semgrepAnalysis, semgrepLineNumbs = self.semgrep(function) # Semgrep Analysis ^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Tools/Callisto/callisto.py", line 149, in semgrep return self.sgrep.analyzeC(function) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/kali/Tools/Callisto/sgrep/controller.py", line 30, in analyzeC sGrepResults = subprocess.run(["semgrep", "--config=sgrep/semgrep-rules-c/c", "--json", "sgrep/semgrep.c"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'semgrep'