Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Path condition #91

Merged
merged 8 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions .github/workflows/build_vsharp.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,39 @@
name: 'Build VSharp'

on:
workflow_call
[workflow_call, pull_request, push]

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '7.0.x'

- name: Checkout VSharp
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: false
- uses: actions/cache@v3

- uses: actions/cache@v4
id: nuget-cache
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', '**/*.fsproj') }}
restore-keys: |
${{ runner.os }}-nuget-

- name: Build VSharp
run:
dotnet build -c DebugTailRec
- uses: actions/upload-artifact@v3
dotnet build -c Release

- uses: actions/upload-artifact@v4
with:
name: runner
path: ./VSharp.Runner/bin/DebugTailRec/net7.0
- uses: actions/upload-artifact@v3

- uses: actions/upload-artifact@v4
with:
name: test_runner
path: ./VSharp.TestRunner/bin/DebugTailRec/net7.0
297 changes: 145 additions & 152 deletions VSharp.Explorer/AISearcher.fs

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion VSharp.IL/CFG.fs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ open System.Reflection
open System.Collections.Generic
open Microsoft.FSharp.Collections
open VSharp
open VSharp.Core

type ICallGraphNode =
inherit IGraphNode<ICallGraphNode>
Expand Down Expand Up @@ -519,7 +520,7 @@ and IGraphTrackableState =
abstract member CodeLocation: codeLocation
abstract member CallStack: list<Method>
abstract member Id: uint<stateId>
abstract member PathConditionSize: uint
abstract member PathCondition: pathCondition
abstract member VisitedNotCoveredVerticesInZone: uint with get
abstract member VisitedNotCoveredVerticesOutOfZone: uint with get
abstract member VisitedAgainVertices: uint with get
Expand Down
Loading
Loading