Skip to content

CPP: Add more allocation functions to Alloc.qll#1158

Merged
jbj merged 4 commits intogithub:masterfrom
geoffw0:moremsalloc
Mar 27, 2019
Merged

CPP: Add more allocation functions to Alloc.qll#1158
jbj merged 4 commits intogithub:masterfrom
geoffw0:moremsalloc

Conversation

@geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Mar 22, 2019

Follows on from #994. Add support for the functions suggested by @dave-bartolomeo, plus a couple of other variations.

@lukecartey

geoffw0 added 3 commits March 22, 2019 10:59
…rt the free(pointer-to-pointer) pattern in 'SysReAllocString' leading to unaccaptable FPs.
@geoffw0 geoffw0 added the C++ label Mar 22, 2019
@geoffw0 geoffw0 requested a review from a team as a code owner March 22, 2019 11:49
@jbj jbj added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Mar 22, 2019
jbj
jbj previously approved these changes Mar 22, 2019
@jbj jbj removed the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Mar 22, 2019
@jbj
Copy link
Contributor

jbj commented Mar 22, 2019

It looks like we can merge this before the internal PR, but I'd still like to see the test results from the internal PR before merging this.

@jbj
Copy link
Contributor

jbj commented Mar 26, 2019

@dave-bartolomeo please check that the new list of functions aligns with what you had in mind.

Copy link
Contributor

@jbj jbj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The internal tests have passed, albeit with an outdated submodule pointer. I'll merge this now to put an end to the submodule pointer chasing.

@jbj jbj merged commit debc441 into github:master Mar 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments