Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider Alloca everywhere where Malloc, Calloc and Realloc are handled #1324

Merged
merged 7 commits into from
Jan 29, 2024

Conversation

karoliineh
Copy link
Member

While coming up with a test case for #1323, I noticed that the test for mallocFresh using alloc would behave differently from the same test that uses malloc for allocating memory.

This improves the implementation of handling alloc from #1179 by considering the Alloc case in analyses where Malloc, Calloc and Realloc are handled.

src/analyses/mallocFresh.ml Outdated Show resolved Hide resolved
src/analyses/memLeak.ml Outdated Show resolved Hide resolved
@sim642 sim642 added this to the v2.4.0 milestone Jan 23, 2024
@sim642 sim642 merged commit a495645 into master Jan 29, 2024
17 checks passed
@sim642 sim642 deleted the alloca branch January 29, 2024 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants