Compare commits

..
Author SHA1 Message Date
dependabot[bot] c9898854cb build(deps): bump the codeql-action group with 3 updates
Bumps the codeql-action group with 3 updates: [github/codeql-action/init](https://github.com/github/codeql-action), [github/codeql-action/analyze](https://github.com/github/codeql-action) and [github/codeql-action/upload-sarif](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.3 to 4.39.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/33d7b85da1a04171e211befe2c739303b9a4c066...1bd86f2fdb4b86187fa4059f16f31a3202acc9ea)

Updates `github/codeql-action/analyze` from 4.39.3 to 4.39.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/33d7b85da1a04171e211befe2c739303b9a4c066...1bd86f2fdb4b86187fa4059f16f31a3202acc9ea)

Updates `github/codeql-action/upload-sarif` from 4.39.3 to 4.39.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/33d7b85da1a04171e211befe2c739303b9a4c066...1bd86f2fdb4b86187fa4059f16f31a3202acc9ea)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
- dependency-name: github/codeql-action/upload-sarif
  dependency-version: 4.39.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-action
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-27 15:43:11 +00:00
6 changed files with 7 additions and 31 deletions

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ jobs:
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 uses: github/codeql-action/init@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
with: with:
languages: c-cpp languages: c-cpp
# Analyze the sources without compiling them. Autobuild compiled the # Analyze the sources without compiling them. Autobuild compiled the
@@ -47,4 +47,4 @@ jobs:
build-mode: none build-mode: none
- name: Perform CodeQL Analysis - name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 uses: github/codeql-action/analyze@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
+1 -1
View File
@@ -48,6 +48,6 @@ jobs:
output: 'flawfinder_results.sarif' output: 'flawfinder_results.sarif'
- name: Upload analysis results to GitHub Security tab - name: Upload analysis results to GitHub Security tab
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
with: with:
sarif_file: ${{github.workspace}}/flawfinder_results.sarif sarif_file: ${{github.workspace}}/flawfinder_results.sarif
+1 -1
View File
@@ -80,6 +80,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard. # Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning" - name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
with: with:
sarif_file: results.sarif sarif_file: results.sarif
+1 -1
View File
@@ -69,7 +69,7 @@ jobs:
# Upload SARIF file generated in previous step # Upload SARIF file generated in previous step
- name: Upload SARIF file - name: Upload SARIF file
uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 uses: github/codeql-action/upload-sarif@1bd86f2fdb4b86187fa4059f16f31a3202acc9ea # v4.39.4
with: with:
sarif_file: semgrep.sarif sarif_file: semgrep.sarif
if: always() if: always()
+1 -13
View File
@@ -1510,19 +1510,7 @@ class serializer
{ {
flush(); flush();
} }
#if defined(__GNUC__) && !defined(__clang__) std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
std::size_t copy_length = length;
// GCC knows from the test above that the length is below the size of
// the write buffer, and with that bound it may expand the memcpy into
// "rep movsq" (seen with -march=x86-64-v3 and -mtune=generic) instead
// of calling memcpy. For the short runs written here its start-up cost
// is far above that of the call (dump() with ensure_ascii 80 % slower
// on Sapphire Rapids), so hide the bound from the optimizer.
__asm__("" : "+r"(copy_length));
#else
const std::size_t copy_length = length;
#endif
std::memcpy(write_buffer.data() + write_buffer_pos, s, copy_length);
write_buffer_pos += length; write_buffer_pos += length;
} }
+1 -13
View File
@@ -39101,19 +39101,7 @@ class serializer
{ {
flush(); flush();
} }
#if defined(__GNUC__) && !defined(__clang__) std::memcpy(write_buffer.data() + write_buffer_pos, s, length);
std::size_t copy_length = length;
// GCC knows from the test above that the length is below the size of
// the write buffer, and with that bound it may expand the memcpy into
// "rep movsq" (seen with -march=x86-64-v3 and -mtune=generic) instead
// of calling memcpy. For the short runs written here its start-up cost
// is far above that of the call (dump() with ensure_ascii 80 % slower
// on Sapphire Rapids), so hide the bound from the optimizer.
__asm__("" : "+r"(copy_length));
#else
const std::size_t copy_length = length;
#endif
std::memcpy(write_buffer.data() + write_buffer_pos, s, copy_length);
write_buffer_pos += length; write_buffer_pos += length;
} }