Skip to content

Commit a6db0b4

Browse files
committed
Pass path condition instead its size. Make PC not internal to use its methods.
1 parent f90bcbb commit a6db0b4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

VSharp.IL/CFG.fs

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ open System.Reflection
88
open System.Collections.Generic
99
open Microsoft.FSharp.Collections
1010
open VSharp
11+
open VSharp.Core
1112

1213
type ICallGraphNode =
1314
inherit IGraphNode<ICallGraphNode>
@@ -519,7 +520,7 @@ and IGraphTrackableState =
519520
abstract member CodeLocation: codeLocation
520521
abstract member CallStack: list<Method>
521522
abstract member Id: uint<stateId>
522-
abstract member PathConditionSize: uint
523+
abstract member PathCondition: pathCondition
523524
abstract member VisitedNotCoveredVerticesInZone: uint with get
524525
abstract member VisitedNotCoveredVerticesOutOfZone: uint with get
525526
abstract member VisitedAgainVertices: uint with get

VSharp.SILI.Core/PathCondition.fs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ type pathCondition = pset<term>
77
// - PC does not contain True
88
// - if PC contains False then False is the only element in PC
99

10-
module internal PC =
10+
module PC =
1111

1212
let public empty : pathCondition = PersistentSet.empty<term>
1313
let public isEmpty pc = PersistentSet.isEmpty pc

0 commit comments

Comments
 (0)