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

Segfault when post mutation check is disable and the max number of tests per mutant is reached #1

Open
thierry-tct opened this issue Dec 6, 2021 · 2 comments

Comments

@thierry-tct
Copy link
Owner

Segfault when post mutation is disabled and the states are removed due to max gen test per mutant.

The problem lies in the function Executor::ks_eliminateMutantStatesWithMaxTests

@thierry-tct
Copy link
Owner Author

The problem occurs when there is only one mutant. KLEE would optimize the mutant selection switch into LLVM br (if), causing the crash for some reason. (not that the crash does not occur if there is a var initialized with a constant right after the sym var assignment).

Temporary Solution: Make sure that there is at least two mutants.

@thierry-tct
Copy link
Owner Author

Fix: Do not call Executor::ks_eliminateMutantStatesWithMaxTests when comparing outenv

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

No branches or pull requests

1 participant