|
OpenVAS Scanner 23.40.3
|
#include <ctype.h>#include <pcap.h>#include <string.h>#include <sys/stat.h>#include <glib.h>#include "../misc/plugutils.h"#include "nasl_tree.h"#include "nasl_global_ctxt.h"#include "nasl_func.h"#include "nasl_var.h"#include "nasl_lex_ctxt.h"#include "nasl_debug.h"#include "nasl_signature.h"#include "nasl_grammar.tab.h"#include <limits.h>#include <stdio.h>#include <stdlib.h>#include <gvm/base/logging.h>#include <gvm/base/prefs.h>#include <libgen.h>#include <gcrypt.h>
Go to the source code of this file.
Data Structures | |
| union | yyalloc |
Macros | |
| #define | YYBISON 30802 |
| #define | YYBISON_VERSION "3.8.2" |
| #define | YYSKELETON_NAME "yacc.c" |
| #define | YYPURE 1 |
| #define | YYPUSH 0 |
| #define | YYPULL 1 |
| #define | yyparse naslparse |
| #define | yylex nasllex |
| #define | yyerror naslerror |
| #define | yydebug nasldebug |
| #define | yynerrs naslnerrs |
| #define | YYPARSE_PARAM parm |
| #define | YYLEX_PARAM parm |
| #define | YYPARSE_ERRC err_c |
| #define | YYLEX_ERRC err_c |
| #define | LNB (((naslctxt*)parm)->line_nb) |
| #define | LN (((naslctxt*)parm)->name) |
| #define | ERRC err_c |
| #define | G_LOG_DOMAIN "lib nasl" |
| GLib logging domain. | |
| #define | YYERROR_VERBOSE |
| #define | YY_CAST(Type, Val) |
| #define | YY_REINTERPRET_CAST(Type, Val) |
| #define | YY_NULLPTR ((void*)0) |
| #define | YYPTRDIFF_T long |
| #define | YYPTRDIFF_MAXIMUM LONG_MAX |
| #define | YYSIZE_T unsigned |
| #define | YYSIZE_MAXIMUM |
| #define | YYSIZEOF(X) |
| #define | YY_(Msgid) |
| #define | YY_ATTRIBUTE_PURE |
| #define | YY_ATTRIBUTE_UNUSED |
| #define | YY_USE(E) |
| #define | YY_INITIAL_VALUE(Value) |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
| #define | YY_IGNORE_MAYBE_UNINITIALIZED_END |
| #define | YY_IGNORE_USELESS_CAST_BEGIN |
| #define | YY_IGNORE_USELESS_CAST_END |
| #define | YY_ASSERT(E) |
| #define | YYSTACK_ALLOC YYMALLOC |
| #define | YYSTACK_FREE YYFREE |
| #define | YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
| #define | YYMALLOC malloc |
| #define | YYFREE free |
| #define | YYSTACK_GAP_MAXIMUM (YYSIZEOF (union yyalloc) - 1) |
| #define | YYSTACK_BYTES(N) |
| #define | YYCOPY_NEEDED 1 |
| #define | YYSTACK_RELOCATE(Stack_alloc, Stack) |
| #define | YYCOPY(Dst, Src, Count) |
| #define | YYFINAL 80 |
| #define | YYLAST 1009 |
| #define | YYNTOKENS 73 |
| #define | YYNNTS 43 |
| #define | YYNRULES 127 |
| #define | YYNSTATES 229 |
| #define | YYMAXUTOK 304 |
| #define | YYTRANSLATE(YYX) |
| #define | YY_ACCESSING_SYMBOL(State) |
| #define | YYPACT_NINF (-77) |
| #define | yypact_value_is_default(Yyn) |
| #define | YYTABLE_NINF (-70) |
| #define | yytable_value_is_error(Yyn) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYNOMEM goto yyexhaustedlab |
| #define | YYRECOVERING() |
| #define | YYBACKUP(Token, Value) |
| #define | YYERRCODE YYUNDEF |
| #define | YYFPRINTF fprintf |
| #define | YYDPRINTF(Args) |
| #define | YY_SYMBOL_PRINT(Title, Kind, Value, Location) |
| #define | YY_STACK_PRINT(Bottom, Top) |
| #define | YY_REDUCE_PRINT(Rule) |
| #define | YYINITDEPTH 200 |
| #define | YYMAXDEPTH 10000 |
| #define | YYPOPSTACK(N) |
Typedefs | |
| typedef enum yysymbol_kind_t | yysymbol_kind_t |
| typedef signed char | yytype_int8 |
| typedef short | yytype_int16 |
| typedef unsigned char | yytype_uint8 |
| typedef unsigned short | yytype_uint16 |
| typedef yytype_uint8 | yy_state_t |
| typedef int | yy_state_fast_t |
Functions | |
| static void | naslerror (naslctxt *, int *, const char *) |
| static int | nasllex (YYSTYPE *lvalp, void *parm, int *err_c) |
| void * | malloc (YYSIZE_T) |
| void | free (void *) |
| static const char * | yysymbol_name (yysymbol_kind_t yysymbol) YY_ATTRIBUTE_UNUSED |
| static void | yy_symbol_value_print (FILE *yyo, yysymbol_kind_t yykind, YYSTYPE const *const yyvaluep, naslctxt *parm, int *err_c) |
| static void | yy_symbol_print (FILE *yyo, yysymbol_kind_t yykind, YYSTYPE const *const yyvaluep, naslctxt *parm, int *err_c) |
| static void | yy_stack_print (yy_state_t *yybottom, yy_state_t *yytop) |
| static void | yy_reduce_print (yy_state_t *yyssp, YYSTYPE *yyvsp, int yyrule, naslctxt *parm, int *err_c) |
| static void | yydestruct (const char *yymsg, yysymbol_kind_t yykind, YYSTYPE *yyvaluep, naslctxt *parm, int *err_c) |
| int | yyparse (naslctxt *parm, int *err_c) |
| int | add_nasl_inc_dir (const char *dir) |
| Adds the given string as directory for searching for includes. | |
| static void | load_checksums (kb_t kb) |
| static char * | file_checksum (const char *filename, int algorithm) |
| Get the checksum of a file. | |
| static const char * | remove_base (const char *path) |
| static char * | fullname_based_on_parent (const char *path, const char *filename) |
| int | init_nasl_ctx (naslctxt *pc, const char *parent, const char *name) |
| Initialize a NASL context for a NASL file. | |
| void | nasl_clean_ctx (naslctxt *c) |
| void | nasl_clean_inc (void) |
| int | nasl_get_include_order (const char *c) |
| static int | mylex (YYSTYPE *lvalp, void *parm) |
Variables | |
| static char * | parse_buffer = NULL |
| static int | parse_len = 0 |
| static int | include_order = 0 |
| GHashTable * | includes_hash = NULL |
| static const yytype_int8 | yytranslate [] |
| static const yytype_int16 | yyrline [] |
| static const char *const | yytname [] |
| static const yytype_int16 | yypact [] |
| static const yytype_int8 | yydefact [] |
| static const yytype_int16 | yypgoto [] |
| static const yytype_uint8 | yydefgoto [] |
| static const yytype_int16 | yytable [] |
| static const yytype_int16 | yycheck [] |
| static const yytype_int8 | yystos [] |
| static const yytype_int8 | yyr1 [] |
| static const yytype_int8 | yyr2 [] |
| int | yydebug |
| static GSList * | inc_dirs = NULL |
| static int | checksum_algorithm = GCRY_MD_NONE |
| #define ERRC err_c |
Definition at line 85 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define G_LOG_DOMAIN "lib nasl" |
GLib logging domain.
Definition at line 107 of file nasl_grammar.tab.c.
Definition at line 84 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define LNB (((naslctxt*)parm)->line_nb) |
Definition at line 83 of file nasl_grammar.tab.c.
Referenced by naslerror(), and yyparse().
| #define YY_ | ( | Msgid | ) |
| #define YY_ACCESSING_SYMBOL | ( | State | ) |
Accessing symbol of state STATE.
Definition at line 677 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print(), and yyparse().
| #define YY_ASSERT | ( | E | ) |
Definition at line 465 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YY_ATTRIBUTE_PURE |
Definition at line 408 of file nasl_grammar.tab.c.
| #define YY_ATTRIBUTE_UNUSED |
Definition at line 416 of file nasl_grammar.tab.c.
| #define YY_CAST | ( | Type, | |
| Val ) |
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 445 of file nasl_grammar.tab.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 446 of file nasl_grammar.tab.c.
Referenced by yy_symbol_value_print(), yydestruct(), and yyparse().
| #define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 460 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YY_IGNORE_USELESS_CAST_END |
Definition at line 461 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YY_INITIAL_VALUE | ( | Value | ) |
| #define YY_NULLPTR ((void*)0) |
Definition at line 139 of file nasl_grammar.tab.c.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1230 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val ) |
Definition at line 128 of file nasl_grammar.tab.c.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top ) |
Definition at line 1199 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Kind, | |||
| Value, | |||
| Location ) |
Definition at line 1135 of file nasl_grammar.tab.c.
Referenced by yydestruct(), and yyparse().
| #define YY_USE | ( | E | ) |
Definition at line 422 of file nasl_grammar.tab.c.
Referenced by yy_symbol_value_print(), and yydestruct().
| #define YYABORT goto yyabortlab |
Definition at line 1089 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYACCEPT goto yyacceptlab |
Definition at line 1088 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYBACKUP | ( | Token, | |
| Value ) |
Definition at line 1096 of file nasl_grammar.tab.c.
| #define YYBISON 30802 |
Definition at line 49 of file nasl_grammar.tab.c.
| #define YYBISON_VERSION "3.8.2" |
Definition at line 52 of file nasl_grammar.tab.c.
| #define yyclearin (yychar = YYEMPTY) |
Definition at line 1086 of file nasl_grammar.tab.c.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count ) |
Definition at line 582 of file nasl_grammar.tab.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 554 of file nasl_grammar.tab.c.
| #define yydebug nasldebug |
Definition at line 71 of file nasl_grammar.tab.c.
| #define YYDPRINTF | ( | Args | ) |
Definition at line 1126 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYERRCODE YYUNDEF |
Definition at line 1115 of file nasl_grammar.tab.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 1085 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYERROR goto yyerrorlab |
Definition at line 1090 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define yyerror naslerror |
Definition at line 70 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYERROR_VERBOSE |
Definition at line 118 of file nasl_grammar.tab.c.
| #define YYFINAL 80 |
Definition at line 595 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYFPRINTF fprintf |
Definition at line 1123 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print(), yy_stack_print(), and yy_symbol_print().
| #define YYFREE free |
Definition at line 526 of file nasl_grammar.tab.c.
| #define YYINITDEPTH 200 |
Definition at line 1249 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYLAST 1009 |
Definition at line 597 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define yylex nasllex |
Definition at line 69 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYLEX_ERRC err_c |
Definition at line 81 of file nasl_grammar.tab.c.
| #define YYLEX_PARAM parm |
Definition at line 79 of file nasl_grammar.tab.c.
| #define YYMALLOC malloc |
Definition at line 520 of file nasl_grammar.tab.c.
| #define YYMAXDEPTH 10000 |
Definition at line 1260 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYMAXUTOK 304 |
Definition at line 609 of file nasl_grammar.tab.c.
| #define yynerrs naslnerrs |
Definition at line 72 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYNNTS 43 |
Definition at line 602 of file nasl_grammar.tab.c.
| #define YYNOMEM goto yyexhaustedlab |
Definition at line 1091 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYNRULES 127 |
Definition at line 604 of file nasl_grammar.tab.c.
| #define YYNSTATES 229 |
Definition at line 606 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYNTOKENS 73 |
Definition at line 600 of file nasl_grammar.tab.c.
Referenced by yy_symbol_print(), and yyparse().
| #define YYPACT_NINF (-77) |
Definition at line 715 of file nasl_grammar.tab.c.
| #define yypact_value_is_default | ( | Yyn | ) |
Definition at line 717 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define yyparse naslparse |
Definition at line 68 of file nasl_grammar.tab.c.
| #define YYPARSE_ERRC err_c |
Definition at line 80 of file nasl_grammar.tab.c.
| #define YYPARSE_PARAM parm |
Definition at line 78 of file nasl_grammar.tab.c.
| #define YYPOPSTACK | ( | N | ) |
Referenced by yyparse().
| #define YYPTRDIFF_MAXIMUM LONG_MAX |
Definition at line 359 of file nasl_grammar.tab.c.
| #define YYPTRDIFF_T long |
Definition at line 358 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYPULL 1 |
Definition at line 64 of file nasl_grammar.tab.c.
| #define YYPURE 1 |
Definition at line 58 of file nasl_grammar.tab.c.
| #define YYPUSH 0 |
Definition at line 61 of file nasl_grammar.tab.c.
| #define YYRECOVERING | ( | ) |
Definition at line 1094 of file nasl_grammar.tab.c.
| #define YYSIZE_MAXIMUM |
Definition at line 376 of file nasl_grammar.tab.c.
| #define YYSIZE_T unsigned |
Definition at line 372 of file nasl_grammar.tab.c.
| #define YYSIZEOF | ( | X | ) |
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file nasl_grammar.tab.c.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 506 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 509 of file nasl_grammar.tab.c.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 550 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYSTACK_FREE YYFREE |
Definition at line 507 of file nasl_grammar.tab.c.
Referenced by yyparse().
Definition at line 546 of file nasl_grammar.tab.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack ) |
Definition at line 561 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYTABLE_NINF (-70) |
Definition at line 720 of file nasl_grammar.tab.c.
| #define yytable_value_is_error | ( | Yyn | ) |
Definition at line 722 of file nasl_grammar.tab.c.
Referenced by yyparse().
| #define YYTRANSLATE | ( | YYX | ) |
Definition at line 614 of file nasl_grammar.tab.c.
Referenced by yyparse().
| typedef int yy_state_fast_t |
Definition at line 389 of file nasl_grammar.tab.c.
| typedef yytype_uint8 yy_state_t |
Definition at line 386 of file nasl_grammar.tab.c.
| typedef enum yysymbol_kind_t yysymbol_kind_t |
Definition at line 265 of file nasl_grammar.tab.c.
| typedef short yytype_int16 |
Definition at line 310 of file nasl_grammar.tab.c.
| typedef signed char yytype_int8 |
Definition at line 302 of file nasl_grammar.tab.c.
| typedef unsigned short yytype_uint16 |
Definition at line 342 of file nasl_grammar.tab.c.
| typedef unsigned char yytype_uint8 |
Definition at line 331 of file nasl_grammar.tab.c.
| anonymous enum |
| enum lex_state |
Definition at line 2879 of file nasl_grammar.tab.c.
| enum yysymbol_kind_t |
Definition at line 145 of file nasl_grammar.tab.c.
| int add_nasl_inc_dir | ( | const char * | dir | ) |
Adds the given string as directory for searching for includes.
| dir | A directory path. This function will add a copy of this parameter to the list of include folders. This means the parameter can be freed elsewhere without affecting the list. |
Definition at line 2536 of file nasl_grammar.tab.c.
References inc_dirs.
Referenced by include_dirs(), init_nasl_ctx(), and main().

