File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ open System.Reflection
8
8
open System.Collections .Generic
9
9
open Microsoft.FSharp .Collections
10
10
open VSharp
11
+ open VSharp.Core
11
12
12
13
type ICallGraphNode =
13
14
inherit IGraphNode< ICallGraphNode>
@@ -519,7 +520,7 @@ and IGraphTrackableState =
519
520
abstract member CodeLocation: codeLocation
520
521
abstract member CallStack: list < Method >
521
522
abstract member Id: uint < stateId >
522
- abstract member PathConditionSize: uint
523
+ abstract member PathCondition: pathCondition
523
524
abstract member VisitedNotCoveredVerticesInZone: uint with get
524
525
abstract member VisitedNotCoveredVerticesOutOfZone: uint with get
525
526
abstract member VisitedAgainVertices: uint with get
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ type pathCondition = pset<term>
7
7
// - PC does not contain True
8
8
// - if PC contains False then False is the only element in PC
9
9
10
- module internal PC =
10
+ module PC =
11
11
12
12
let public empty : pathCondition = PersistentSet.empty< term>
13
13
let public isEmpty pc = PersistentSet.isEmpty pc
Original file line number Diff line number Diff line change @@ -544,7 +544,7 @@ module CilState =
544
544
override this.CodeLocation = this.approximateLoc
545
545
override this.CallStack = Memory.StackTrace this.state.memory.Stack |> List.map ( fun m -> m :?> Method)
546
546
override this.Id = this.internalId
547
- override this.PathConditionSize with get () = PersistentSet.cardinality this.state.pc |> uint32
547
+ override this.PathCondition with get () = this.state.pc
548
548
override this.VisitedAgainVertices with get () = this.visitedAgainVertices
549
549
override this.VisitedNotCoveredVerticesInZone with get () = this.visitedNotCoveredVerticesInZone
550
550
override this.VisitedNotCoveredVerticesOutOfZone with get () = this.visitedNotCoveredVerticesOutOfZone
You can’t perform that action at this time.
0 commit comments