Bewerken

Delen via


Warning C28720

Banned API Usage: '*function-name' is insecure and has been marked deprecated.

Remarks

Using one of these APIs indicates that you are testing to see if memory is mapped, which implies that you either don't own the memory (and therefore shouldn't be trying to access it), or it indicates a need for better object lifetime management (if you need to test if something still exists). For more information on the latter, see Object Lifetime and Resource Management (RAII). There are no 1:1 replacement APIs for this rule. Instead, we recommend reevaluating your code to avoid the need to utilize these functions.

Code analysis name: ISBADXXXPTR_API_USAGE

Banned Functions

Banned API
IsBadCodePtr
IsBadHugeReadPtr
IsBadHugeWritePtr
IsBadReadPtr
IsBadStringPtr
IsBadWritePtr