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
c++ Protobuf Dataflow Interrupt #6500
Comments
|
Hi @mrlzh, I'm not an expert on the C++ libraries, so I'll just answer a few things in general:
We have a Work-In-Progress guide for how to do this, which you can see in https://github.com/github/codeql/blob/18b82444066ec84b28cbdde71a0af2ba072fb7ab/docs/codeql/writing-codeql-queries/debugging-a-data-flow-query-using-partial-flow.rst -- please do let me know if anything in there is confusing.
Could you highlight why you don't want to use something else? (For example, that you're writing multiple queries and want the same additional taint steps for all of them) |
Thanks for help.
Function hasPartialFlow is efficient. It shows all sink which source could taint.
Protobuf is public used.It is not a good idea to additional in every QL query.A global additional is more useful. |
|
If you're want to create a PR for us that introduces this modeling, I'm happy to ask the C++ team where this should be added. |
Code demo
Taint can not follow ”ttt.tttname().c_str()“
My question:
1.Is there a easyer way to find out where dataflow Interrupt?
2.It is difficult to confirm which nodes need to additional taint. eg:ttt to tttname()? tttname() to tttname_? tttname_ to GetNoArena()?
3.Any way to additional taint but not isAdditionalTaintStep?
thank you in advance for any help
The text was updated successfully, but these errors were encountered: