Opened 6 years ago

Last modified 3 years ago

#10 new defect

Memory leak from symbolic values.

Reported by: Henrich Lauko Owned by:
Priority: major Milestone: 5.0
Component: DiOS Keywords: sym, sv-comp
Cc: Lukáš Zaoral


Problem with:

divine check --lart leak-check --symbolic ~/repo/sv-benchmarks/c/memsafety-ext3/freeAlloca_false-valid-free.c}}}

With patches from ~xstill/DIVINE/svc-2019, namely the leak-check patch. There is a spurious memory leak, probably related to --symbolic. A minimal example of the same error:
int __VERIFIER_nondet_int();

int main() {
    int x = __VERIFIER_nondet_int();
    int y = __VERIFIER_nondet_int();
    return 0;

As a sanity check, the previous minimal example with --lart svc-undef-nondet instead of --symbolic (this causes __VERIFIER_nondet_* to return undefined value) does not have any memory leaks.

Change History (2)

comment:1 Changed 5 years ago by mornfall

Milestone: future5.0

Milestone renamed

comment:2 Changed 3 years ago by Lukáš Zaoral

Cc: Lukáš Zaoral added
Note: See TracTickets for help on using tickets.