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 support for detecting use-after-free in the validation layer (for all APIs) #867

Open
pbalcer opened this issue Sep 18, 2023 · 0 comments
Labels
enhancement New feature or request loader Loader related feature/bug

Comments

@pbalcer
Copy link
Contributor

pbalcer commented Sep 18, 2023

The existing validation layer detects handle leaks and incorrect use of get/retain/release APIs for handle lifetime management. It's only capable of detecting use-after-free if it happens to be in one of the lifetime management calls.
Given the existing implementation that already tracks handles, the validation layer should be extended to also detect use-after-free and, in general, use of invalid handles across the entire API.

@pbalcer pbalcer added enhancement New feature or request loader Loader related feature/bug labels Sep 18, 2023
@pbalcer pbalcer changed the title add support for detecting use-after-free in the validation layer (for all APIs) Add support for detecting use-after-free in the validation layer (for all APIs) Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request loader Loader related feature/bug
Projects
None yet
Development

No branches or pull requests

1 participant