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

Improve session scanner #682

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Improve session scanner #682

wants to merge 3 commits into from

Conversation

ferdinandjarisch
Copy link
Contributor

No description provided.

The current approach does recover the stack on each session change
attempt, which greatly prolongs scans in a session that takes some time
to get into.
From now on, the stack is only recovered when needed, e.g. in case of an
error or when a session change attempt was successful.
With the assumption that it does not matter how a session is entered, it
is only interesting to know from where one can reach a session.
Thus, the better default is to use a fast approach that only scans from
each session once in order to find available session transitions.

To replicate the old scanning behaviour, --thorough can be specified to
scan multiple times from the same session.
In order to avoid infinite loops, --depth now has a default value of 4.
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.

1 participant