[bug] ldlogger escaping characters #4208
Labels
analyzer 📈
Related to the analyze commands (analysis driver)
ld-logger 📃
tools 🛠️
Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc.
Describe the bug
There exists the content like:
in the makefile.
and when we set the environment variables as following
https://github.com/Ericsson/codechecker/blob/master/analyzer/tools/build-logger/README.md
and then we generate compile_commands.json.There exists -D__MACRO__=\\\"xxx/xxx.c\\\" in the value of the "command" in the compile_commands.json because it will dump buff_ into the file as is.
\\\" is expected in the shell case.
But in the case of dumping buff_ into file, \" should be what we expected.
The text was updated successfully, but these errors were encountered: