Skip to content

What order is the search tree explored in? #102

Answered by pschanely
amacfie asked this question in Q&A
Discussion options

You must be logged in to vote

Great question. Path decisions are made randomly, guided by some heuristics. (though we avoid repeating the exact same paths)

Most commonly, the decision is made here. We bias towards picking False for booleans, as it more likely to break us out of loops, hopefully exploring shorter paths first.

The search tree will also include nodes that don't obviously correspond to branches in the code under analysis. If this is of interest, I can prioritize doing some sort of write-up about the search tree and the different kinds of nodes - let me know!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@amacfie
Comment options

Answer selected by amacfie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants