-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Java/C++/C#: Add nodes predicate to PathGraph. #1881
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This means we should be able to get rid of the direct source-to-sink step (https://github.com/aschackmull/ql/blob/a898f5781e9bff1b5dce747d18a8c37ccb47aada/cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll#L1662), right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expected test output still needs updating.
a898f57
to
6299625
Compare
I've included a commit to fix the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment above.
Possibly, yes. But I think that's best left to a separate PR. This is about getting the right |
OK, I would have thought the two would go together; the sink-to-source step was basically a workaround needed because of the missing |
Language-Tests/Java is btw. not expected to succeed here, but it is green on the internal PR. |
This ensures that we show the
toString
and thus the accesspath in all contexts, in particular lgtm.com.