feat(userspace): Add banned.h which includes banned functions.

This defines certain functions as invalid tokens, i.e., when
compiled, the compiler throws an error.

Currently only `strcpy` is included as a banned function.

Fixes #788

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
This commit is contained in:
Vaibhav
2020-02-03 19:25:26 +05:30
committed by poiana
parent f98da284d0
commit 22a95796c1
20 changed files with 46 additions and 5 deletions

View File

@@ -18,6 +18,7 @@ limitations under the License.
#include "formats.h"
#include "falco_engine.h"
#include "banned.h"
sinsp* falco_formats::s_inspector = NULL;