Bugs item #1593, was opened at 2010-09-27 06:39 Status: Open Priority: 3 Submitted By: wangzhiwen wang (wangzhiwen) Assigned to: Nobody (None) Summary: no define of naslparse() Architecture: 32 Bit Resolution: None Severity: blocker Version: v3.0.1 Component: openvas-libnasl Operating System: Linux Product: OpenVAS Hardware: None URL:
Initial Comment: naslparse (ctx) : 在整个源码中都没有定义的地方 ,本人正在研究openvas scanner, 希望得到大家的帮助 ,这个函数如何实现的,谢谢 。 preparse.c Go to the documentation of this file. 00020 #include "nasl_tree.h" 00021 #include "nasl_global_ctxt.h" 00022 #include "nasl_func.h" 00023 #include "nasl_var.h" 00024 #include "nasl_lex_ctxt.h" 00025 #include "exec.h" 00026 #include "nasl_regex.h" 00027 #include "nasl_debug.h" 00028 00029 extern int naslparse (naslctxt *); 00030 00039 int 00040 nasl_reload_or_parse (naslctxt * ctx, const char *name) 00041 { 00042 if (init_nasl_ctx (ctx, name) < 0) 00043 return -1; 00044 00045 if (naslparse (ctx)) 00046 { 00047 fprintf (stderr, "\nParse error at or near line %d\n", ctx->line_nb); 00048 nasl_clean_ctx (ctx); 00049 return -1; 00050 } 00051 00052 return 0; 00053 } ---------------------------------------------------------------------- You can respond by visiting: http://wald.intevation.org/tracker/?func=detail&atid=220&aid=1593&group_id=29 _______________________________________________ Openvas-devel mailing list Openvas-devel@wald.intevation.org http://lists.wald.intevation.org/mailman/listinfo/openvas-devel