Skip to content

Commit feb9b52

Browse files
committed
dbg
1 parent 670a172 commit feb9b52

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
unexpectedModel
2+
| Unexpected summary found: <test::option::MyOption>::as_deref;Argument[self].Reference.Field[test::option::MyOption::MySome(0)];ReturnValue.Field[test::option::MyOption::MySome(0)].Reference;value;dfc-generated |
23
expectedModel

shared/mad/codeql/mad/modelgenerator/internal/ModelGeneratorImpl.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,9 @@ module MakeModelGeneratorFactory<
649649
private module PropagateContentFlowConfig implements ContentDataFlow::ConfigSig {
650650
predicate isSource(DataFlow::Node source) {
651651
source instanceof DataFlow::ParameterNode and
652-
getEnclosingCallable(source) instanceof DataFlowSummaryTargetApi
652+
getEnclosingCallable(source) instanceof DataFlowSummaryTargetApi //and
653+
// source.getLocation().getStartLine() = 315 and
654+
// source.getLocation().getStartColumn() > 36
653655
}
654656

655657
predicate isSink(DataFlow::Node sink) {

0 commit comments

Comments
 (0)