Skip to content

Commit adfaae0

Browse files
committed
Cache interpretElement
1 parent 479ea9f commit adfaae0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

go/ql/lib/semmle/go/dataflow/ExternalFlow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ private string interpretPackage(string p) {
279279
}
280280

281281
/** Gets the source/sink/summary element corresponding to the supplied parameters. */
282+
cached
282283
SourceSinkInterpretationInput::SourceOrSinkElement interpretElement(
283284
string pkg, string type, boolean subtypes, string name, string signature, string ext
284285
) {

0 commit comments

Comments
 (0)