Skip to content

kight is a static analysis tool for c/c++ programs.

License

Notifications You must be signed in to change notification settings

Tel3text/knight

 
 

Repository files navigation

logo

Knight LanguageLicense

Knight is a static analysis tool for c/c++ programs written in C++20.

Install

knight dependencies:

  • cmake
  • llvm/clang(>=18 is best)

You can install llvm by your package manager

$ apt install llvm # for Ubuntu
$ brew install llvm # for Homebrew

or build from source.

$ cd knight
$ cmake -DLLVM_BUILD_DIR=/path/to/llvm/build -B path-to-build -S .
$ cmake --build path-to-build -j$(nproc)
$ path-to-build/bin/knight --help # for usages

Note: Knight only support C++20, so you need to use a compiler support C++20.

Troubleshooting

See TROUBLESHOOTING.md for more details.

Contributing

Contributions are welcome, See CONTRIBUTING.md for more details

Licence

Knight is MIT-licensed, see LICENSE for more details

About

kight is a static analysis tool for c/c++ programs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 95.8%
  • Python 2.8%
  • CMake 1.4%