mirror of
https://github.com/yawut/SDL.git
synced 2026-06-13 20:20:38 -05:00
This is a little macro magic to use malloc() directly instead of SDL_malloc(), etc, so static analysis tests that know about the C runtime can function properly, and understand that we are dealing with heap allocations, etc. This changed our static analysis report from 5 outstanding bugs to 30. 5x as many bugs were hidden by SDL_malloc() not being recognized as malloc() by the static analyzer! |
||
|---|---|---|
| .. | ||
| SDL_getenv.c | ||
| SDL_iconv.c | ||
| SDL_malloc.c | ||
| SDL_qsort.c | ||
| SDL_stdlib.c | ||
| SDL_string.c | ||