-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Rust: Improve rust/ctor-initialization #18176
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
|
|
||
| fn call_target3_1() { | ||
| _ = stderr().write_all(b"Hello, world!"); // $ MISSING: Alert=source3_1 Alert=source3_3 Alert=source3_4 | ||
| _ = stderr().write_all(b"Hello, world!"); // $ Alert=source3_1 Alert=source3_3 MISSING: Alert=source3_4 |
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.
The source3_4 result is still missing because the call to bad3_3() has no getStaticTarget().
hvitved
left a comment
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.
One last thing, otherwise LGTM. Also, remember to run DCA before merging.
paldepind
left a comment
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.
Looks great. Also very instructive for me to see how a query like this is made.
Me too to be honest. I've reviewed and edited, but I think never created from scratch a |
Improve the
rust/ctor-initializationquery, adding so-called "transitive" results through calls where the target is in the database.