Repository navigation
Conversation
…sions-java Java: convert data extensions to JSON
…sions-shared Shared: convert data extensions to JSON
Moving the C++ library target only aligns solib ownership in standalone builds. When CodeQL is a dependency, the solib artifacts still live in the root repository's runfiles but are owned by the CodeQL repository, so rules_pkg 1.3 cannot resolve them. Overlay the extractor's runfiles with the original prebuilt shared libraries at the same installed destinations. This preserves package contents and permissions while using source paths that resolve correctly in both build layouts.
Also changes the `InterpolationContext` counter to use `u64` instead of `usize`.
…ects Python: treat await expressions as side-effecting
…ested-types Unified: Type inference for nested types
Ssa: Refactor DataFlowIntegration
No semantic
With Rust 1.100 Cargo now includes a lint for unused dependencies: https://blog.rust-lang.org/2026/11/12/Rust-1.100.0/#reporting-unused-dependencies-in-cargo Fix all results from the lint. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 7f912f98-5361-47d2-b1f3-46af0843e5e0
C#: Update the BMN Blazor test to .NET 11
Bump Rust toolchains
yeast: Add support for associating schemas with `tree!`/`trees!` calls.
…m-escape-consistency-check Type inference: Consistency check for escaping type parameters
Update CODEOWNERS to specify ownership for README.md and CODE_OF_CONDUCT.md. changes to general markdown files in the root should get caught by the overall CODEOWNERS rule
Bumps the extractor-dependencies group in /go/extractor with 1 update: [golang.org/x/mod](https://github.com/golang/mod). Updates `golang.org/x/mod` from 0.42.0 to 0.43.0 - [Commits](golang/mod@v0.42.0...v0.43.0) --- updated-dependencies: - dependency-name: golang.org/x/mod dependency-version: 0.43.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: extractor-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
…extractor/extractor-dependencies-9f099c314d Bump golang.org/x/mod from 0.42.0 to 0.43.0 in /go/extractor in the extractor-dependencies group
…return Rust: Model early `Err` returns in `?` expressions
…-default-json modelgenerator: default to generating JSON
…sions-python Python: convert data extensions to JSON
Port the additive Python SSA adapter and focused parity tests onto current main while preserving module-exit phis, captures, bindings, and legacy-shaped compatibility APIs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Switch the Python dataflow implementation and compatibility call sites to the shared CFG/SSA adapter. Generated expected-file conflicts remain on current-main outputs pending repository-standard regeneration. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Port the follow-up binding, guard-specialization, capture, and explicit-successor fixes while combining them with current main's optional conditional branches. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Regenerate the regression expectation through codeql test run --learn for the shared CFG/SSA activation on current main. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Regenerate the query expectation after shared dataflow activation exposes the additional interprocedural integer flow. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
|
QHelp previews: cpp/ql/src/Likely Bugs/Likely Typos/AmbiguousAssignmentOfComparison.qhelpAmbiguous assignment of comparison result used as truth valueAssignment operators have lower precedence than comparison operators. For example, RecommendationUse parentheses to make the intended order of operations explicit. To assign first and compare the assigned value, parenthesize the assignment. To intentionally assign the comparison result, parenthesize the comparison. An explicit cast around the comparison also makes that order clear. ExampleIn the first condition, int read_status();
int check_status() {
int status;
if (status = read_status() < 0) // BAD: assigns the comparison result.
return status;
if ((status = read_status()) < 0) // GOOD: assigns first, then compares.
return status;
return 0;
}
References
cpp/ql/src/Security/CWE/CWE-078/ExecTainted.qhelpUncontrolled data used in OS commandThe code passes user input as part of a call to RecommendationUse a library routine to escape characters in the user-supplied string before passing it to a command shell. ExampleThe following example runs an external command in two ways. The first way uses int main(int argc, char** argv) {
char *userName = argv[2];
{
// BAD: a string from the user is injected directly into
// a command line.
char command1[1000] = {0};
sprintf(command1, "userinfo -v \"%s\"", userName);
system(command1);
}
{
// GOOD: the user string is encoded by a library routine.
char userNameQuoted[1000] = {0};
encodeShellString(userNameQuoted, 1000, userName);
char command2[1000] = {0};
sprintf(command2, "userinfo -v %s", userNameQuoted);
system(command2);
}
}References
cpp/ql/src/experimental/Security/CWE/CWE-078/WordexpTainted.qhelpUncontrolled data used in
|
|
DCA launched: github/codeql-dca-main#40713
Two supported preflight exceptions were required: generation skipped source-repository access because the historical No follow-up DCA will be launched and the candidate will not be modified while this experiment is unresolved. |
|
DCA #40713 is complete. The isolated current-main comparison remains unfavorable, so activation is not recommended. Exact comparison:
Headline results:
Compared with the historical +9.824%/+7.70% findings, current main partially alleviates the regression (about 22-27% relative reduction), but does not remove it. The broad output changes and space costs reinforce the local deterministic conclusion: keep/narrow the adapter if useful, reject activation as-is, and investigate demand architecture rather than another broad cache. Detailed reports: https://github.com/github/codeql-dca-main/tree/data/PR-161-python-shared-ssa-current-main/reports |
Experimental current-main port
This draft ports the Python shared CFG/SSA adapter and dataflow activation from github#21923 and github#21925 onto the pinned current-main baseline for isolated performance measurement.
9ffea9596ef3a45ad8524ad2700836db2454472af6e989a86971765b667992661714ff9ab0257a99git diff --checkpassed.Local deterministic measurements show large lifecycle regressions (+62.48% joined tuples on NiceGUI, +47.73% on Langroid, +45.96% on DeepDiff). Central SSA caching reduces some duplicate liveness and Local-only shared-SSA plans, but does not remove the dominant CFG/local-flow cost.
This activation is not recommended for landing based on the local results. This draft exists only to obtain an isolated same-repository DCA fleet picture. It makes no landing claim.