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

Floating Point Exception #3

Open
alessandropellegrini opened this issue Feb 16, 2016 · 0 comments
Open

Floating Point Exception #3

alessandropellegrini opened this issue Feb 16, 2016 · 0 comments

Comments

@alessandropellegrini
Copy link
Member

smt_instrument_block(block *blk), which performs the per-block instrumentation, computes the similarity value as similarity = smt->ntotal / smt->ncandidates.

If smt->ncandidates is 0 (namely, there are no memory-write instruction in a basic block), this causes a division by zero.

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

No branches or pull requests

1 participant