+
Skip to content

Conversation

alwilson
Copy link
Contributor

Extends the distribution constraint exploration of the swizzler to retry the values it selects some number of times (4 for now) and if those all fail, fall back to randomizing the field bits as any other variable.

The swizzler was only picking one value, and if the given constraints excluded most values then it resulted in the solver tossing it and leaving the field unrandomized, which in many cases lets the solver default to 0 or some other value repeatedly.

See #243

Extends the distribution constraint exploration of the swizzler
to retry the values it selects some number of times (4 for now)
and if those all fail, fall back to randomizing the field bits
as any other variable.

The swizzler was only picking one value, and if the given
constraints excluded most values then it resulted in the solver
tossing it and leaving the field unrandomized, which in many
cases lets the solver default to 0 or some other value repeatedly.

See fvutils#243
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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载