Skip to content

No semgrep (file/directory) found #7

Description

@DuckSound0

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions