OpenVAS Libraries
9.0.3
|
#include <search.h>
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include "nasl_tree.h"
#include "nasl_global_ctxt.h"
#include "nasl_func.h"
#include "nasl_var.h"
#include "nasl_lex_ctxt.h"
#include "exec.h"
#include "nasl_debug.h"
Go to the source code of this file.
Macros | |
#define | TRACE_BUF_SZ 255 |
Typedefs | |
typedef int(* | qsortcmp) (const void *, const void *) |
Functions | |
nasl_func * | insert_nasl_func (lex_ctxt *lexic, const char *fname, tree_cell *decl_node) |
tree_cell * | decl_nasl_func (lex_ctxt *lexic, tree_cell *decl_node) |
nasl_func * | get_func_ref_by_name (lex_ctxt *ctxt, const char *name) |
tree_cell * | nasl_func_call (lex_ctxt *lexic, const nasl_func *f, tree_cell *arg_list) |
tree_cell * | nasl_return (lex_ctxt *ctxt, tree_cell *retv) |
void | free_func_chain (nasl_func *f) |
Variables | |
FILE * | nasl_trace_fp |
#define TRACE_BUF_SZ 255 |
typedef int(* qsortcmp) (const void *, const void *) |
Definition at line 62 of file nasl_func.c.
Definition at line 111 of file nasl_func.c.
References FAKE_CELL, insert_nasl_func(), nasl_perror(), TC::str_val, and TC::x.
Referenced by nasl_lint().
void free_func_chain | ( | nasl_func * | f | ) |
Definition at line 375 of file nasl_func.c.
References free_func_chain(), and st_nasl_func::next_func.
Referenced by free_func_chain(), and free_lex_ctxt().
Definition at line 126 of file nasl_func.c.
Referenced by exec_nasl_script(), nasl_defined_func(), nasl_func_has_arg(), nasl_func_named_args(), nasl_func_unnamed_args(), and nasl_lint().
Definition at line 65 of file nasl_func.c.
Referenced by decl_nasl_func().
Definition at line 147 of file nasl_func.c.
References st_nasl_func::args_names, FAKE_CELL, struct_lex_ctxt::fct_ctxt, st_nasl_func::flags, FUNC_FLAG_COMPAT, st_nasl_func::func_name, init_empty_lex_ctxt(), TC::link, nasl_dump_tree(), nasl_trace_fp, st_nasl_func::nb_named_args, struct_lex_ctxt::oid, struct_lex_ctxt::recv_timeout, struct_lex_ctxt::script_infos, TC::str_val, TRACE_BUF_SZ, and TC::x.
Referenced by exec_nasl_script().
Definition at line 325 of file nasl_func.c.
References cell2atom(), copy_ref_array(), deref_cell(), FAKE_CELL, struct_lex_ctxt::fct_ctxt, REF_ARRAY, ref_cell(), struct_lex_ctxt::ret_val, TC::type, and struct_lex_ctxt::up_ctxt.
FILE* nasl_trace_fp |
Definition at line 386 of file exec.c.
Referenced by nasl_func_call().