File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
lib/semmle/code/cpp/ir/dataflow/internal
src/Likely Bugs/Leap Year Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,8 @@ abstract class Indirection extends Type {
190190 predicate isAdditionalConversionFlow ( Operand opFrom , Instruction instrTo ) { none ( ) }
191191}
192192
193- private class PointerOrArrayOrReferenceTypeIndirection extends Indirection instanceof PointerOrArrayOrReferenceType {
193+ private class PointerOrArrayOrReferenceTypeIndirection extends Indirection instanceof PointerOrArrayOrReferenceType
194+ {
194195 PointerOrArrayOrReferenceTypeIndirection ( ) {
195196 baseType = PointerOrArrayOrReferenceType .super .getBaseType ( )
196197 }
@@ -473,11 +474,13 @@ abstract class BaseSourceVariableInstruction extends Instruction {
473474}
474475
475476private class BaseIRVariableInstruction extends BaseSourceVariableInstruction ,
476- VariableAddressInstruction {
477+ VariableAddressInstruction
478+ {
477479 override BaseIRVariable getBaseSourceVariable ( ) { result .getIRVariable ( ) = this .getIRVariable ( ) }
478480}
479481
480- private class BaseAllocationInstruction extends BaseSourceVariableInstruction , AllocationInstruction {
482+ private class BaseAllocationInstruction extends BaseSourceVariableInstruction , AllocationInstruction
483+ {
481484 override BaseCallVariable getBaseSourceVariable ( ) { result .getCallInstruction ( ) = this }
482485}
483486
Original file line number Diff line number Diff line change @@ -289,7 +289,8 @@ module FiletimeYearArithmeticOperationCheckFlow =
289289/**
290290 * Taint configuration for finding an operation with hardcoded 365 that will flow into any known date/time field.
291291 */
292- deprecated class PossibleYearArithmeticOperationCheckConfiguration extends TaintTracking:: Configuration {
292+ deprecated class PossibleYearArithmeticOperationCheckConfiguration extends TaintTracking:: Configuration
293+ {
293294 PossibleYearArithmeticOperationCheckConfiguration ( ) {
294295 this = "PossibleYearArithmeticOperationCheckConfiguration"
295296 }
You can’t perform that action at this time.
0 commit comments