README-SDL.txt
author Ryan C. Gordon
Mon, 05 Jan 2015 01:41:42 -0500
changeset 9306 817656bd36ec
parent 9025 d09d4b578e77
child 9507 b1e690e9c5b3
permissions -rw-r--r--
Clang static analysis builds should use C runtime directly.

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!
gabomdq@9023
     1
gabomdq@9023
     2
Please distribute this file with the SDL runtime environment:
gabomdq@9023
     3
gabomdq@9023
     4
The Simple DirectMedia Layer (SDL for short) is a cross-platform library
gabomdq@9023
     5
designed to make it easy to write multi-media software, such as games and
gabomdq@9023
     6
emulators.
gabomdq@9023
     7
gabomdq@9023
     8
The Simple DirectMedia Layer library source code is available from:
gabomdq@9023
     9
http://www.libsdl.org/
gabomdq@9023
    10
gabomdq@9023
    11
This library is distributed under the terms of the zlib license:
gabomdq@9023
    12
http://www.zlib.net/zlib_license.html
gabomdq@9023
    13