-
Notifications
You must be signed in to change notification settings - Fork 45
Extract Traverser from UtBotSymbolicEngine #259
Copy link
Copy link
Closed
Labels
comp-symbolic-engineIssue is related to the symbolic execution engineIssue is related to the symbolic execution enginectg-refactoringIssue related to refactoring processIssue related to refactoring processpriority-top-focusTop priority chosen by dev teamTop priority chosen by dev team
Metadata
Metadata
Assignees
Labels
comp-symbolic-engineIssue is related to the symbolic execution engineIssue is related to the symbolic execution enginectg-refactoringIssue related to refactoring processIssue related to refactoring processpriority-top-focusTop priority chosen by dev teamTop priority chosen by dev team
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
Done
Description
Now
UtBotSymbolicEngineclass consists of Soot traversing logic, working with symbolic variables and working with the state queue. We need to separate this logic into different classes. The first thing to do is to extract the traversal logic, as well as the logic of working with symbolic variables, into separateTraverserclass.This changes also requires
ExecutionStateto be refactored. We need somehow to distinguish different type of states, so it's proposed to define a common state interface and make inheritors:Expected behavior
UtBotSymboicEngine.ktis split into two parts:ExecutionStateis refactored.Potential alternatives
Leave all as it is.
Context
See this discussion on refactoring for more information.