|
OpenVAS Scanner 22.7.9
|
#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 30706 |
| #define | YYBISON_VERSION "3.7.6" |
| #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) ((Type) (Val)) |
| #define | YY_REINTERPRET_CAST(Type, Val) ((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) YY_CAST (YYPTRDIFF_T, sizeof (X)) |
| #define | YY_(Msgid) Msgid |
| #define | YY_ATTRIBUTE_PURE |
| #define | YY_ATTRIBUTE_UNUSED |
| #define | YY_USE(E) ((void) (E)) |
| #define | YY_INITIAL_VALUE(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) ((void) (0 && (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) YY_CAST (yysymbol_kind_t, yystos[State]) |
| #define | YYPACT_NINF (-77) |
| #define | yypact_value_is_default(Yyn) ((Yyn) == YYPACT_NINF) |
| #define | YYTABLE_NINF (-70) |
| #define | yytable_value_is_error(Yyn) ((Yyn) == YYTABLE_NINF) |
| #define | yyerrok (yyerrstatus = 0) |
| #define | yyclearin (yychar = YYEMPTY) |
| #define | YYACCEPT goto yyacceptlab |
| #define | YYABORT goto yyabortlab |
| #define | YYERROR goto yyerrorlab |
| #define | YYRECOVERING() (!!yyerrstatus) |
| #define | YYBACKUP(Token, Value) |
| #define | YYERRCODE YYUNDEF |
| #define | YYFPRINTF fprintf |
| #define | YYDPRINTF(Args) |
| #define | YY_LOCATION_PRINT(File, Loc) ((void) 0) |
| #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) (yyvsp -= (N), yyssp -= (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. | |
| int | init_nasl_ctx (naslctxt *pc, 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.
| #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.
| #define LNB (((naslctxt*)parm)->line_nb) |
Definition at line 83 of file nasl_grammar.tab.c.
| #define YY_ | ( | Msgid | ) | Msgid |
Definition at line 399 of file nasl_grammar.tab.c.
| #define YY_ACCESSING_SYMBOL | ( | State | ) | YY_CAST (yysymbol_kind_t, yystos[State]) |
Accessing symbol of state STATE.
Definition at line 671 of file nasl_grammar.tab.c.
| #define YY_ASSERT | ( | E | ) | ((void) (0 && (E))) |
Definition at line 459 of file nasl_grammar.tab.c.
| #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 | |||
| ) | ((Type) (Val)) |
Definition at line 127 of file nasl_grammar.tab.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN |
Definition at line 439 of file nasl_grammar.tab.c.
| #define YY_IGNORE_MAYBE_UNINITIALIZED_END |
Definition at line 440 of file nasl_grammar.tab.c.
| #define YY_IGNORE_USELESS_CAST_BEGIN |
Definition at line 454 of file nasl_grammar.tab.c.
| #define YY_IGNORE_USELESS_CAST_END |
Definition at line 455 of file nasl_grammar.tab.c.
| #define YY_INITIAL_VALUE | ( | Value | ) | Value |
Definition at line 436 of file nasl_grammar.tab.c.
| #define YY_LOCATION_PRINT | ( | File, | |
| Loc | |||
| ) | ((void) 0) |
Definition at line 1143 of file nasl_grammar.tab.c.
| #define YY_NULLPTR ((void*)0) |
Definition at line 139 of file nasl_grammar.tab.c.
| #define YY_REDUCE_PRINT | ( | Rule | ) |
Definition at line 1246 of file nasl_grammar.tab.c.
| #define YY_REINTERPRET_CAST | ( | Type, | |
| Val | |||
| ) | ((Type) (Val)) |
Definition at line 128 of file nasl_grammar.tab.c.
| #define YY_STACK_PRINT | ( | Bottom, | |
| Top | |||
| ) |
Definition at line 1215 of file nasl_grammar.tab.c.
| #define YY_SYMBOL_PRINT | ( | Title, | |
| Kind, | |||
| Value, | |||
| Location | |||
| ) |
Definition at line 1147 of file nasl_grammar.tab.c.
| #define YY_USE | ( | E | ) | ((void) (E)) |
Definition at line 422 of file nasl_grammar.tab.c.
| #define YYABORT goto yyabortlab |
Definition at line 1099 of file nasl_grammar.tab.c.
| #define YYACCEPT goto yyacceptlab |
Definition at line 1098 of file nasl_grammar.tab.c.
| #define YYBACKUP | ( | Token, | |
| Value | |||
| ) |
Definition at line 1105 of file nasl_grammar.tab.c.
| #define YYBISON 30706 |
Definition at line 49 of file nasl_grammar.tab.c.
| #define YYBISON_VERSION "3.7.6" |
Definition at line 52 of file nasl_grammar.tab.c.
| #define yyclearin (yychar = YYEMPTY) |
Definition at line 1096 of file nasl_grammar.tab.c.
| #define YYCOPY | ( | Dst, | |
| Src, | |||
| Count | |||
| ) |
Definition at line 576 of file nasl_grammar.tab.c.
| #define YYCOPY_NEEDED 1 |
Definition at line 548 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 1135 of file nasl_grammar.tab.c.
| #define YYERRCODE YYUNDEF |
Definition at line 1124 of file nasl_grammar.tab.c.
| #define yyerrok (yyerrstatus = 0) |
Definition at line 1095 of file nasl_grammar.tab.c.
| #define yyerror naslerror |
Definition at line 70 of file nasl_grammar.tab.c.
| #define YYERROR goto yyerrorlab |
Definition at line 1100 of file nasl_grammar.tab.c.
| #define YYERROR_VERBOSE |
Definition at line 118 of file nasl_grammar.tab.c.
| #define YYFINAL 80 |
Definition at line 589 of file nasl_grammar.tab.c.
| #define YYFPRINTF fprintf |
Definition at line 1132 of file nasl_grammar.tab.c.
| #define YYFREE free |
Definition at line 520 of file nasl_grammar.tab.c.
| #define YYINITDEPTH 200 |
Definition at line 1265 of file nasl_grammar.tab.c.
| #define YYLAST 1009 |
Definition at line 591 of file nasl_grammar.tab.c.
| #define yylex nasllex |
Definition at line 69 of file nasl_grammar.tab.c.
| #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 514 of file nasl_grammar.tab.c.
| #define YYMAXDEPTH 10000 |
Definition at line 1276 of file nasl_grammar.tab.c.
| #define YYMAXUTOK 304 |
Definition at line 603 of file nasl_grammar.tab.c.
| #define yynerrs naslnerrs |
Definition at line 72 of file nasl_grammar.tab.c.
| #define YYNNTS 43 |
Definition at line 596 of file nasl_grammar.tab.c.
| #define YYNRULES 127 |
Definition at line 598 of file nasl_grammar.tab.c.
| #define YYNSTATES 229 |
Definition at line 600 of file nasl_grammar.tab.c.
| #define YYNTOKENS 73 |
Definition at line 594 of file nasl_grammar.tab.c.
| #define YYPACT_NINF (-77) |
Definition at line 725 of file nasl_grammar.tab.c.
| #define yypact_value_is_default | ( | Yyn | ) | ((Yyn) == YYPACT_NINF) |
Definition at line 727 of file nasl_grammar.tab.c.
| #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 | ) | (yyvsp -= (N), yyssp -= (N)) |
| #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.
| #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 | ( | ) | (!!yyerrstatus) |
Definition at line 1103 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 | ) | YY_CAST (YYPTRDIFF_T, sizeof (X)) |
Definition at line 382 of file nasl_grammar.tab.c.
| #define YYSKELETON_NAME "yacc.c" |
Definition at line 55 of file nasl_grammar.tab.c.
| #define YYSTACK_ALLOC YYMALLOC |
Definition at line 500 of file nasl_grammar.tab.c.
| #define YYSTACK_ALLOC_MAXIMUM YYSIZE_MAXIMUM |
Definition at line 503 of file nasl_grammar.tab.c.
| #define YYSTACK_BYTES | ( | N | ) |
Definition at line 544 of file nasl_grammar.tab.c.
| #define YYSTACK_FREE YYFREE |
Definition at line 501 of file nasl_grammar.tab.c.
Definition at line 540 of file nasl_grammar.tab.c.
| #define YYSTACK_RELOCATE | ( | Stack_alloc, | |
| Stack | |||
| ) |
Definition at line 555 of file nasl_grammar.tab.c.
| #define YYTABLE_NINF (-70) |
Definition at line 730 of file nasl_grammar.tab.c.
| #define yytable_value_is_error | ( | Yyn | ) | ((Yyn) == YYTABLE_NINF) |
Definition at line 732 of file nasl_grammar.tab.c.
| #define YYTRANSLATE | ( | YYX | ) |
Definition at line 608 of file nasl_grammar.tab.c.
| 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 2839 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 2551 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 2661 of file nasl_grammar.tab.c.
References len.
Referenced by init_nasl_ctx().

