Skip to content

README language pedantry #2

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 2 commits into from
Aug 3, 2018
Merged

Conversation

nickrolfe
Copy link
Contributor

No description provided.

Copy link
Contributor

@pavgust pavgust left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@semmle-qlci semmle-qlci merged commit 282545e into github:master Aug 3, 2018
@nickrolfe nickrolfe deleted the readme-pedantry branch August 3, 2018 15:02
jbj pushed a commit that referenced this pull request Apr 11, 2019
We avoid putting a variable into SSA if its address is ever taken in a way that could allow mutation of the variable via indirection. We currently just look to see if the address is either "pointer to non-const" or "reference to non-const". However, if the address was cast to an integral type (e.g. `uintptr_t n = (uintptr_t)&x;`), we were treating it as unescaped. This change makes the conservative assumption that casting a pointer to an integer may result in the pointed-to value being modified later.

This fixes a customer-reported false positive (#2 from https://discuss.lgtm.com/t/2-false-positives-in-c-for-comparison-is-always-same/1943)
geoffw0 pushed a commit that referenced this pull request May 29, 2019
CPP: Minor corrections to: Better overflow detection for AssignAdd/AssignSub
semmle-qlci pushed a commit that referenced this pull request May 30, 2019
JavaScript: Update expected test output.
jbj pushed a commit that referenced this pull request Jan 29, 2020
Documentation update for Issue #2623
aschackmull pushed a commit that referenced this pull request Jun 19, 2020
aschackmull pushed a commit that referenced this pull request Jul 8, 2020
yoff pushed a commit that referenced this pull request Oct 20, 2020
…efinition

Python: Add test for tricky module member for type-tracking
aschackmull pushed a commit that referenced this pull request Nov 26, 2020
max-schaefer pushed a commit to max-schaefer/codeql that referenced this pull request Mar 23, 2021
Reintroduce type definitions to API graphs
owen-mc referenced this pull request in owen-mc/codeql Jun 25, 2021
aibaars added a commit that referenced this pull request Oct 14, 2021
smowton referenced this pull request in smowton/codeql Oct 28, 2021
Kotlin: Don't make a *Kt class unless we need one
hvitved added a commit that referenced this pull request Nov 18, 2021
This is in order to avoid name clash with the often so-named IPA type for data-
flow nodes. The name clash is not problematic because they are both in scope,
but because (cached) IPA types with overlapping names are known to sometimes
result in re-evaluation of cached stages, when one of the IPA types gets an
internal `#2` suffix in one query run, and the other IPA type gets the suffix
in another run.
hohn referenced this pull request in hohn/codeql Dec 13, 2021
Java: Add link to prebuilt Struts databases
geoffw0 pushed a commit that referenced this pull request Mar 7, 2022
cklin pushed a commit that referenced this pull request May 23, 2022
tiferet added a commit that referenced this pull request Aug 3, 2022
Feature selection: Use a shipping model with the new features excluding fileImports and calleeImports. Model #2.

github/ml-ql-adaptive-threat-modeling#1968 (comment)
hvitved added a commit that referenced this pull request Oct 10, 2022
DIL before
```
                                                   /* AST::AstNode */ AST#87953007::Cached::TAstNode result) =
  fastTC(AST#a6718388::AstNode::getAChild#0#dispred#ff/2)
.

Synthesis#d9ff06b1::isInDesugaredContext#1#f(/* AST::AstNode */ unique AST#87953007::Cached::TAstNode n)
:-
  exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
    arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
  );
  exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode call_result#2 |
    exists(int arg1,
           /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
      arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, call_result#2)
    ),
    #AST#a6718388::AstNode::getAChild#0#dispredPlus#ff(call_result#2, n)
  )
.
```

DIL after
```
incremental
Synthesis#d9ff06b1::isInDesugaredContext#1#f(/* AST::AstNode */ unique AST#87953007::Cached::TAstNode n)
:-
  exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
    arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
  );
  exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode any#expr##2 |
    rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(any#expr##2),
    exists(cached dontcare string _ |
      AST#a6718388::AstNode::getAChild#1#dispred(any#expr##2, _, n)
    )
  )
| [base_case]
  exists(int arg1, /* AST::AstNode */ dontcare AST#87953007::Cached::TAstNode _ |
    arg1 = -1, AST#87953007::Cached::getSynthChild#2(_, arg1, n)
  )
| [delta_order]
  exists(/* AST::AstNode */ AST#87953007::Cached::TAstNode any#expr##2 |
    delta previous rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(any#expr##2),
    project#AST#a6718388::AstNode::getAChild#1#dispred(any#expr##2, n)
  ),
  not(previous rec Synthesis#d9ff06b1::isInDesugaredContext#1#f(n))
.
``
owen-mc added a commit that referenced this pull request Jul 12, 2023
…used-parameters-2

Go: make `ParameterNode`s for unused parameters #2 (make a disjoint class for unused ones)
owen-mc referenced this pull request in owen-mc/codeql Aug 11, 2023
owen-mc referenced this pull request in owen-mc/codeql Aug 11, 2023
jketema pushed a commit that referenced this pull request Sep 5, 2024
C++: Fix zstd and clean up test
dbartol pushed a commit that referenced this pull request Dec 18, 2024
Refactor CfgScopes and Ast predicate names
dbartol pushed a commit that referenced this pull request Dec 18, 2024
Split sources by taint type
asgerf added a commit that referenced this pull request Feb 4, 2025
owen-mc added a commit that referenced this pull request Mar 25, 2025
Go: Add database source models for the github.com/couchbase/gocb package (#2)
owen-mc added a commit that referenced this pull request Mar 27, 2025
Go: Add `database` source models for the `squirrel` package (#2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants