File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
go/ql/lib/semmle/go/security Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -151,18 +151,18 @@ deprecated class ConversionWithoutBoundsCheckConfig extends TaintTracking::Confi
151
151
}
152
152
153
153
/** Flow state for ConversionWithoutBoundsCheckConfig. */
154
- newtype MyFlowState =
154
+ newtype IntegerConversionFlowState =
155
155
/** Keep track of info about the source and potential sinks. */
156
156
TFlowstate ( boolean sinkIsSigned , int sourceBitSize , int sinkBitSize ) {
157
157
sinkIsSigned in [ true , false ] and
158
158
isIncorrectIntegerConversion ( sourceBitSize , sinkBitSize )
159
159
}
160
160
161
161
/** Gets the bit size of the source. */
162
- int getSourceBitSize ( MyFlowState state ) { state = TFlowstate ( _, result , _) }
162
+ int getSourceBitSize ( IntegerConversionFlowState state ) { state = TFlowstate ( _, result , _) }
163
163
164
164
private module ConversionWithoutBoundsCheckConfig implements DataFlow:: StateConfigSig {
165
- class FlowState = MyFlowState ;
165
+ class FlowState = IntegerConversionFlowState ;
166
166
167
167
predicate isSource ( DataFlow:: Node source , FlowState state ) {
168
168
exists (
You can’t perform that action at this time.
0 commit comments