|
static |
Get the checksum of a file.
| [in] | filename | Path to file. |
| [in] | algorithm | Libgcrypt hash algorithm to use for generating the checksum. |
Definition at line 2642 of file nasl_grammar.tab.c.
References len.
Referenced by init_nasl_ctx().

| void free | ( | void * | ) |
Referenced by build_krb5_credential(), create_ipc_process(), ipc_contexts_init(), ipc_data_type_from_hostname(), ipc_data_type_from_lsc(), ipc_data_type_from_user_agent(), ipc_destroy_contexts(), ipc_init(), ipc_init_pipe(), ipc_pipe_destroy(), ipc_pipe_retrieve(), nasl_okrb5_clean(), nasl_okrb5_gss_update_context(), o_krb5_gss_prepare_context(), okrb5_gss_authenticate(), okrb5_gss_free_context(), and smb_sign().

|
static |
Definition at line 2675 of file nasl_grammar.tab.c.
References malloc().
Referenced by init_nasl_ctx().


| int init_nasl_ctx | ( | naslctxt * | pc, |
| const char * | parent, | ||
| const char * | name ) |
Initialize a NASL context for a NASL file.
| pc | The NASL context handler. |
| name | The filename of the NASL script. |
Definition at line 2723 of file nasl_grammar.tab.c.
References add_nasl_inc_dir(), naslctxt::always_signed, naslctxt::buffer, checksum_algorithm, naslctxt::exec_descr, file_checksum(), fullname_based_on_parent(), inc_dirs, include_order, naslctxt::include_order, naslctxt::kb, naslctxt::line_nb, load_checksums(), name, naslctxt::name, nasl_set_filename(), parse_buffer, parse_len, remove_base(), and naslctxt::tree.
Referenced by exec_nasl_script(), and yyparse().


