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

@@ -32,6 +32,7 @@ extern "C" {
}
#include "utils.h"
#include "banned.h"
string lua_on_event = "on_event";