php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fuzzer-sapi.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Johannes Schlüter <johanes@php.net> |
14 | Stanislav Malyshev <stas@php.net> |
15 +----------------------------------------------------------------------+
16 */
17
18int fuzzer_init_php(const char *extra_ini);
22void fuzzer_call_php_func(const char *func_name, int nargs, char **params);
23void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args);
25 char *filename, const char *data, size_t data_len, bool execute,
26 void (*before_shutdown)(void));
int fuzzer_request_startup(void)
void fuzzer_call_php_func(const char *func_name, int nargs, char **params)
void fuzzer_setup_dummy_frame(void)
int fuzzer_do_request_from_buffer(char *filename, const char *data, size_t data_len, bool execute, void(*before_shutdown)(void))
void fuzzer_call_php_func_zval(const char *func_name, int nargs, zval *args)
void fuzzer_request_shutdown(void)
int fuzzer_init_php(const char *extra_ini)
zend_constant * data
const char * func_name
struct _zval_struct zval
zval * args