Skip to content

What files do "ctu_connections" actually contain? #4220

Answered by whisperity
sahil-time asked this question in Q&A
Discussion options

You must be logged in to vote

It's not CodeChecker's decision, we only read the list of files the analyser actively looked into during an executed analysis:

def collect_ctu_involved_files(result_handler, source_analyzer, output_dir):
"""
This function collects the list of source files involved by CTU analysis.
The list of files are written to output_dir.
"""
if source_analyzer.ANALYZER_NAME != ClangSA.ANALYZER_NAME:
return
involved_files = set()
involved_files.update(source_analyzer.get_analyzer_mentioned_files(
result_handler.analyzer_stdout))
involved_files

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sahil-time
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question ❔ clang sa 🐉 The Clang Static Analyzer is a source code analysis tool that finds bugs in C-family programs.
2 participants