Skip to content

Add support for detecting use-after-free in the validation layer (for all APIs) #867

Open
@pbalcer

Description

@pbalcer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestloaderLoader related feature/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions