From ad6b3e723fe26bf1a3a573aed776960916d35499 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 10 Jan 2018 14:56:33 +0100 Subject: Eval whitelist Implement whitelist in eval--- doc/source/config.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'doc/source') diff --git a/doc/source/config.rst b/doc/source/config.rst index d16474f..602b78d 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst @@ -251,13 +251,14 @@ Eval white and blacklist * `default: disabled` * :ref:`more ` -``eval_filter`` allows to specify white and blacklist of functions allowed and -forbidden from being called inside ``eval``. The functions names are comma-separated. +``eval_whitelist`` and ``eval_blacklist`` allow to respectively specify +functions allowed and forbidden from being called inside ``eval``. The +functions names are comma-separated. :: - sp.eval_filter.blacklist("system,exec,shell_exec"); - sp.eval_filter.whitelist("strlen,strcmp").simulation(); + sp.eval_blacklist.list("system,exec,shell_exec"); + sp.eval_whitelist.list("strlen,strcmp").simulation(); Virtual-patching -- cgit v1.3