|
static |
Definition at line 2567 of file nasl_grammar.tab.c.
References checksum_algorithm, nasl_verify_signature(), and prefix().
Referenced by init_nasl_ctx().


| void * malloc | ( | YYSIZE_T | ) |
References YYSIZE_T.
Referenced by fullname_based_on_parent(), ipc_contexts_init(), ipc_exec_as_process(), o_krb5_gss_session_key_context(), and o_krb5_gss_update_context().

|
static |
Definition at line 2909 of file nasl_grammar.tab.c.
References AND, ARROW, BREAK, naslctxt::buffer, CONTINUE, YYSTYPE::data, DIV_EQ, ELSE, EQ, EXPO, FOR, FOREACH, FUNCTION, GLOBAL, IDENT, IF, INCLUDE, naslctxt::index, INFEQ, INTEGER, L_SHIFT, L_SHIFT_EQ, len, YYSTYPE::asciiz::len, naslctxt::line_nb, LOCAL, MATCH, MINUS_EQ, MINUS_MINUS, MODULO_EQ, MULT_EQ, nasl_perror(), NEQ, NOMATCH, YYSTYPE::num, OR, parse_buffer, parse_len, PLUS_EQ, PLUS_PLUS, R_SHIFT, R_SHIFT_EQ, R_USHIFT, R_USHIFT_EQ, RE_MATCH, RE_NOMATCH, REP, REPEAT, RETURN, ST_AND, ST_COMMENT, ST_DEC, ST_DIV, ST_EQ, ST_HEX, ST_IDENT, ST_INF, ST_L_SHIFT, ST_MINUS, ST_MODULO, ST_MULT, ST_NOT, ST_OCT, ST_OR, ST_PLUS, ST_R_SHIFT, ST_R_USHIFT, ST_SPACE, ST_START, ST_STRING1, ST_STRING2, ST_SUP, ST_SUP_EXCL, ST_ZERO, ST_ZEROX, YYSTYPE::str, STRING1, STRING2, SUPEQ, UNTIL, YYSTYPE::asciiz::val, and WHILE.
Referenced by nasllex().


