Lumiera 0.pre.04~rc.1
»edit your freedom«
Loading...
Searching...
No Matches
test-safeclib.c File Reference

C unit test to cover size checked C operations. More...

Go to the source code of this file.

Description

C unit test to cover size checked C operations.

See also
safeclib.h

Definition in file test-safeclib.c.

#include "lib/safeclib.h"
#include "lib/tmpbuf.h"
#include "lib/test/test.h"
#include <sys/time.h>
#include <sys/resource.h>

Functions

TESTS_BEGIN TEST (allocation0)
 
 TEST (allocation1024)
 
 TEST (allocationtoobig)
 
 TEST (streq)
 
 TEST (tmpbuf)
 
 TEST (tr0)
 
 TEST (tr)
 
 TEST (tr_)
 

Function Documentation

◆ TEST() [1/8]

TESTS_BEGIN TEST ( allocation0  )

Definition at line 29 of file test-safeclib.c.

References lumiera_malloc().

+ Here is the call graph for this function:

◆ TEST() [2/8]

TEST ( allocation1024  )

Definition at line 35 of file test-safeclib.c.

References lumiera_malloc().

+ Here is the call graph for this function:

◆ TEST() [3/8]

TEST ( allocationtoobig  )

Definition at line 49 of file test-safeclib.c.

References lumiera_malloc().

+ Here is the call graph for this function:

◆ TEST() [4/8]

TEST ( streq  )

Definition at line 59 of file test-safeclib.c.

References lumiera_streq(), and NULL.

+ Here is the call graph for this function:

◆ TEST() [5/8]

TEST ( tmpbuf  )

Definition at line 68 of file test-safeclib.c.

References lumiera_tmpbuf_provide().

+ Here is the call graph for this function:

◆ TEST() [6/8]

TEST ( tr0  )

Definition at line 82 of file test-safeclib.c.

References lumiera_tmpbuf_tr(), and NULL.

+ Here is the call graph for this function:

◆ TEST() [7/8]

TEST ( tr  )

Definition at line 89 of file test-safeclib.c.

References lumiera_tmpbuf_tr().

+ Here is the call graph for this function:

◆ TEST() [8/8]

TEST ( tr_  )

Definition at line 96 of file test-safeclib.c.

References lumiera_tmpbuf_tr().

+ Here is the call graph for this function: