Skip to content

Fix shared Go CFG expression and return-edge regressions

3487858
Select commit
Loading
Failed to load commit list.
Draft

Go: migrate control flow graph to shared CFG library #21614

Fix shared Go CFG expression and return-edge regressions
3487858
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL completed Apr 29, 2026 in 7s

6 configurations not found

Warning: Code scanning may not have found all the alerts introduced by this pull request, because 6 configurations present on refs/heads/main were not found:

Actions workflow (rust-analysis.yml)

  • ❓  .github/workflows/rust-analysis.yml:analyze/language:rust

Actions workflow (csv-coverage-metrics.yml)

  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-csharp
  • ❓  .github/workflows/csv-coverage-metrics.yml:publish-java

Actions workflow (codeql-analysis.yml)

  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:actions
  • ❓  .github/workflows/codeql-analysis.yml:CodeQL-Build/language:csharp

Actions workflow (cpp-swift-analysis.yml)

  • ❓  .github/workflows/cpp-swift-analysis.yml:CodeQL-Build

New alerts in code changed by this pull request

  • 83 warnings
  • 7 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 901 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 895 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Superfluous 'exists' conjunct Warning

This conjunct is superfluous as the existence is implied by
this conjunct
.

Check warning on line 891 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 878 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 843 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 820 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 809 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 802 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 798 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 792 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Superfluous 'exists' conjunct Warning

This conjunct is superfluous as the existence is implied by
this conjunct
.

Check warning on line 788 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 759 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 716 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 704 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 690 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 681 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 677 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 654 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 631 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 574 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 185 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 942 in go/ql/lib/semmle/go/controlflow/IR.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant cast Warning

Redundant cast to
ReturnInstruction
.

Check warning on line 695 in go/ql/lib/semmle/go/controlflow/IR.qll

See this annotation in the file changed.

Code scanning / CodeQL

Redundant cast Warning

Redundant cast to
SignatureType
.

Check warning on line 1370 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.

Check warning on line 1351 in go/ql/lib/semmle/go/controlflow/ControlFlowGraphShared.qll

See this annotation in the file changed.

Code scanning / CodeQL

Dead code Warning

This code is never used, and it's not publicly exported.