Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] ldlogger escaping characters #4208

Open
superkaiy opened this issue Apr 3, 2024 · 0 comments
Open

[bug] ldlogger escaping characters #4208

superkaiy opened this issue Apr 3, 2024 · 0 comments
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.

Comments

@superkaiy
Copy link

superkaiy commented Apr 3, 2024

Describe the bug
There exists the content like:
image
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.

@whisperity whisperity added analyzer 📈 Related to the analyze commands (analysis driver) tools 🛠️ Meta-tag for all the additional tools supplied with CodeChecker: plist2html, tu_collector, etc. ld-logger 📃 labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

2 participants