Skip to content

C++: add InitializeIndirection for pointer params#2154

Merged
dbartol merged 13 commits into
github:masterfrom
rdmarsh2:rdmarsh/cpp/ir-callee-side-effects
Dec 20, 2019
Merged

C++: add InitializeIndirection for pointer params#2154
dbartol merged 13 commits into
github:masterfrom
rdmarsh2:rdmarsh/cpp/ir-callee-side-effects

Conversation

@rdmarsh2
Copy link
Copy Markdown
Contributor

No description provided.

@rdmarsh2 rdmarsh2 added the C++ label Oct 18, 2019
@rdmarsh2 rdmarsh2 requested review from a team as code owners October 18, 2019 18:08
@rdmarsh2
Copy link
Copy Markdown
Contributor Author

There's a few comments with questions/TODOs in TranslatedFunction.qll, mostly relating to types and handling of buffers. If I need to handle sized buffers with sizes from later parameters, I expect that to be a fairly large refactor.

@rdmarsh2 rdmarsh2 requested review from dbartol and removed request for dave-bartolomeo November 21, 2019 18:10
@rdmarsh2
Copy link
Copy Markdown
Contributor Author

This is finally up to date and ready for review

@jbj
Copy link
Copy Markdown
Contributor

jbj commented Nov 26, 2019

No further objections from me. I'll leave the reviewing of the QL code to @dbartol.

Copy link
Copy Markdown

@dbartol dbartol left a comment

Choose a reason for hiding this comment

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

LGTM

The QL changes look good. The IR diffs look like what I'd expect, given that we still treat parameters as pointing to escaped memory. These should look better once I get the aliased indirection support merged.

@dbartol dbartol merged commit 5b5d2f2 into github:master Dec 20, 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