File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -488,15 +488,20 @@ let collectGameState (basicBlocks: ResizeArray<BasicBlock>) filterStates =
488
488
for term in pathCondition do
489
489
pathConditionDelta.AddRange( collectPathCondition term)
490
490
491
- State(
492
- s.Id,
493
- ( uint <| s.CodeLocation.offset - currentBasicBlock.StartOffset + 1 < byte_ offset>)
494
- * 1 u< byte_ offset>,
491
+ let pathConditionRoot =
495
492
PathConditionVertex(
496
493
id = getFirstFreePathConditionVertexId (),
497
494
pathConditionVertexType = pathConditionVertexType.PathConditionRoot,
498
495
children = [| for p in pathCondition -> pathConditionVertices.[ p]. Id |]
499
- ),
496
+ )
497
+
498
+ pathConditionDelta.Add pathConditionRoot
499
+
500
+ State(
501
+ s.Id,
502
+ ( uint <| s.CodeLocation.offset - currentBasicBlock.StartOffset + 1 < byte_ offset>)
503
+ * 1 u< byte_ offset>,
504
+ pathConditionRoot,
500
505
s.VisitedAgainVertices,
501
506
s.VisitedNotCoveredVerticesInZone,
502
507
s.VisitedNotCoveredVerticesOutOfZone,
You can’t perform that action at this time.
0 commit comments