-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Rust: Adopt shared flow summaries library #18130
base: main
Are you sure you want to change the base?
Conversation
1000 + i | ||
} | ||
|
||
fn sink(s: i64) { |
Check notice
Code scanning / CodeQL
Unused variable Note test
} | ||
|
||
// has a flow model | ||
fn identity(i: i64) -> i64 { |
Check notice
Code scanning / CodeQL
Unused variable Note test
} | ||
|
||
// has a flow model | ||
fn get_var_pos(e: MyPosEnum) -> i64 { |
Check notice
Code scanning / CodeQL
Unused variable Note test
} | ||
|
||
// has a flow model | ||
fn set_var_pos(i: i64) -> MyPosEnum { |
Check notice
Code scanning / CodeQL
Unused variable Note test
} | ||
|
||
// has a flow model | ||
fn get_var_field(e: MyFieldEnum) -> i64 { |
Check notice
Code scanning / CodeQL
Unused variable Note test
} | ||
|
||
// has a flow model | ||
fn set_var_field(i: i64) -> MyFieldEnum { |
Check notice
Code scanning / CodeQL
Unused variable Note test
result.asLibraryCallable() = this.getSummarizedCallable() | ||
} | ||
|
||
override EmptyLocation getLocation() { any() } |
Check warning
Code scanning / CodeQL
Override with unmentioned parameter Warning
result
( | ||
LocalFlow::localFlowStepCommon(nodeFrom, nodeTo) | ||
or | ||
exists(SsaImpl::DefinitionExt def, boolean isUseStep | |
Check warning
Code scanning / CodeQL
Omittable 'exists' variable Warning
in this argument
5812246
to
93367bb
Compare
06355a0
to
3bb1ae0
Compare
Introduces the class
SummarizedCallable
for defining flow summaries in QL. Models-as-data will be added follow-up.