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

Non-deterministic behavior detection in Concrete Executor #1193

Closed
SBOne-Kenobi opened this issue Oct 20, 2022 · 0 comments · Fixed by #2246
Closed

Non-deterministic behavior detection in Concrete Executor #1193

SBOne-Kenobi opened this issue Oct 20, 2022 · 0 comments · Fixed by #2246
Assignees
Labels
ctg-bug Issue is a bug ctg-enhancement New feature, improvement or change request

Comments

@SBOne-Kenobi
Copy link
Collaborator

SBOne-Kenobi commented Oct 20, 2022

Description

We want to detect non-deterministic behavior in user's code such as Random calls and others while executing it by Concrete Executor.

Cases:

  • fuzzing
  • executing in the middle of symbolic analyzing

There is an issue with a brief description of such a problem in fuzzing #1135

Expected behavior

We should generate tests having deterministic behavior.

Environment

A clear example of this is described in issue #1135

Potential alternatives

We can run user's code several times to understand there is non-deterministic behavior or not.

Context

Classes with non-deterministic behavior:

  • Random:
    • java.util.Random
    • java.security.SecureRandom
    • java.util.concurrent.ThreadLocalRandom
  • Any file reading?
  • Any networking?
@SBOne-Kenobi SBOne-Kenobi added the ctg-enhancement New feature, improvement or change request label Oct 20, 2022
@korifey korifey moved this to Todo in UTBot Java Oct 20, 2022
@SBOne-Kenobi SBOne-Kenobi self-assigned this Oct 20, 2022
@SBOne-Kenobi SBOne-Kenobi added the ctg-bug Issue is a bug label Oct 20, 2022
@github-project-automation github-project-automation bot moved this from Todo to Done in UTBot Java Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ctg-bug Issue is a bug ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants