Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a8742ea

Browse files
committed
C++: PascalCase and US spelling fixes.
1 parent db60360 commit a8742ea

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/DataFlowUtil.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ class InitialGlobalValue extends Node, TInitialGlobalValue {
740740
/**
741741
* A data-flow node used to model flow summaries. That is, a dataflow node
742742
* that is synthesized to represent a parameter, return value, or other part
743-
* of a models-as-data modelled function.
743+
* of a models-as-data modeled function.
744744
*/
745745
class FlowSummaryNode extends Node, TFlowSummaryNode {
746746
FlowSummaryImpl::Private::SummaryNode getSummaryNode() { this = TFlowSummaryNode(result) }
@@ -1972,7 +1972,7 @@ private module Cached {
19721972
simpleLocalFlowStep(nodeFrom, nodeTo)
19731973
or
19741974
// models-as-data summarized flow for local data flow (i.e. special case for flow
1975-
// through calls to modelled functions, without relying on global dataflow to join
1975+
// through calls to modeled functions, without relying on global dataflow to join
19761976
// the dots).
19771977
FlowSummaryImpl::Private::Steps::summaryThroughStepValue(nodeFrom, nodeTo, _)
19781978
}

cpp/ql/lib/semmle/code/cpp/ir/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ predicate localTaintStep(DataFlow::Node nodeFrom, DataFlow::Node nodeTo) {
2323
localAdditionalTaintStep(nodeFrom, nodeTo)
2424
or
2525
// models-as-data summarized flow for local data flow (i.e. special case for flow
26-
// through calls to modelled functions, without relying on global dataflow to join
26+
// through calls to modeled functions, without relying on global dataflow to join
2727
// the dots).
2828
FlowSummaryImpl::Private::Steps::summaryThroughStepTaint(nodeFrom, nodeTo, _)
2929
}

cpp/ql/lib/semmle/code/cpp/models/implementations/ZMQ.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import semmle.code.cpp.models.interfaces.FlowSource
77
/**
88
* Remote flow sources.
99
*/
10-
private class ZMQSource extends SourceModelCsv {
10+
private class ZmqSource extends SourceModelCsv {
1111
override predicate row(string row) {
1212
row =
1313
[
@@ -21,7 +21,7 @@ private class ZMQSource extends SourceModelCsv {
2121
/**
2222
* Remote flow sinks.
2323
*/
24-
private class ZMQSinks extends SinkModelCsv {
24+
private class ZmqSinks extends SinkModelCsv {
2525
override predicate row(string row) {
2626
row =
2727
[

cpp/ql/lib/semmle/code/cpp/security/FlowSources.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ private class RemoteParameterSink extends RemoteFlowSink {
113113
/**
114114
* A remote flow sink defined in a CSV model.
115115
*/
116-
private class RemoteFlowFromCSVSink extends RemoteFlowSink {
117-
RemoteFlowFromCSVSink() { sinkNode(this, "remote-sink") }
116+
private class RemoteFlowFromCsvSink extends RemoteFlowSink {
117+
RemoteFlowFromCsvSink() { sinkNode(this, "remote-sink") }
118118

119119
override string getSinkType() { result = "remote flow sink" }
120120
}

cpp/ql/src/Security/CWE/CWE-497/ExposedSystemData.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ module ExposedSystemDataConfig implements DataFlow::ConfigSig {
2727
sink instanceof RemoteFlowSink
2828
or
2929
// workaround for cases where the sink contains the tainted thing as a child; this could
30-
// probably be handled better with taint inheriting content or similar modelling.
30+
// probably be handled better with taint inheriting content or similar modeling.
3131
exists(RemoteFlowSink sinkNode |
3232
sinkNode.asIndirectExpr().getAChild*() = sink.asIndirectExpr()
3333
)

0 commit comments

Comments
 (0)