| void free | ( | void * | ) |
Referenced by create_ipc_process(), ipc_contexts_init(), ipc_data_type_from_hostname(), ipc_data_type_from_user_agent(), ipc_destroy_contexts(), ipc_init(), ipc_init_pipe(), ipc_pipe_destroy(), ipc_pipe_retrieve(), and smb_sign().

| int init_nasl_ctx | ( | naslctxt * | pc, |
| 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 2696 of file nasl_grammar.tab.c.
References add_nasl_inc_dir(), naslctxt::always_signed, naslctxt::buffer, checksum_algorithm, naslctxt::exec_descr, file_checksum(), inc_dirs, naslctxt::include_order, include_order, naslctxt::kb, naslctxt::line_nb, load_checksums(), naslctxt::name, name, nasl_set_filename(), parse_buffer, parse_len, and naslctxt::tree.
Referenced by exec_nasl_script(), and yyparse().


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


| void * malloc | ( | YYSIZE_T | ) |
Referenced by ipc_contexts_init(), and ipc_exec_as_process().

|
static |
Definition at line 2869 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, YYSTYPE::asciiz::len, 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 2808 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 2818 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 2827 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 2526 of file nasl_grammar.tab.c.
References LNB.
|
static |
Definition at line 3434 of file nasl_grammar.tab.c.
References mylex().

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

|
static |
|
static |
Definition at line 1188 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 1164 of file nasl_grammar.tab.c.
References YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN, YY_IGNORE_MAYBE_UNINITIALIZED_END, YY_USE, and YYNTOKENS.
Referenced by yy_symbol_print().

|
static |
Definition at line 1289 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 1314 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, 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 703 of file nasl_grammar.tab.c.
References yytname.
Referenced by yy_symbol_print().

|
static |
Definition at line 2579 of file nasl_grammar.tab.c.
Referenced by init_nasl_ctx(), and load_checksums().
|
static |
Definition at line 2534 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 922 of file nasl_grammar.tab.c.
Referenced by yyparse().
| int yydebug |
Definition at line 1254 of file nasl_grammar.tab.c.
|
static |
Definition at line 767 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 805 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 737 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 1057 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 1075 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print(), and yyparse().
|
static |
Definition at line 652 of file nasl_grammar.tab.c.
Referenced by yy_reduce_print().
|
static |
Definition at line 1029 of file nasl_grammar.tab.c.
|
static |
Definition at line 817 of file nasl_grammar.tab.c.
Referenced by yyparse().
|
static |
Definition at line 680 of file nasl_grammar.tab.c.
Referenced by yysymbol_name().
|
static |
Definition at line 615 of file nasl_grammar.tab.c.