mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
677 B
677 B
0.5.2
Minor Analysis Improvements
- Fixed data flow through variadic function parameters. The arguments corresponding to a variadic parameter are no longer returned by
CallNode.getArgument(int i)andCallNode.getAnArgument(), and hence aren'tArgumentNodes. They now have one result, which is anImplicitVarargsSlicenode. For example, a callf(a, b, c)to a functionf(T...)is treated likef([]T{a, b, c}). The old behaviour is preserved byCallNode.getSyntacticArgument(int i)andCallNode.getASyntacticArgument().CallExpr.getArgument(int i)andCallExpr.getAnArgument()are unchanged, and will still have three results in the example given.