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

Program ebpf_samples/build/twotypes explicitly requires keeping track of two ptr types for a register #6

Open
a-hamza-r opened this issue Jul 5, 2023 · 0 comments

Comments

@a-hamza-r
Copy link

a-hamza-r commented Jul 5, 2023

The program twotypes requires keeping track of two ptr types, shared and stack for a register. The analysis has been implemented in latest PREVAIL, but not in type domain, as it keeps track of only one type, not more. The significant code snippet is:

uint8_t* ptr;
if (rand32 & 1) {
    ptr = map_value;
} else {
    ptr = stack_buffer + 128;
}
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

No branches or pull requests

1 participant