-
Notifications
You must be signed in to change notification settings - Fork 440
Open
Description
Describe the bug
If the source code file is within a folder that starts with the @ symbol then CodeChecker is not able to find the file during analysis.
CodeChecker version
6.26.1 (2025-07-14T22:10)
To Reproduce
Steps to reproduce the behaviour:
- From the command line, create a folder for a simple project and enter it
- Create a subfolder named @folder
- Create a file called @folder/main.cpp with the contents:
int main() { return 0; } - Create a top-level Makefile with the contents:
default:
clang -o app @folder/main.cpp
- Run
CodeChecker log --build make --output compile_commands.json - Run
CodeChecker analyze compile_commands.json --enable sensitive --output reports
This produces the error "Response file '.../folder/main.cpp' does not exist".
Expected behaviour
It should be able to find the file in '.../@folder/main.cpp'. Note that the compile_commands.json file does correctly identify the path of the file. It is the 'analyze' command that for some reason drops it from the path.
Metadata
Metadata
Assignees
Labels
No labels