saveourtool/kompiledb

Implement advanced raw `command` parsing

0x6675636b796f75676974687562 opened this issue · 2 comments

  • support character escapes (clang file\ with\ spaces\ in\ name.c)
  • prohibit I/O redirections (>, >>, <)
  • prohibit environment variable expansions (%VAR%, $VAR, ${VAR})
  • prohibit subshell invocations (POSIX only, via backticks or $(command))
  • prohibit command grouping ((clang --version), {clang --version})
  • prohibit command chaining (& (Windows only), |, &&, ||, ; (POSIX only))
  • prohibit background jobs (POSIX oly, command &)

This issue reminds me of something...

This issue reminds me of something...

Yeah...