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

add warning if target always segfaults #660

Open
bchurchill opened this issue Jul 7, 2015 · 3 comments
Open

add warning if target always segfaults #660

bchurchill opened this issue Jul 7, 2015 · 3 comments
Assignees

Comments

@bchurchill
Copy link
Member

Have stoke print a big warning if the target always segfaults on its inputs. This is a common reason for a search to fail.

@stefanheule
Copy link
Member

Sounds like a great feature. I'm curious though as to why search wouldn't succeed trivially (with something that also just segfaults)?

@bchurchill
Copy link
Member Author

That's exactly what happens. It basically just finds the most performant program that segfaults, but it will happily spend some time doing this. I'm tried of forgetting to double-check this :P

(edit: in particular, it likes to spend time doing loop optimizations: can I move the segfault out of the loop, and then shortcut the loop itself? lol)

@stefanheule
Copy link
Member

Ok, that sounds right. Your original message said this would be a common way for search to "fail", which is what surprised me. I expected search to "succeed", but in a useless way (with a program that always segfaults).

Anyway, sounds like a useful warning.

@bchurchill bchurchill self-assigned this Aug 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants