Skip to content

Matching SVF’s alias pair enumeration with LLVM’s aa-eval #1757

@parjavadian

Description

@parjavadian

Hi, I am trying to compare SVF’s alias analysis results against LLVM’s aa-eval in a fair way. Is there a flag or recommended approach to make SVF enumerate the same pointer pairs that aa-eval checks (i.e., only pairs arising from real use sites such as loads, stores, calls, and returns, normalized to top-level pointers)?

On the same bitcode, LLVM’s aa-eval reports 1165 NoAlias and 702 MayAlias, while SVF (using wpa -ander -print-aliases) reports 104,925 NoAlias and 272 MayAlias. This suggests that the sets of pointer pairs differ significantly, making it hard to compare precision directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions