Skip to content

C# IR: Minor fixes and changes #2000

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

Merged
merged 3 commits into from
Sep 23, 2019
Merged

Conversation

kiridi
Copy link
Contributor

@kiridi kiridi commented Sep 23, 2019

This PR addresses minor inconsistencies with the C# IR. After the shared type system is in place, we should be able to refine the types for PointerAdd and ElementsAddress even further.

More accurate type sizes using language specific predicates from `IRCSharpLanguage.qll`.
Added immediate operands for some `PointerX` (add, sub) instructions.
Some other minor consistency fixes.
Removed an incorrect `Load` op generated by propery accesses.
@kiridi kiridi requested a review from a team as a code owner September 23, 2019 13:49
hvitved
hvitved previously approved these changes Sep 23, 2019
@calumgrant calumgrant merged commit b858962 into github:master Sep 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants