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

Add Return option for ctrl_flow #77

Open
livia01px2019 opened this issue Oct 10, 2023 · 0 comments
Open

Add Return option for ctrl_flow #77

livia01px2019 opened this issue Oct 10, 2023 · 0 comments
Labels
flow-analysis Concerns the PDG construction component good first issue Good for newcomers

Comments

@livia01px2019
Copy link
Collaborator

Create a new CtrlSink struct that is either a CallSite or a Return so that we can capture control flows to returns, e.g. in this example:

fn encrypt_broken_basic(user_data: &PrivateUserData) -> bool {
    if user_data.key.len() > 10 {
        return true;
    }
    return false;
}

We want to express the ctrl flow from user_data to the return.

@JustusAdam JustusAdam added flow-analysis Concerns the PDG construction component good first issue Good for newcomers labels Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flow-analysis Concerns the PDG construction component good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants