Skip to content
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

chore(deps-dev): bump semgrep from 1.95.0 to 1.96.0 #110

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 8, 2024

Bumps semgrep from 1.95.0 to 1.96.0.

Release notes

Sourced from semgrep's releases.

Release v1.96.0

1.96.0 - 2024-11-07

Added

  • The pro engine now handles duplicate function names in C. When duplicate functions are found, we assume that any of the duplicated functions could be called. For example, if the function foo is defined in two different files, taint errors will be reported for both instances:

    // "a/test.h"
    void foo(int x) {
        //deepruleid: dup-symbols
        sink(x);
    }
    

    // "b/test.h"
    void foo(int x) {
    //deepruleid: dup-symbols
    sink(x);
    }

    // "main.c"
    #ifdef HEADER_A
    #include "a/test.h"
    #else
    #include "b/test.h"
    #endif

    int main() {
    int x = source();
    foo(x);
    }

    
    

    </code></pre>
    </li>
    </ul>
    <h3>Changed</h3>
    <ul>
    <li>Reduced memory allocations while processing nosemgrep comments, improving memory use and time for scans with a large number of findings. (nosem-mem)</li>
    </ul>
    <h3>Fixed</h3>
    <ul>
    <li>Optimized taint-mode (only in Pro) to scale better when there is a large number
    of matches of sources/propagators/sanitizers/sinks within a function. (flow-83)</li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Changelog</summary>

    <p><em>Sourced from <a href="https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md&quot;&gt;semgrep's changelog</a>.</em></p>
    <blockquote>
    <h2><a href="https://github.com/returntocorp/semgrep/releases/tag/v1.96.0&quot;&gt;1.96.0&lt;/a> - 2024-11-07</h2>
    <h3>Added</h3>
    <ul>
    <li>
    <p>The pro engine now handles duplicate function names in C. When duplicate
    functions are found, we assume that any of the duplicated functions could be
    called. For example, if the function <code>foo</code> is defined in two different files,
    taint errors will be reported for both instances:</p>
    <pre><code>// &quot;a/test.h&quot;
    void foo(int x) {
    //deepruleid: dup-symbols
    sink(x);
    }

    // &quot;b/test.h&quot;
    void foo(int x) {
    //deepruleid: dup-symbols
    sink(x);
    }

    // &quot;main.c&quot;
    #ifdef HEADER_A
    #include &quot;a/test.h&quot;
    #else
    #include &quot;b/test.h&quot;
    #endif

    int main() {
    int x = source();
    foo(x);
    }

    
    
    &lt;/code&gt;&lt;/pre&gt;
    &lt;/li&gt;
    &lt;/ul&gt;
    &lt;h3&gt;Changed&lt;/h3&gt;
    &lt;ul&gt;
    &lt;li&gt;Reduced memory allocations while processing nosemgrep comments, improving memory use and time for scans with a large number of findings. (nosem-mem)&lt;/li&gt;
    &lt;/ul&gt;
    &lt;h3&gt;Fixed&lt;/h3&gt;
    &lt;ul&gt;
    &lt;li&gt;Optimized taint-mode (only in Pro) to scale better when there is a large number
    of matches of sources/propagators/sanitizers/sinks within a function. (flow-83)&lt;/li&gt;
    &lt;li&gt;Fixed a bug in the supply chain scanner's gradle lockfile parser. Previously, semgrep would fail to parse&lt;/li&gt;
    &lt;/ul&gt;
    &lt;!-- raw HTML omitted --&gt;
    &lt;/blockquote&gt;
    &lt;p&gt;... (truncated)&lt;/p&gt;
    &lt;/details&gt;
    &lt;details&gt;
    &lt;summary&gt;Commits&lt;/summary&gt;
    
    &lt;ul&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/e743e2d243c83e6ba20e8f2096569f7383c00239&quot;&gt;&lt;code&gt;e743e2d&lt;/code&gt;&lt;/a&gt; chore: release version 1.96.0&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/497836cd643b7222a475296858c67841be605d74&quot;&gt;&lt;code&gt;497836c&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2577&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/c9686ca8ab9fcabf93267dd5cfe9c5525d5cf6c6&quot;&gt;&lt;code&gt;c9686ca&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2574&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/6a001bc5842955c66ae0f136d68a009868dbadef&quot;&gt;&lt;code&gt;6a001bc&lt;/code&gt;&lt;/a&gt; Add test for updating PATH to scripts directory (semgrep/semgrep-proprietary#...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/71f1556517c7d770ce6491f873e4fa1d53c2111d&quot;&gt;&lt;code&gt;71f1556&lt;/code&gt;&lt;/a&gt; refactor: move is_logged_in_weak() to Semgrep_login.ml (semgrep/semgrep-propr...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/298e2dfc9276c324e9b24eb849c98ed4ca41ded5&quot;&gt;&lt;code&gt;298e2df&lt;/code&gt;&lt;/a&gt; pro: tainting: Improve time complexity of taint spec predicates (semgrep/semg...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/5b06af334a09ac77e5f98f19dcc866eaf8e3eb8d&quot;&gt;&lt;code&gt;5b06af3&lt;/code&gt;&lt;/a&gt; Switching to osemgrep for the gitlab-xxx output format (semgrep/semgrep-propr...&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/913b96e0b13c25ff2269e3ecd27e56c0af5dab3e&quot;&gt;&lt;code&gt;913b96e&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2570&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/26c0b1b64e5d46e57b9b567358d412f58417a093&quot;&gt;&lt;code&gt;26c0b1b&lt;/code&gt;&lt;/a&gt;&lt;code&gt;semgrep/semgrep-proprietary#2548&lt;/code&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href=&quot;https://github.com/semgrep/semgrep/commit/07ff4374d20d34f660f163da4ce19fc55972ff9e&quot;&gt;&lt;code&gt;07ff437&lt;/code&gt;&lt;/a&gt; Update PATH from entrypoint parent directory to scripts directory (semgrep/se...&lt;/li&gt;
    &lt;li&gt;Additional commits viewable in &lt;a href=&quot;https://github.com/returntocorp/semgrep/compare/v1.95.0...v1.96.0&quot;&gt;compare view&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
    &lt;/details&gt;
    
    &lt;br /&gt;
    </code></pre>
    
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=semgrep&package-manager=pip&previous-version=1.95.0&new-version=1.96.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
    
    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
    
    [//]: # (dependabot-automerge-start)
    [//]: # (dependabot-automerge-end)
    
    ---
    
    <details>
    <summary>Dependabot commands and options</summary>
    <br />
    
    You can trigger Dependabot actions by commenting on this PR:
    - `@dependabot rebase` will rebase this PR
    - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
    - `@dependabot merge` will merge this PR after your CI passes on it
    - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
    - `@dependabot cancel merge` will cancel a previously requested merge and block automerging
    - `@dependabot reopen` will reopen this PR if it is closed
    - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
    - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    
    
    </details>
    

Bumps [semgrep](https://github.com/returntocorp/semgrep) from 1.95.0 to 1.96.0.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.95.0...v1.96.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 8, 2024
Copy link
Contributor

mergify bot commented Nov 8, 2024

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Changelog requirements

Wonderful, this rule succeeded.
  • any of:
    • -title ~= ^feat
    • label = need changelog
    • label = skip changelog

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

@mergify mergify bot added queued and removed queued labels Nov 8, 2024
@mergify mergify bot merged commit 3abce32 into main Nov 8, 2024
9 checks passed
@mergify mergify bot deleted the dependabot/pip/semgrep-1.96.0 branch November 8, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Development

Successfully merging this pull request may close these issues.

0 participants