securecall
(Redirected from API securecallfunction)
Jump to navigation
Jump to search
securecall |
+ 2.0.1 / 1.13.2 | ||
securecallfunction |
+ 9.1.5 / 1.15.0 |
Calls the specified function without propagating taint to the caller.
... = securecall(func or functionName, ...) ... = securecallfunction(func, ...)
Arguments
- func
- function|string - A direct reference of the function to be called, or for
securecall
a string name of a function to be resolved through a global lookup. - ...
- Additional arguments to supply to the function.
Returns
- ...
- The return values of the called function.
Details
- If
securecall
is called from a secure execution path, the execution path will remain secure whensecurecall
returns, even if the called function is tainted, or accesses tainted variables. - Errors that occur within the called function are not propagated to the caller; if an error occurs,
securecall
triggers the default error handler, and then returns control to the caller with no return values. - For
securecallfunction
, no attempt is made to perform a global lookup based on the supplied function argument.
Patch changes
Patch 9.1.5 (2021-11-02): Added securecallfunction
.
Patch 2.0.1 (2006-12-05): Added securecall
.
|