| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| --- | ||
| category: minorAnalysis | ||
| --- | ||
| * Implemented support for data flow through trait functions. For the purpose of data flow, calls to trait functions dispatch to all possible implementations. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| Expand Up | @@ -32,6 +32,8 @@ | |
| * - `Field[t(i)]`: position `i` inside the variant/struct with canonical path `v`, for example | ||
| * `Field[core::option::Option::Some(0)]`. | ||
| * - `Field[i]`: the `i`th element of a tuple. | ||
| * - `Reference`: the referenced value. | ||
| * - `Future`: the value being computed asynchronously. | ||
|
Comment thread
Copy link
Copy Markdown
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityGood spot. 👍
Sorry, something went wrong.
hvitved reacted with heart emoji
All reactions
|
||
| * 3. The `kind` column is a tag that can be referenced from QL to determine to | ||
| * which classes the interpreted elements should be added. For example, for | ||
| * sources `"remote"` indicates a default remote flow source, and for summaries | ||
| Expand Down Expand Up | @@ -211,6 +213,10 @@ private class SummarizedCallableFromModel extends SummarizedCallable::Range { | |
| this.getCanonicalPath() = path | ||
| } | ||
|
|
||
| override predicate hasProvenance(Provenance provenance) { | ||
| summaryModel(path, _, _, _, provenance, _) | ||
| } | ||
|
|
||
| override predicate propagatesFlow( | ||
| string input, string output, boolean preservesValue, string model | ||
| ) { | ||
| Expand Down | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| multipleCallTargets | ||
| | main.rs:225:14:225:29 | ...::deref(...) | | ||
| | main.rs:272:14:272:29 | ...::deref(...) | |
| Back | FazBrowse Home | New Git URL |
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.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality[nitpick] The viableCallable definition contains deeply nested exists and or expressions; extracting the trait-dispatch logic into a helper predicate could improve readability and maintenance.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.