| void nasl_clean_ctx | ( | naslctxt * | c | ) |
Definition at line 2848 of file nasl_grammar.tab.c.
References naslctxt::buffer, deref_cell(), and naslctxt::tree.
Referenced by exec_nasl_script().


| void nasl_clean_inc | ( | void | ) |
Definition at line 2858 of file nasl_grammar.tab.c.
References includes_hash.
Referenced by plugins_reload_from_dir().

| int nasl_get_include_order | ( | const char * | c | ) |
Definition at line 2867 of file nasl_grammar.tab.c.
References TC::include_order, and includes_hash.
Referenced by check_called_files(), and nasl_lint_call().

|
static |
Definition at line 2511 of file nasl_grammar.tab.c.
References LNB.
|
static |
Definition at line 3474 of file nasl_grammar.tab.c.
References mylex().

|
static |
Definition at line 2661 of file nasl_grammar.tab.c.
References len.
Referenced by init_nasl_ctx().

|
static |
Definition at line 1211 of file nasl_grammar.tab.c.
References YY_ACCESSING_SYMBOL, yy_symbol_print(), YYFPRINTF, yyr2, and yyrline.

|
static |
|
static |
Definition at line 1172 of file nasl_grammar.tab.c.
References yy_symbol_value_print(), YYFPRINTF, YYNTOKENS, and yysymbol_name().
Referenced by yy_reduce_print().


