|
Download README.md from QCRI/LLMxCPG-Q: direct link, hf CLI and curl.
- Browser
- Download file 1.31 kB
-
https://huggingface.co/QCRI/LLMxCPG-Q/resolve/main/README.md
- Command line
-
hf download hf://QCRI/LLMxCPG-Q/README.md
-
curl -L -o README.md https://huggingface.co/QCRI/LLMxCPG-Q/resolve/main/README.md
1.31 kB
| license: apache-2.0 | |
| language: | |
| - en | |
| base_model: | |
| - Qwen/Qwen2.5-Coder-32B-Instruct | |
| tags: | |
| - Joern | |
| - Vulnerability Detection | |
| - Program Analysis | |
| # LLMxCPG-Q | |
| ## Model Description: | |
| LLMxCPG-Q is a specialized Large Language Model designed for vulnerability analysis. It is a fine-tuned version of the Qwen2.5-Coder-32B-Instruct model, specifically trained to generate CPGQL queries for use with the Joern static analysis tool. | |
| This model serves as the first phase of the LLMxCPG framework, which combines Code Property Graphs (CPG) with Large Language Models (LLM) for robust vulnerability detection. LLMxCPG-Q's core function is to generate precise queries that identify vulnerability-relevant execution paths in source code, enabling the creation of focused code slices. | |
| ## How it Works: | |
| The model takes a code snippet as input and outputs a valid CPGQL query. This query is then used by the Joern tool to traverse the Code Property Graph and extract a concise, vulnerability-focused code slice. This approach is highly effective because it overcomes the low-resource nature of the CPGQL language and allows for targeted program analysis. | |
| ## GitHub Repository: | |
| For more information, please visit the official GitHub repository: | |
| [https://github.com/qcri/llmxcpg](https://github.com/qcri/llmxcpg) | |