Introduces a new type of suppression: 1. function-name-matches - allows users to disable `malloc`, `free`, `pthread_mutex_lock` or similar. This could be helpful if a user thinks these are real-time safe on their OS. Also allows disabling of any function marked [[blocking]]. This is useful as a **more performant "early outs" compared to the `call-stack-contains` suppression**. `call-stack-contains` is inherently VERY costly, needing to inspect every frame of every stack for a matching string. This new suppression has an early out before we unwind the stack.
6 lines
126 B
Plaintext
6 lines
126 B
Plaintext
call-stack-contains:MallocViolation
|
|
call-stack-contains:std::*vector
|
|
|
|
function-name-matches:free
|
|
function-name-matches:Block*
|