Repository navigation
Feature flag: C/C++ overlay #3584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
899a672
Feature flag: C/C++ overlay
IdrissRio ce4a1fe
Feature flag: update generated lib after build
IdrissRio ab3b6fd
Feature flag: address copilot comment
IdrissRio 074a0db
Feature flag: update test without overlay support
IdrissRio 0d057cc
Add changelog note for C/C++ overlay
IdrissRio e6d83bc
Update CHANGELOG.md
IdrissRio 39191bd
Merge branch 'main' into idrissrio/cpp/overlay
IdrissRio File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next
Next commit
Feature flag: C/C++ overlay
- Loading branch information
commit 899a672743470450b412795e14a31a99ec17abae
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,7 @@ import * as defaults from "./defaults.json"; | |
| import { Logger } from "./logging"; | ||
| import { | ||
| CODEQL_OVERLAY_MINIMUM_VERSION, | ||
| CODEQL_OVERLAY_MINIMUM_VERSION_CPP, | ||
| CODEQL_OVERLAY_MINIMUM_VERSION_CSHARP, | ||
| CODEQL_OVERLAY_MINIMUM_VERSION_GO, | ||
| CODEQL_OVERLAY_MINIMUM_VERSION_JAVA, | ||
|
|
@@ -57,12 +58,14 @@ export enum Feature { | |
| IgnoreGeneratedFiles = "ignore_generated_files", | ||
| JavaNetworkDebugging = "java_network_debugging", | ||
| OverlayAnalysis = "overlay_analysis", | ||
| OverlayAnalysisCodeScanningCpp = "overlay_analysis_code_scanning_cpp", | ||
| OverlayAnalysisCodeScanningCsharp = "overlay_analysis_code_scanning_csharp", | ||
| OverlayAnalysisCodeScanningGo = "overlay_analysis_code_scanning_go", | ||
| OverlayAnalysisCodeScanningJava = "overlay_analysis_code_scanning_java", | ||
| OverlayAnalysisCodeScanningJavascript = "overlay_analysis_code_scanning_javascript", | ||
| OverlayAnalysisCodeScanningPython = "overlay_analysis_code_scanning_python", | ||
| OverlayAnalysisCodeScanningRuby = "overlay_analysis_code_scanning_ruby", | ||
| OverlayAnalysisCpp = "overlay_analysis_cpp", | ||
| OverlayAnalysisCsharp = "overlay_analysis_csharp", | ||
| /** Disable TRAP caching when overlay analysis is enabled. */ | ||
| OverlayAnalysisDisableTrapCaching = "overlay_analysis_disable_trap_caching", | ||
|
|
@@ -199,6 +202,11 @@ export const featureConfig = { | |
| // Per-language overlay feature flags. Each has minimumVersion set to the | ||
| // minimum CLI version that supports overlay analysis for that language. | ||
| // Only languages that are GA or in staff-ship should have feature flags here. | ||
| [Feature.OverlayAnalysisCodeScanningCpp]: { | ||
| defaultValue: false, | ||
| envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_CODE_SCANNING_CPP", | ||
| minimumVersion: CODEQL_OVERLAY_MINIMUM_VERSION_CPP, | ||
| }, | ||
| [Feature.OverlayAnalysisCodeScanningCsharp]: { | ||
| defaultValue: false, | ||
| envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_CODE_SCANNING_CSHARP", | ||
|
|
@@ -229,6 +237,11 @@ export const featureConfig = { | |
| envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_CODE_SCANNING_RUBY", | ||
| minimumVersion: CODEQL_OVERLAY_MINIMUM_VERSION_RUBY, | ||
| }, | ||
| [Feature.OverlayAnalysisCpp]: { | ||
| defaultValue: false, | ||
| envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_CPP", | ||
| minimumVersion: CODEQL_OVERLAY_MINIMUM_VERSION_CPP, | ||
| }, | ||
|
Comment on lines
+240
to
+244
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think this is necessary. |
||
| [Feature.OverlayAnalysisCsharp]: { | ||
| defaultValue: false, | ||
| envVar: "CODEQL_ACTION_OVERLAY_ANALYSIS_CSHARP", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.