mirror of
https://github.com/github/codeql.git
synced 2026-06-03 04:40:14 +02:00
formatting
This commit is contained in:
@@ -10,24 +10,4 @@ private import codeql.rangeanalysis.Bound as SharedBound
|
||||
|
||||
private module BoundImpl = SharedBound::Bound<J::Location, BoundSpecific::BoundDefs>;
|
||||
|
||||
/**
|
||||
* A bound that may be inferred for an expression plus/minus an integer delta.
|
||||
*/
|
||||
class Bound = BoundImpl::Bound;
|
||||
|
||||
/**
|
||||
* The bound that corresponds to the integer 0. This is used to represent all
|
||||
* integer bounds as bounds are always accompanied by an added integer delta.
|
||||
*/
|
||||
class ZeroBound = BoundImpl::ZeroBound;
|
||||
|
||||
/**
|
||||
* A bound corresponding to the value of an SSA variable.
|
||||
*/
|
||||
class SsaBound = BoundImpl::SsaBound;
|
||||
|
||||
/**
|
||||
* A bound that corresponds to the value of a specific expression that might be
|
||||
* interesting, but isn't otherwise represented by the value of an SSA variable.
|
||||
*/
|
||||
class ExprBound = BoundImpl::ExprBound;
|
||||
import BoundImpl
|
||||
|
||||
@@ -29,4 +29,4 @@ module BoundDefs implements SharedBound::BoundDefinitions<J::Location> {
|
||||
predicate interestingExprBound(Expr e) {
|
||||
e.(J::FieldRead).getField() instanceof J::ArrayLengthField
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user