File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal
ruby/ql/lib/codeql/ruby/dataflow/internal Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -921,13 +921,15 @@ module Private {
921
921
922
922
private predicate inputNeedsReference ( string c ) {
923
923
c = "Argument" or
924
- parseArg ( c , _)
924
+ parseArg ( c , _) or
925
+ inputNeedsReferenceSpecific ( c )
925
926
}
926
927
927
928
private predicate outputNeedsReference ( string c ) {
928
929
c = "Argument" or
929
930
parseArg ( c , _) or
930
- c = "ReturnValue"
931
+ c = "ReturnValue" or
932
+ outputNeedsReferenceSpecific ( c )
931
933
}
932
934
933
935
private predicate sourceElementRef ( InterpretNode ref , string output , string kind ) {
Original file line number Diff line number Diff line change @@ -921,13 +921,15 @@ module Private {
921
921
922
922
private predicate inputNeedsReference ( string c ) {
923
923
c = "Argument" or
924
- parseArg ( c , _)
924
+ parseArg ( c , _) or
925
+ inputNeedsReferenceSpecific ( c )
925
926
}
926
927
927
928
private predicate outputNeedsReference ( string c ) {
928
929
c = "Argument" or
929
930
parseArg ( c , _) or
930
- c = "ReturnValue"
931
+ c = "ReturnValue" or
932
+ outputNeedsReferenceSpecific ( c )
931
933
}
932
934
933
935
private predicate sourceElementRef ( InterpretNode ref , string output , string kind ) {
You can’t perform that action at this time.
0 commit comments