Skip to content

Floating Point Exception #3

@alessandropellegrini

Description

@alessandropellegrini

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions