mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
Example:
--------
#include <nosanitize.h>
...
ATTRIBUTE_NO_SANITIZE_ADDRESS
void function_xxx()
...
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3837ed1d89
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-01-14 (Thu, 14 Jan 2016)
------------------
This commit was generated by Migit
13 lines
326 B
C
13 lines
326 B
C
#ifndef __neutrino_sanitize_h__
|
|
#define __neutrino_sanitize_h__
|
|
|
|
#ifndef ATTRIBUTE_NO_SANITIZE_ADDRESS
|
|
# if defined(__clang__) || defined (__GNUC__)
|
|
# define ATTRIBUTE_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address))
|
|
# else
|
|
# define ATTRIBUTE_NO_SANITIZE_ADDRESS
|
|
# endif
|
|
#endif
|
|
|
|
#endif /* __neutrino_sanitize_h__ */
|