Skip to content

MTA: sliced-pipeline coverage tests#190

Open
JoelYYoung wants to merge 8 commits into
SVF-tools:masterfrom
JoelYYoung:msli-pr
Open

MTA: sliced-pipeline coverage tests#190
JoelYYoung wants to merge 8 commits into
SVF-tools:masterfrom
JoelYYoung:msli-pr

Conversation

@JoelYYoung

Copy link
Copy Markdown

Adds test cases exercising the multi-stage on-demand slicing (MSli) MTA pipeline; companion to SVF-tools/SVF#1852.

  • New ctest suites: whole-program baseline (-enable-slicing=false), single unified slice (-slicing-single), observe mode (-observe), main-ila-sliced, and saber -saber-full-svfg.
  • New programs no_data_race and single_threaded, covering the pipeline's "no race pairs" and "no thread functions" guard paths.

🤖 Generated with Claude Code

JoelYYoung and others added 7 commits July 2, 2026 16:37
New ctest suites (whole-program, single-slice, observe, main-ila, saber full-svfg) plus no_data_race and single_threaded cases covering the pipeline's guard paths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Use concise, descriptive names matching the suite's style.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add mta_race_count_tests: for each known program, assert the exact sliced (MSli) and whole-program (FSAM) race count, so a silent mis-detection or a sliced/whole divergence fails the suite. The other MTA suites only check that mta runs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The in-tool MTA annotation validation was removed in the refactor, so these grep-based ctest assertions were inconsistent with the rest of the (exit-code) MTA suite.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@yuleisui

yuleisui commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Better to rename the option to be mta-slicing rather than -enable-slicing. Pls also change other options to make them explicitly related to mta

Follow the SVF option rename: -enable-slicing -> -mta-enable-slicing,
-mt-flow-sensitive -> -mta-flow-sensitive, -slicing-single -> -mta-slicing-single.
Drop the main-ila-sliced and observe test blocks (those options were removed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants