Skip to content

Commit 64a374e

Browse files
committed
Rename
1 parent 31ff087 commit 64a374e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

usvm-ts/src/main/kotlin/org/usvm/machine/expr/ExprUtil.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ fun TsContext.checkReadingInRange(
249249
)
250250
}
251251

252-
fun TsContext.checkLengthBounds(
252+
fun TsContext.ensureLengthBounds(
253253
scope: TsStepScope,
254254
length: UExpr<TsSizeSort>,
255255
maxLength: Int,

usvm-ts/src/main/kotlin/org/usvm/machine/expr/ReadLength.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fun TsContext.readArrayLength(
5959
}
6060

6161
// Check that the length is within the allowed bounds.
62-
checkLengthBounds(scope, length, maxArraySize) ?: return null
62+
ensureLengthBounds(scope, length, maxArraySize) ?: return null
6363

6464
// Convert the length to fp64.
6565
return mkBvToFpExpr(

0 commit comments

Comments
 (0)