File libsrc/vre_loop.c


Included Files


Local Variables

com_2
static struct match_token com_2[]
Used in: vre_Interactive_Loop()  

mod_sizes
static struct match_token mod_sizes[]

Used in: change_a_loc()  

last_list
static char last_list[]

Used in: get_last_int()  
  get_last_str()  
  set_last_int()  
  set_last_str()  

ADDR
static char ADDR[]

Used in: list_vars()  
  vre_Get_ADDR()  

TYPE
static char TYPE[]

Used in: get_last_type()  
  list_vars()  

whitespace
static char whitespace[]

Used in: change_a_loc()  
  get_last_type()  
  vre_Get_ADDR()  

my_seg_base
static void* my_seg_base

Used in: get_val_at()  
  vre_Interactive_Loop()  

last_type
static char* last_type

Used in: get_last_type()  

Global Function vre_Get_ADDR()

int vre_Get_ADDR ( char* np, char** nnp )
Prototyped in: mplib1/vre.h
Calls: get_hex_param() libsrc/vre_loop.c
  get_last_int() libsrc/vre_loop.c
  get_val_at() libsrc/vre_loop.c
  mpstrtok() libsrc/mpstrtok.c
  set_last_int() libsrc/vre_loop.c
  vre_Get_Info() libsrc/vre_alloc.c
Called by: change_a_loc() libsrc/vre_loop.c
  show_something() libsrc/vre_loop.c
  vre_Interactive_Loop() libsrc/vre_loop.c
References Variables: ADDR libsrc/vre_loop.c
  whitespace libsrc/vre_loop.c

Global Function vre_Interactive_Loop()

int vre_Interactive_Loop ( char* line, FILE* fp, void* base )
Prototyped in: mplib1/vre.h
Calls: change_a_loc() libsrc/vre_loop.c
  eval_private_default() libsrc/cfg_f_021.c
  list_vars() libsrc/vre_loop.c
  match_a_string() libsrc/match_tok.c
  show_something() libsrc/vre_loop.c
  vre_Disp_Types() libsrc/vre_alloc.c
  vre_Get_ADDR() libsrc/vre_loop.c
  vre_Parse_File() libsrc/vre_parse.c
  vre_Parse_Line() libsrc/vre_parse.c
  fprintf(), free(), strdup(), strlen()
References Variables: com_2 libsrc/vre_loop.c
  my_seg_base libsrc/vre_loop.c

Local Function change_a_loc()

static int change_a_loc ( FILE* fp, void* vp, char* np )
Calls: get_hex_param() libsrc/vre_loop.c
  match_a_string() libsrc/match_tok.c
  mpstrtok() libsrc/mpstrtok.c
  vre_Get_ADDR() libsrc/vre_loop.c
  vre_Get_Info() libsrc/vre_alloc.c
  fprintf(), strcpy()
Called by: vre_Interactive_Loop() libsrc/vre_loop.c
References Variables: mod_sizes libsrc/vre_loop.c
  whitespace libsrc/vre_loop.c

Local Function get_hex_param()

static int get_hex_param ( char* np, char** nnp )
Calls: strtol()
Called by: change_a_loc() libsrc/vre_loop.c
  vre_Get_ADDR() libsrc/vre_loop.c

Local Function get_last_int()

static int get_last_int ( char* key )
Calls: get_private_int() libsrc/cfg_f_013.c
Called by: list_vars() libsrc/vre_loop.c
  vre_Get_ADDR() libsrc/vre_loop.c
References Variables: last_list libsrc/vre_loop.c

Local Function get_last_str()

static char* get_last_str ( char* key )
Calls: get_private_string() libsrc/cfg_f_012.c
Called by: get_last_type() libsrc/vre_loop.c
  list_vars() libsrc/vre_loop.c
References Variables: last_list libsrc/vre_loop.c

Local Function get_last_type()

static char* get_last_type ( char* np, char** nnp )
Calls: get_last_str() libsrc/vre_loop.c
  mpstrtok() libsrc/mpstrtok.c
  set_last_str() libsrc/vre_loop.c
  vre_Find_Type() libsrc/vre_alloc.c
  free(), strdup(), strlen()
Called by: show_something() libsrc/vre_loop.c
References Variables: TYPE libsrc/vre_loop.c
  last_type libsrc/vre_loop.c
  whitespace libsrc/vre_loop.c

Local Function get_val_at()

static int get_val_at ( int pval, size_t isize )
Called by: vre_Get_ADDR() libsrc/vre_loop.c
References Variables: my_seg_base libsrc/vre_loop.c

Local Function list_vars()

static int list_vars ( FILE* fp, char* np )
Calls: get_last_int() libsrc/vre_loop.c
  get_last_str() libsrc/vre_loop.c
  fprintf()
Called by: vre_Interactive_Loop() libsrc/vre_loop.c
References Variables: ADDR libsrc/vre_loop.c
  TYPE libsrc/vre_loop.c

Local Function set_last_int()

static int set_last_int ( char* key, int newval )
Calls: set_private_int() libsrc/cfg_f_016.c
Called by: vre_Get_ADDR() libsrc/vre_loop.c
References Variables: last_list libsrc/vre_loop.c

Local Function set_last_str()

static int set_last_str ( char* key, char* newval )
Calls: set_private_string() libsrc/cfg_f_002.c
Called by: get_last_type() libsrc/vre_loop.c
References Variables: last_list libsrc/vre_loop.c

Local Function show_something()

static int show_something ( FILE* fp, void* vp, char* np )
Calls: get_last_type() libsrc/vre_loop.c
  vre_Disp_Item() libsrc/vre_alloc.c
  vre_Get_ADDR() libsrc/vre_loop.c
Called by: vre_Interactive_Loop() libsrc/vre_loop.c