Skip to content

output inconsistent axioms for constants #623

Description

@agle
./mill run -i ../basil-tv-artifact/basilbench/cntlm-noduk/cntlm-noduk.gtirb --lifter  --trim-early --simplify-tv cntlm-tv/ --main-procedure-name http_parse_basic  --trim-depth 1 -o cntlm.bpl
boogie cntlm.bpl /proc 'p$http_parse_basic_4232224'   /warnVacuousProofs

Proves everythign vacuously because it outputs inconsistent axioms, e.g.

const {:extern} $__PRETTY_FUNCTION__.0_addr: bv64;
axiom ($__PRETTY_FUNCTION__.0_addr == 4282392bv64);
const {:extern} $__PRETTY_FUNCTION__.0_addr: bv64;
axiom ($__PRETTY_FUNCTION__.0_addr == 4282256bv64);
const {:extern} $__PRETTY_FUNCTION__.0_addr: bv64;

Possibly specific to gtirb readelf frontend, my guess is these are variables with static linkage.

Using this gtirb file: https://github.com/agle/basilbench/blob/fabcf5df5d2f955734882c4227b5a5d1f80b5220/cntlm-noduk/cntlm-noduk.gtirb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions