Skip to content

Commit 0fb58ca

Browse files
owen-mcsmowton
andauthored
Update go/ql/lib/change-notes/2023-12-08-find-more-callees-for-captured-functions.md
Co-authored-by: Chris Smowton <[email protected]>
1 parent 2e2a82c commit 0fb58ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
2-
category: fix
2+
category: minorAnalysis
33
---
4-
* When a function literal refers to a variable which has function type, there was a bug that meant that we were not able to find any possible callees for calls to that variable. This has now been fixed.
4+
* `CallNode::getACallee` and related predicates now recognise more callees accessed via a function variable, in particular when the callee is stored into a global variable or is captured by an anonymous function. This may lead to new alerts where data-flow into such a callee is relevant.

0 commit comments

Comments
 (0)