|
static |
Definition at line 1152 of file nasl_grammar.tab.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, and YY_USE.
Referenced by yy_symbol_print().

|
static |
Definition at line 1273 of file nasl_grammar.tab.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_SYMBOL_PRINT, and YY_USE.
Referenced by yyparse().

| int yyparse | ( | naslctxt * | parm, |
| int * | err_c ) |
Definition at line 1298 of file nasl_grammar.tab.c.
References alloc_expr_cell(), alloc_RE_cell(), alloc_typed_cell(), naslctxt::always_signed, ARRAY_ELEM, naslctxt::buffer, COMP_EQ, COMP_GE, COMP_GT, COMP_LE, COMP_LT, COMP_MATCH, COMP_NE, COMP_NOMATCH, COMP_RE_MATCH, COMP_RE_NOMATCH, CONST_DATA, CONST_INT, CONST_STR, YYSTYPE::data, deref_cell(), ERRC, naslctxt::exec_descr, EXPR_AND, EXPR_BIT_AND, EXPR_BIT_NOT, EXPR_BIT_OR, EXPR_BIT_XOR, EXPR_DECR, EXPR_DIV, EXPR_EXPO, EXPR_INCR, EXPR_L_SHIFT, EXPR_MINUS, EXPR_MODULO, EXPR_MULT, EXPR_NOT, EXPR_OR, EXPR_PLUS, EXPR_R_SHIFT, EXPR_R_USHIFT, EXPR_U_MINUS, TC::i_val, include_order, TC::include_order, includes_hash, init_nasl_ctx(), naslctxt::kb, naslctxt::line_nb, LN, LNB, make_array_from_elems(), name, TC::name, nasl_get_filename(), nasl_perror(), nasl_set_filename(), nasl_set_function_filename(), naslparse(), YYSTYPE::node, NODE_AFF, NODE_ARG, NODE_ARRAY_EL, NODE_BREAK, NODE_CONTINUE, NODE_DECL, NODE_DIV_EQ, NODE_FOR, NODE_FOREACH, NODE_FUN_CALL, NODE_FUN_DEF, NODE_GLOBAL, NODE_IF_ELSE, NODE_INSTR_L, NODE_L_SHIFT_EQ, NODE_LOCAL, NODE_MINUS_EQ, NODE_MODULO_EQ, NODE_MULT_EQ, NODE_PLUS_EQ, NODE_R_SHIFT_EQ, NODE_R_USHIFT_EQ, NODE_REPEAT_UNTIL, NODE_REPEATED, NODE_RETURN, NODE_VAR, NODE_WHILE, YYSTYPE::num, ref_cell(), YYSTYPE::str, TC::str_val, naslctxt::tree, YY_, YY_ACCESSING_SYMBOL, YY_ASSERT, YY_CAST, YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_IGNORE_USELESS_CAST_BEGIN, YY_IGNORE_USELESS_CAST_END, YY_INITIAL_VALUE, YY_REDUCE_PRINT, YY_STACK_PRINT, YY_SYMBOL_PRINT, YYABORT, YYACCEPT, yycheck, yydefact, yydefgoto, yydestruct(), YYDPRINTF, YYEMPTY, YYEOF, yyerrok, YYERROR, YYerror, yyerror, YYFINAL, YYINITDEPTH, YYLAST, yylex, YYMAXDEPTH, yynerrs, YYNOMEM, YYNSTATES, YYNTOKENS, yypact, yypact_value_is_default, yypgoto, YYPOPSTACK, YYPTRDIFF_T, yyr1, yyr2, YYSIZE_T, YYSIZEOF, yyalloc::yyss_alloc, YYSTACK_ALLOC, YYSTACK_BYTES, YYSTACK_FREE, YYSTACK_RELOCATE, YYSYMBOL_YYEMPTY, YYSYMBOL_YYEOF, YYSYMBOL_YYerror, yytable, yytable_value_is_error, YYTRANSLATE, YYUNDEF, and yyalloc::yyvs_alloc.

