You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
smt_instrument_block(block *blk)
, which performs the per-block instrumentation, computes the similarity value assimilarity = 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.The text was updated successfully, but these errors were encountered: