Skip to content

Commit da34da7

Browse files
committed
Merge branch 'main' into commandinject2
2 parents 4c8accd + 022a066 commit da34da7

File tree

170 files changed

+10798
-1052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+10798
-1052
lines changed

cpp/downgrades/d77c09d8bdc172c9201dec293de1e14c931d3f05/old.dbscheme

Lines changed: 2212 additions & 0 deletions
Large diffs are not rendered by default.

cpp/downgrades/d77c09d8bdc172c9201dec293de1e14c931d3f05/semmlecode.cpp.dbscheme

Lines changed: 2212 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
description: Remove _Float128 type
2+
compatibility: full
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: minorAnalysis
3+
---
4+
* The `_Float128x` type is no longer exposed as a builtin type. As this type could not occur any code base, this should only affect queries that explicitly looked at the builtin types.

cpp/ql/lib/semmle/code/cpp/Type.qll

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,6 @@ private predicate floatingPointTypeMapping(
814814
// _Float128
815815
kind = 49 and base = 2 and domain = TRealDomain() and realKind = 49 and extended = false
816816
or
817-
// _Float128x
818-
kind = 50 and base = 2 and domain = TRealDomain() and realKind = 50 and extended = true
819-
or
820817
// _Float16
821818
kind = 52 and base = 2 and domain = TRealDomain() and realKind = 52 and extended = false
822819
or
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
private import DataFlowImplSpecific
2-
private import codeql.dataflow.DataFlowImpl
2+
private import codeql.dataflow.internal.DataFlowImpl
33
import MakeImpl<CppOldDataFlow>

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl1.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ private module Config implements FullStateConfigSig {
276276
getConfig(state).isSource(source) and getState(state) instanceof FlowStateEmpty
277277
}
278278

279+
predicate isSink(Node sink) { none() }
280+
279281
predicate isSink(Node sink, FlowState state) {
280282
getConfig(state).isSink(sink, getState(state))
281283
or

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ private module Config implements FullStateConfigSig {
276276
getConfig(state).isSource(source) and getState(state) instanceof FlowStateEmpty
277277
}
278278

279+
predicate isSink(Node sink) { none() }
280+
279281
predicate isSink(Node sink, FlowState state) {
280282
getConfig(state).isSink(sink, getState(state))
281283
or

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ private module Config implements FullStateConfigSig {
276276
getConfig(state).isSource(source) and getState(state) instanceof FlowStateEmpty
277277
}
278278

279+
predicate isSink(Node sink) { none() }
280+
279281
predicate isSink(Node sink, FlowState state) {
280282
getConfig(state).isSink(sink, getState(state))
281283
or

cpp/ql/lib/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,8 @@ private module Config implements FullStateConfigSig {
276276
getConfig(state).isSource(source) and getState(state) instanceof FlowStateEmpty
277277
}
278278

279+
predicate isSink(Node sink) { none() }
280+
279281
predicate isSink(Node sink, FlowState state) {
280282
getConfig(state).isSink(sink, getState(state))
281283
or

0 commit comments

Comments
 (0)