#include <math.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "evaltype.h"
#include "lex.h"
#include "evalx.h"
Go to the source code of this file.
|
Definition at line 203 of file eval.h. Referenced by eval(), and exec_evalfunc(). |
|
Definition at line 206 of file eval.h. Referenced by eval(), and exec_evalfunc(). |
|
Definition at line 207 of file eval.h. Referenced by eval(), and exec_evalfunc(). |
|
Definition at line 204 of file eval.h. Referenced by eval(), and exec_evalfunc(). |
|
Definition at line 205 of file eval.h. Referenced by exec_evalfunc(). |
|
Definition at line 60 of file eval.h. Referenced by exec_evalfunc(). |
|
Definition at line 58 of file eval.h. Referenced by evalfunc(), set_helpmode(), and std_eval_func_handler(). |
|
Definition at line 59 of file eval.h. Referenced by evalsymbol(). |
|
Definition at line 42 of file eval.h. Referenced by dialog_eval_help(), eval(), and eval_set_func_handler(). |
|
Definition at line 43 of file eval.h. Referenced by dialog_eval_help(), eval(), and eval_set_symbol_handler(). |
|
Definition at line 155 of file eval.cc. Referenced by eval(). |
|
Definition at line 1565 of file eval.cc. Referenced by ht_linear_func_readbyte(), ht_linear_func_readstring(), and ht_linear_sub_symbol_handler(). |
|
Definition at line 1570 of file eval.cc. Referenced by eval(). |
|
Definition at line 1575 of file eval.cc. References eval_func_handler. Referenced by eval(). |
|
Definition at line 1580 of file eval.cc. References eval_symbol_handler. Referenced by eval(). |
|
Definition at line 1541 of file eval.cc. References get_eval_error(), MAX_FUNCNAME_LEN, NULL, set_eval_error(), and std_eval_func_handler(). Referenced by yyparse(). |
|
Definition at line 1448 of file eval.cc. References get_eval_error(), MAX_SYMBOLNAME_LEN, NULL, and set_eval_error(). Referenced by yyparse(). |
|
|
|
|
|
|
|
|
Definition at line 160 of file eval.cc. Referenced by blockop_int_process(), blockop_str_process(), create_blockop_int_context(), create_blockop_str_context(), create_request_evalstr(), eval(), evalfunc(), evalsymbol(), exec_evalfunc(), ht_uformat_viewer::handlemsg(), process_search_expr(), and ht_format_viewer::string_to_qword(). |
|
Definition at line 1311 of file eval.cc. References eval_scalarlist::count, eval_protomatch, MAX_EVALFUNC_PARAMS, eval_func::name, PROTOMATCH_NAME_FAIL, PROTOMATCH_OK, PROTOMATCH_PARAM_FAIL, eval_func::ptype, SCALAR_NULL, and SCALAR_VARARGS. Referenced by std_eval_func_handler(). |
|
Definition at line 455 of file eval.cc. References eval_str::len, malloc(), eval_scalar::scalar, SCALAR_FLOAT, SCALAR_INT, SCALAR_STR, eval_scalarbody::str, eval_scalar::type, and eval_str::value. Referenced by exec_evalfunc(). |
|
Definition at line 477 of file eval.cc. References eval_scalar::scalar, scalar_context_str(), SCALAR_STR, eval_scalarbody::str, string_concat(), and eval_scalar::type. Referenced by std_eval_func_handler(), and yyparse(). |
|
Definition at line 420 of file eval.cc. References binstr2cstr(), eval_scalarbody::floatnum, eval_scalarbody::integer, eval_str::len, NULL, QWORD_GET_FLOAT, eval_scalar::scalar, SCALAR_FLOAT, SCALAR_INT, SCALAR_STR, eval_scalarbody::str, eval_scalar::type, eval_str::value, eval_int::value, and eval_float::value. Referenced by exec_evalfunc(), and scalar_float_op(). |
|
|
Definition at line 367 of file eval.cc. References buf, eval_scalarbody::floatnum, ht_snprintf(), eval_scalarbody::integer, eval_str::len, malloc(), eval_scalar::scalar, SCALAR_FLOAT, SCALAR_INT, SCALAR_STR, eval_scalarbody::str, eval_scalar::type, eval_float::value, eval_str::value, and eval_int::value. Referenced by blockop_str_process(), create_blockop_str_context(), create_request_evalstr(), dialog_eval_help(), exec_evalfunc(), scalar_concat(), and scalar_strop(). |
|
Definition at line 355 of file eval.cc. References eval_scalarbody::floatnum, eval_scalar::scalar, SCALAR_FLOAT, and eval_scalar::type. Referenced by func_float(). |
|
Definition at line 361 of file eval.cc. References eval_scalarbody::floatnum, eval_scalar::scalar, SCALAR_FLOAT, eval_scalar::type, and eval_float::value. Referenced by ht_linear_func_entropy2(). |
|
Definition at line 319 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, SCALAR_INT, and eval_scalar::type. Referenced by func_int(), func_max(), and func_min(). |
|
Definition at line 325 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, SCALAR_INT, to_sint64(), to_uint64(), eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by func_byte(), func_is_float(), func_is_int(), func_is_string(), func_long(), func_ord(), func_rnd(), func_sbyte(), func_short(), func_strchr(), func_strcmp(), func_strlen(), func_word(), ht_linear_func_entropy(), ht_linear_func_readbyte(), ht_linear_sub_symbol_handler(), ht_hex_viewer::symbol_handler(), and ht_disasm_viewer::symbol_handler(). |
|
Definition at line 332 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, SCALAR_INT, eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by func_dword(), func_random(), and ht_aviewer::symbol_handler(). |
|
Definition at line 339 of file eval.cc. References eval_str::len, malloc(), eval_scalar::scalar, SCALAR_STR, eval_scalarbody::str, eval_scalar::type, and eval_str::value. Referenced by func_char(), func_string(), func_substr(), ht_linear_func_readstring(), and scalar_create_str_c(). |
|
Definition at line 347 of file eval.cc. References eval_str::len, scalar_create_str(), and eval_str::value. Referenced by func_substr(), func_typeof(), and std_eval_func_handler(). |
|
|
Definition at line 531 of file eval.cc. References EVAL_EQ, EVAL_GE, EVAL_GT, EVAL_LAND, EVAL_LE, EVAL_LOR, EVAL_LT, EVAL_LXOR, EVAL_NE, EVAL_POW, eval_scalarbody::floatnum, eval_scalarbody::integer, eval_scalar::scalar, scalar_context_float(), SCALAR_FLOAT, SCALAR_INT, set_eval_error(), eval_int::type, eval_scalar::type, TYPE_UNKNOWN, eval_int::value, and eval_float::value. Referenced by scalar_op(). |
|
Definition at line 580 of file eval.cc. References EVAL_EQ, EVAL_GE, EVAL_GT, EVAL_LAND, EVAL_LE, EVAL_LOR, EVAL_LT, EVAL_LXOR, EVAL_NE, EVAL_POW, EVAL_SHL, EVAL_SHR, eval_scalarbody::integer, qword, qword_cmp(), QWORD_GET_LO, eval_scalar::scalar, scalar_context_int(), SCALAR_INT, set_eval_error(), eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by scalar_op(). |
|
Definition at line 680 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, scalar_context_int(), scalar_destroy(), SCALAR_INT, eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by yyparse(). |
|
Definition at line 692 of file eval.cc. References scalar_context_int(), scalar_destroy(), and eval_int::value. Referenced by yyparse(). |
|
Definition at line 649 of file eval.cc. References eval_scalarbody::floatnum, eval_scalarbody::integer, eval_scalar::scalar, scalar_context_int(), scalar_destroy(), SCALAR_FLOAT, SCALAR_INT, eval_int::type, eval_scalar::type, TYPE_UNKNOWN, eval_int::value, and eval_float::value. Referenced by yyparse(). |
|
Definition at line 668 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, scalar_context_int(), scalar_destroy(), SCALAR_INT, eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by yyparse(). |
|
Definition at line 636 of file eval.cc. References scalar_destroy(), SCALAR_FLOAT, scalar_float_op(), scalar_int_op(), and eval_scalar::type. Referenced by yyparse(). |
|
Definition at line 283 of file eval.cc. References eval_scalarbody::integer, eval_scalar::scalar, SCALAR_INT, and eval_scalar::type. |
|
Definition at line 289 of file eval.cc. References eval_scalar::scalar, SCALAR_STR, eval_scalarbody::str, and eval_scalar::type. |
|
Definition at line 506 of file eval.cc. References EVAL_STR_EQ, EVAL_STR_GE, EVAL_STR_GT, EVAL_STR_LE, EVAL_STR_LT, EVAL_STR_NE, eval_scalarbody::integer, eval_scalar::scalar, scalar_context_str(), SCALAR_INT, string_compare(), eval_int::type, eval_scalar::type, TYPE_UNKNOWN, and eval_int::value. Referenced by yyparse(). |
|
Definition at line 240 of file eval.cc. References eval_scalarlist::count, malloc(), and eval_scalarlist::scalars. Referenced by yyparse(). |
|
Definition at line 248 of file eval.cc. References eval_scalarlist::count, scalar_destroy(), and eval_scalarlist::scalars. Referenced by yyparse(). |
|
Definition at line 259 of file eval.cc. References eval_scalarlist::scalars. Referenced by exec_evalfunc(), and yyparse(). |
|
Definition at line 233 of file eval.cc. References eval_scalarlist::count, malloc(), and eval_scalarlist::scalars. Referenced by yyparse(). |
|
Definition at line 172 of file eval.cc. References ht_vsnprintf(), and lex_current_buffer_pos(). Referenced by evalfunc(), evalsymbol(), exec_evalfunc(), func_ord(), ht_linear_func_readbyte(), ht_linear_func_readstring(), scalar_float_op(), scalar_int_op(), std_eval_func_handler(), ht_aviewer::symbol_handler(), and yyerror(). |
|
Definition at line 183 of file eval.cc. References ht_vsnprintf(). Referenced by exec_evalfunc(). |
|
|
|
|
|
Definition at line 1499 of file eval.cc. References buf, exec_evalfunc(), match_evalfunc_proto(), MAX_FUNCNAME_LEN, eval_func::name, PROTOMATCH_OK, PROTOMATCH_PARAM_FAIL, scalar_concat(), scalar_create_str_c(), scalar_destroy(), and set_eval_error(). Referenced by evalfunc(), ht_xbe_aviewer::func_handler(), ht_pe_aviewer::func_handler(), ht_aviewer::func_handler(), and ht_linear_sub_func_handler(). |
|
Definition at line 498 of file eval.cc. References eval_str::len, and eval_str::value. Referenced by scalar_strop(). |
|
Definition at line 442 of file eval.cc. References eval_str::len, malloc(), and eval_str::value. Referenced by scalar_concat(). |
|
Definition at line 224 of file eval.cc. References eval_str::value. Referenced by blockop_str_process(), dialog_eval_help(), scalar_destroy(), and ht_blockop_str_context::~ht_blockop_str_context(). |