No description
- C++ 88.2%
- Shell 5.7%
- CMake 4.2%
- C 1.9%
| models | ||
| src | ||
| test | ||
| third_party | ||
| .clang-format | ||
| .gitignore | ||
| .gitmodules | ||
| build.sh | ||
| CMakeLists.txt | ||
| format.sh | ||
| LICENSE.txt | ||
| README.md | ||
llvm-llm-ub-resolver
A joke that I could not just stop working on Clang plugin that loads an LLM inside the compiler and asks it to fix undefined behavior in your C code.
Nothing says "reliable build pipeline" like a 0.5B parameter model running in your compilation step.
Build
cmake -B build -S . -DLLVM_DIR=$(llvm-config --cmakedir)
cmake --build build -j $(nproc)
Demo
./models/download_model.sh
./test/run_demo.sh
Compiles with the plugin, generates the "fixed" file, compiles the "fixed" version, and shows a diff.