Skip to content

Why didn't Saber find the memory leak vulnerability? Is it because of the global variable? #1742

@puzhuoliu

Description

@puzhuoliu

This is a memory leak test case. I checked SVFG and it seems fine. Is there something wrong with my settings?

saber -leak wllvm_CWE401_Memory_Leak__int64_t_realloc_45-bad.ll

SVFG:

wllvm.pdf

ll:
wllvm_CWE401_Memory_Leak__int64_t_realloc_45-bad.ll.zip

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