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

DO NOT MERGE: Perform alias analysis in C/C++ dataflow #177

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

MathiasVP
Copy link
Collaborator

This is my ongoing work related to adding dataflow through aliased definitions in C/C++ dataflow. For example for something like:

int x;
int* p = &x;
x = source();
int y = *p;
sink(y);

on main there won't be any dataflow from source() to the sink argument, but on this branch we'll have that dataflow.

This is still a WIP since:

  1. It has a 15-20% performance regression on DCA that I'm still battling, and
  2. It still has a few cases of pointer/pointee conflation (i.e., we mistake an int* for an int and vice versa).

I'm leaving the PR open here for others to experiment with it.

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.

1 participant