|
static |
Definition at line 709 of file nasl_grammar.tab.c.
References yytname.
Referenced by yy_symbol_print().

|
static |
Definition at line 2564 of file nasl_grammar.tab.c.
Referenced by init_nasl_ctx(), and load_checksums().
|
static |
Definition at line 2519 of file nasl_grammar.tab.c.
Referenced by add_nasl_inc_dir(), and init_nasl_ctx().
|
static |
Definition at line 112 of file nasl_grammar.tab.c.
Referenced by init_nasl_ctx(), and yyparse().
| GHashTable* includes_hash = NULL |
Definition at line 116 of file nasl_grammar.tab.c.
Referenced by nasl_clean_inc(), nasl_get_include_order(), and yyparse().
|
static |
Definition at line 109 of file nasl_grammar.tab.c.
Referenced by init_nasl_ctx(), and mylex().
|
static |
Definition at line 111 of file nasl_grammar.tab.c.
Referenced by init_nasl_ctx(), and mylex().
|
static |
Definition at line 912 of file nasl_grammar.tab.c.
Referenced by yyparse().
| int yydebug |
Definition at line 1238 of file nasl_grammar.tab.c.
|
static |
Definition at line 757 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 795 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 727 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 785 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 1047 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 1065 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 658 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 1019 of file nasl_grammar.tab.c.
|
static |
Definition at line 807 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 686 of file nasl_grammar.tab.c.
Referenced by yysymbol_name().
|
static |
Definition at line 621 of file nasl_grammar.tab.c.