Logo Search packages:      
Sourcecode: eresi version File versions  Download package

revm.h File Reference


Detailed Description

for librevm in ERESI

Started on Thu Feb 22 07:19:04 2001 jfv Moved from elfsh to librevm on January 2007 jfv

Id
revm-io.h,v 1.56 2008-02-16 12:32:27 thor Exp

Started on Thu Feb 22 07:19:04 2001 jfv

Moved from elfsh to librevm on January 2007 -may

Id
revm-objects.h,v 1.9 2007-11-30 10:13:54 may Exp

Started on Thu Feb 22 07:19:04 2001 jfv Moved from elfsh to librevm on January 2007 -may

Id
revm.h,v 1.97 2008-02-16 12:32:27 thor Exp

Definition in file revm.h.

#include "revm-vars.h"
#include <sys/types.h>
#include <stdio.h>
#include <termios.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <sys/wait.h>
#include <assert.h>
#include <setjmp.h>
#include <time.h>
#include <ctype.h>
#include <dirent.h>
#include <sys/ucontext.h>
#include <pthread.h>
#include <stdarg.h>
#include <regex.h>
#include "libelfsh.h"
#include "libedfmt.h"
#include "libaspect.h"
#include <libasm.h>
#include <libmjollnir.h>
#include "revm-io.h"
#include "revm-objects.h"

Go to the source code of this file.

Classes

struct  s_args
struct  s_cmdhandler
struct  s_const
struct  s_job
struct  s_list
struct  s_module
struct  s_revmcontext
struct  s_revmiteration
struct  s_revmrewrite
struct  s_revmtraces
struct  s_world

Defines

#define __DEBUG_ARG_COUNT__   0
#define __DEBUG_ASLR__   0
#define __DEBUG_DISASM__   0
#define __DEBUG_EXPRS__   0
#define __DEBUG_EXPRS_MORE__   0
#define __DEBUG_GRAPH__   0
#define __DEBUG_HIJACK__   0
#define __DEBUG_LANG__   0
#define __DEBUG_NETWORK__   0
#define __DEBUG_RESOLVE__   0
#define __DEBUG_SCANNER__   0
#define __DEBUG_SIGHANDLER__   0
#define __DEBUG_TEST__   0
#define __DEBUG_TRACE__   0
#define __USE_GNU
#define __USE_ISOC99
#define CHOOSE_REGX(r, idx)
#define CMD_CASE   "case"
#define CMD_CONTINUE   "continue"
#define CMD_CONTINUE2   "cont"
#define CMD_DEFAULT   "default"
#define CMD_FOREACH   "foreach"
#define CMD_FOREND   "forend"
#define CMD_MATCH   "rewrite"
#define CMD_MATCHEND   "rwtend"
#define CMD_PARAM_INTO   "into"
#define CMD_POST   "post"
#define CMD_PRE   "pre"
#define CMD_QUIT   "quit"
#define CMD_QUIT2   "exit"
#define CMD_RETURN   "return"
#define CMD_RETURN2   "ret"
#define E2DBG_ARGV0   "e2dbg"
#define E2DBG_NAME   "Embedded ELF Debugger"
#define ELFSH_ARCHTYPE_MAX   56
#define ELFSH_DYNAMIC_MAX   35
#define ELFSH_ENCODING_MAX   3
#define ELFSH_EXTDYN_MAX   19
#define ELFSH_EXTSEG_MAX   5
#define ELFSH_FEATURE_MAX   2
#define ELFSH_FINI   "elfsh_fini"
#define ELFSH_FLAGS1_MAX   15
#define ELFSH_FLAGS_MAX   4
#define ELFSH_HELP   "elfsh_help"
#define ELFSH_INIT   "elfsh_init"
#define ELFSH_INSTRTYPE_MAX   24
#define ELFSH_MIPSDYN_MAX   43
#define ELFSH_MIPSFLAGS_MAX   16
#define ELFSH_NAME   "ELF shell"
#define ELFSH_OBJTYPE_MAX   5
#define ELFSH_OPTYPE_MAX   4
#define ELFSH_ORIG   ((void *) -1)
#define ELFSH_POSFLAG_MAX   2
#define ELFSH_RELOC_ALPHA_MAX   43
#define ELFSH_RELOC_i386_MAX   11
#define ELFSH_RELOC_IA64_MAX   81
#define ELFSH_RELOC_MAX(file)   revm_getmaxrelnbr(file)
#define ELFSH_RELOC_MIPS_MAX   35
#define ELFSH_RELOC_SPARC64_MAX   55
#define ELFSH_RELOC_SPARC_MAX   55
#define ELFSH_SEGTYPE_MAX   7
#define ELFSH_SHTYPE_MAX   16
#define ELFSH_SYMBIND_MAX   3
#define ELFSH_SYMTYPE_MAX   STT_NUM + 1
#define ELFSH_VERENTRY_MAX   4
#define ELFSH_VERTYPE_DEF   3
#define ELFSH_VERTYPE_NEED   2
#define ELFSH_VERTYPE_NONE   0
#define ELFSH_VERTYPE_UNK   1
#define ERESI_DEFAULT_HISTORY   ".eresi_history"
#define ERESI_VMCONFIG_GRAPH_AUTOBUILD   "graph.autobuild"
#define ERESI_VMCONFIG_GRAPH_AUTOVIEW   "graph.autoview"
#define ERESI_VMCONFIG_GRAPH_STORAGEPATH   "graph.storagepath"
#define ERESI_VMCONFIG_GRAPH_VIEWCMD   "graph.viewcmd"
#define ERESI_VMCONFIG_HISTORY   "history"
#define ERESI_VMCONFIG_ONLOAD_RCONTROL   "onload.restore_control"
#define ERESI_VMCONFIG_USE_ASMDEBUG   "asm.debug"
#define ERESI_VMCONFIG_USE_MORE   "vm.use_more"
#define FATAL(a)   { perror(a); revm_exit(-1); }
#define FIRSTREGX(r)   CHOOSE_REGX(r, 0)
#define IS_BLANK(c)   (c == ' ' || c == '\t')
#define IS_VADDR(s)   (s[0] == '0' && (s[1] == 'X' || s[1] == 'x'))
#define PERROR_RET(a, b)   { perror(a); RETERR (b); }
#define PRINTABLE(c)   (c >= 32 && c <= 126)
#define QUIT_ERROR(a)   { revm_exit(a); }
#define REGX_IS_USED(a)   a
#define RET(a)   PROFILER_ROUT(__FILE__, __FUNCTION__, __LINE__, a)
#define RETERR(a)   PROFILER_ERR(__FILE__, __FUNCTION__, __LINE__, a, -1)
#define REVM_CASE_ARROW   "->"
#define REVM_CASE_QMARK   "?"
#define REVM_CMDARGS_COUNT(cmd)
#define REVM_COMMAND_DECLARE(name)   char modcmd_##name = name
#define REVM_COMMENT_START   '#'
#define REVM_CONFIG   ".eresirc"
#define REVM_CREATE_NEWID   (1 << 2)
#define REVM_DASH   '-'
#define REVM_FIFO_C2S   "/tmp/.revm.io.c2s"
#define REVM_FIFO_S2C   "/tmp/.revm.io.s2c"
#define REVM_HASH_MERGE   (1 << 0)
#define REVM_HASH_UNMERGE   (1 << 1)
#define REVM_IDX_UNINIT   ((unsigned int) (-1))
#define REVM_IDX_UNINIT   ((unsigned int) (-1))
#define REVM_INVALID_FIELD   ((u_int) -1)
#define REVM_MAXARGC   128
#define REVM_MAXNEST_LOOP   10
#define REVM_MAXSRCNEST   10
#define REVM_OP_ADD   1
#define REVM_OP_CMP   7
#define REVM_OP_COPY   9
#define REVM_OP_DIV   4
#define REVM_OP_MATCH   8
#define REVM_OP_MOD   5
#define REVM_OP_MUL   3
#define REVM_OP_SET   6
#define REVM_OP_SUB   2
#define REVM_OP_UNKNOW   0
#define REVM_SCRIPT_CONTINUE   (1)
#define REVM_SCRIPT_ERROR   (-1)
#define REVM_SCRIPT_OK   (0)
#define REVM_SCRIPT_QUIT   (3)
#define REVM_SCRIPT_STOP   (2)
#define REVM_SEP   "."
#define REVM_SLASH   '/'
#define REVM_SPACE   ' '
#define REVM_STRTABLE_GET(_out, _in)
#define REVM_TMPVAR_PREFIX   "$TMPVAR"
#define REVM_TRACE_REP   ".etrace"
#define REVM_VAR_ARGC   "$#"
#define REVM_VAR_EDITOR   "$EDITOR"
#define REVM_VAR_ERROR   "$ERR"
#define REVM_VAR_ESHLEVEL   "$ESHLVL"
#define REVM_VAR_LIBPATH   "$LPATH"
#define REVM_VAR_LOAD   "$!"
#define REVM_VAR_PREFIX   '$'
#define REVM_VAR_RESULT   "$_"
#define REVM_VAR_SHELL   "$SHELL"
#define REVM_VAR_STRIPLOG   "$SLOG"
#define REVM_VIEW_DISASM   1
#define REVM_VIEW_HEX   0
#define RL_PROMPT_END_IGNORE   '\002'
#define RL_PROMPT_START_IGNORE   '\001'
#define SECONDREGX(r)   CHOOSE_REGX(r, 1)

Typedefs

typedef struct s_args revmargv_t
typedef struct s_cmdhandler revmcmd_t
typedef struct s_const revmconst_t
typedef struct s_revmcontext revmcontext_t
typedef struct s_revmiteration revmiter_t
typedef struct s_job revmjob_t
typedef struct s_list revmlist_t
typedef struct s_module revmmod_t
typedef struct s_revmrewrite revmrewrite_t
typedef struct s_revmtraces revmtraces_t
typedef struct s_world revmworld_t

Functions

void asm_do_resolve (void *data, eresi_Addr vaddr, char *, u_int)
int dprintf (int fd, char *format,...)
int elfsh_load_core_info (elfshobj_t *)
revmobj_tparse_hash (char *param, char *fmt)
 Parse a hash access.
revmobj_tparse_hash_field (char *param, char *fmt)
revmobj_tparse_list (char *param, char *fmt)
 Parse a hash access.
revmobj_tparse_lookup3 (char *param, char *fmt, u_int sepnbr)
revmobj_tparse_lookup3_index (char *param, char *fmt, u_int sepnbr)
 Lookup a parameter with 3 fields, 3rd field beeing an index Used by GOT, CTORS, DTORS.
revmobj_tparse_lookup4 (char *param, char *fmt, u_int sepnbr)
revmobj_tparse_lookup5_index (char *param, char *fmt, u_int sepnbr)
revmobj_tparse_vector (char *param, char *fmt)
 Parse a vector access.
int revm_add_script_cmd (char *dirstr)
revmannot_trevm_annot_get (char *name)
int revm_arithmetics (revmexpr_t *e1, revmexpr_t *e2, u_char op)
char * revm_ascii_ltype (list_t *cur)
char * revm_ascii_type (hash_t *cur)
char * revm_ascii_vtype (vector_t *cur)
void revm_badparam (char *str)
void revm_banner_print ()
char * revm_basename (char *str)
char * revm_build_unknown (char *buf, const char *str, u_long type)
int revm_byte_setobj (void *data, eresi_Addr value)
int revm_check_addr (elfshobj_t *obj, eresi_Addr add)
 Check the validity of an address.
revmobj_trevm_check_object (revmobj_t *pobj)
 Verify an object sanity.
void revm_cleanup ()
revmjob_t * revm_clone_job (char *name, revmjob_t *job)
int revm_command_add (char *cmd, void *exec, void *reg, u_int needfile, char *help)
int revm_command_del (char *cmd)
int revm_command_set (char *cmd, void *exec, void *reg, u_int needcur)
int revm_config (char *config)
int revm_context_restore (int, char, revmargv_t *, void *, char **, char *)
int revm_convert2byte (revmobj_t *obj)
int revm_convert2caddr (revmobj_t *obj)
int revm_convert2daddr (revmobj_t *obj)
int revm_convert2int (revmobj_t *obj)
int revm_convert2long (revmobj_t *obj)
int revm_convert2raw (revmobj_t *obj)
int revm_convert2short (revmobj_t *obj)
int revm_convert2str (revmobj_t *obj)
int revm_convert_object (revmexpr_t *e, u_int objtype)
 The high level function for object conversion.
revmobj_trevm_copy_object (revmobj_t *pobj)
 Destroy an object.
revmobj_trevm_create_CADDR (char perm, eresi_Addr val)
 Create constant object.
revmcmd_t * revm_create_CMDENT (int(*exec)(void *file, void *av), int(*reg)(u_int i, u_int ac, char **av), int flags, char *help)
revmobj_trevm_create_DADDR (char perm, eresi_Addr val)
 Create constant object.
revmobj_trevm_create_IMMED (char type, char perm, u_int val)
 Create constant object : Perm == 1 if the object is writable.
revmobj_trevm_create_IMMEDSTR (char perm, char *str)
 Create constant string object.
revmL1_trevm_create_L1ENT (void *get_obj, void *get_obj_idx, void *get_obj_nam, hash_t *l2_hash, void *get_entptr, void *get_entval, void *set_entval, u_int elem_size)
 Now comes Level 1 objects hash functions.
revmL2_trevm_create_L2ENT (void *get_obj, void *set_obj, char type, void *get_name, void *set_name, void *get_data, void *set_data)
revmobj_trevm_create_LONG (char perm, eresi_Addr val)
 Create constant object.
elfshredir_trevm_create_REDIR (u_char type, char *sname, char *dname, eresi_Addr saddr, eresi_Addr daddr)
 Create a redirection abstract object.
u_int revm_dbgid_get ()
void revm_dbgid_set (u_int pid)
void revm_destroy_object (revmobj_t *pobj)
 Destroy an object.
char ** revm_doargv (u_int nbr, u_int *argc, char *buf)
int revm_doerror (void(*fct)(char *str), char *str)
int revm_doswitch (int nbr)
void revm_dynentinfo (elfshobj_t *f, elfsh_Dyn *ent, char *info)
int revm_edfmt_parse (elfshobj_t *file)
int revm_edfmt_uni_print (elfshobj_t *file)
int revm_elist_add (list_t *h, revmexpr_t *e)
int revm_elist_del (list_t *h, revmexpr_t *e)
int revm_elist_set (char *tab, char *elm, void *obj, u_int type)
void revm_error (char *label, char *param)
int revm_exec_str (char *str)
int revm_execmd ()
int revm_execscript ()
void revm_exit (int err)
int revm_expr_compare (revmexpr_t *orig, revmexpr_t *candid, eresi_Addr *val)
int revm_expr_compare_by_name (char *original, char *candidate, eresi_Addr *val)
revmexpr_trevm_expr_copy (revmexpr_t *source, char *dstname, u_char isfield)
revmexpr_trevm_expr_create (aspectype_t *type, char *name, char *val)
revmexpr_trevm_expr_create_from_object (revmobj_t *copyme, char *name)
int revm_expr_destroy (char *e)
revmexpr_trevm_expr_get (char *pathname)
int revm_expr_match (revmexpr_t *candid, revmexpr_t *orig)
int revm_expr_match_by_name (char *original, char *candidate)
int revm_expr_print (char *pathname)
int revm_expr_set (revmexpr_t *adst, revmexpr_t *asrc)
int revm_expr_set_by_name (char *dest, char *source)
aspectype_trevm_exprtype_get (char *exprvalue)
char * revm_fetch_sht_typedesc (elfsh_Word typenum)
aspectype_trevm_fieldoff_get (aspectype_t *par, char *fld, u_int *off)
 Return offset given field name.
int revm_fifo_io (revmjob_t *job)
int revm_file_load (char *name, eresi_Addr base, elfshlinkmap_t *lm)
char * revm_filter_param (char *buf, char *ptr)
void revm_filter_zero (char *str)
u_int revm_findblanks (char *buf)
void revm_findhex (u_int argc, char **argv)
char * revm_generic_getdata (void *data, int off, int sizelm)
char * revm_generic_getname (void *type, void *data)
eresi_Addr revm_generic_getobj (void *data)
int revm_generic_setdata (void *d, int off, void *ndat, int sz, int szlm)
int revm_generic_setname (void *type, void *data, void *newdata)
int revm_getcaseparams (u_int index, u_int argc, char **argv)
int revm_getdisasm (u_int index, u_int argc, char **argv)
elfshobj_trevm_getfile (u_int index)
int revm_getforparams (u_int index, u_int argc, char **argv)
int revm_gethexa (u_int index, u_int argc, char **argv)
int revm_getinput (u_int index, u_int argc, char **argv)
int revm_getmatchparams (u_int index, u_int argc, char **argv)
revmmod_t * revm_getmod (u_int index)
int revm_getoption (u_int index, u_int argc, char **argv)
int revm_getoption2 (u_int index, u_int argc, char **argv)
int revm_getoption3 (u_int index, u_int argc, char **argv)
int revm_getoutput (u_int index, u_int argc, char **argv)
int revm_getregxoption (u_int index, u_int argc, char **argv)
int revm_getvarparams (u_int index, u_int argc, char **argv)
int revm_hash_add (hash_t *h, revmexpr_t *e)
int revm_hash_del (hash_t *h, revmexpr_t *e)
eresi_Addr revm_hash_getobj (void *data)
int revm_hash_set (char *tab, char *elm, void *obj, u_int type)
int revm_hashbucket_print (int, int, int, char *, int, int, int)
int revm_hashchain_print (int i, int s, char *n, int r, int h)
int revm_hashunk (int i)
int revm_help (char *command)
int revm_implicit (revmcmd_t *actual)
revmexpr_trevm_inform_type (char *type, char *name, char *addr, revmexpr_t *e, u_char p, u_char r)
 Add an element to the inform table for a given type.
revmexpr_trevm_inform_type_addr (char *t, char *n, eresi_Addr a, revmexpr_t *, u_char p, u_char r)
int revm_informed_print (char *name)
int revm_init () __attribute__((constructor))
u_int revm_instr_display (int, u_int, eresi_Addr, u_int, u_int, char *, u_int, char *)
int revm_int_setobj (void *data, eresi_Addr value)
elfshobj_trevm_is_dep (elfshobj_t *obj, char *path)
elfshobj_trevm_is_depid (elfshobj_t *obj, int id)
int revm_is_loaded (char *name)
int revm_isnbr (char *string)
int revm_load_dep (elfshobj_t *p, char *n, eresi_Addr b, elfshlinkmap_t *, hash_t *)
int revm_load_enumdep (elfshobj_t *obj)
int revm_load_init_dephash (elfshobj_t *file, char *name)
char * revm_load_searchlib (char *name)
revmjob_t * revm_localjob_get ()
 Return the current local job.
int revm_long_setobj (void *data, eresi_Addr value)
eresi_Addr revm_lookup_addr (char *param)
 Get address value.
elfshobj_trevm_lookup_file (char *param)
 Lookup the file pointed by name.
revmobj_trevm_lookup_immed (char *param)
 Get immediate value.
u_int revm_lookup_index (char *param)
 Lookup an index.
revmexpr_trevm_lookup_param (char *param)
char * revm_lookup_string (char *param)
 Lookup an index.
revmexpr_trevm_lookup_var (char *param)
 Support for double (or multiple) variables : $$name, $$$name, etc.
int revm_loop (int argc, char **argv)
int revm_match_sht (elfshobj_t *file, elfshsect_t *l, revmlist_t *actual)
int revm_match_special (elfshobj_t *file, eresi_Addr vaddr, revmlist_t *)
int revm_match_symtab (elfshobj_t *file, elfshsect_t *symtab, revmlist_t *actual, int flag)
char * revm_modename_get ()
int revm_modlist ()
revmmod_t * revm_modprobe ()
int revm_move_pc (char *idx)
int revm_nextconds_atomics (revmexpr_t *o1, revmexpr_t *o2)
int revm_object_compare (revmexpr_t *e1, revmexpr_t *e2, eresi_Addr *val)
revmobj_trevm_object_create (aspectype_t *type, void *data, char transaddr)
 Create the REVM object that is to be returned.
int revm_object_display (elfshsect_t *parent, elfsh_Sym *sym, int size, u_int off, u_int foffset, eresi_Addr vaddr, char *name, char otype)
revmobj_trevm_object_lookup (char *str)
 Lookup the path for a complex typed object (using syntactic sugar).
revmobj_trevm_object_lookup_real (aspectype_t *type, char *objname, char *objpath, char trans)
 Lookup _for real_ the path of a complex typed object.
void revm_object_print (revmobj_t *obj)
int revm_object_set (revmexpr_t *e1, revmexpr_t *e2)
 Copy a simply typed object into another one.
int revm_openscript (char **av)
int revm_own_job (revmjob_t *job)
int revm_parseopt (int argc, char **argv)
void revm_pht_print (elfsh_Phdr *phdr, uint16_t num, eresi_Addr base)
 Display a PHT.
void revm_postexec (int retval)
int revm_preconds_atomics (revmexpr_t **o1, revmexpr_t **o2)
void revm_print_actual (revmargv_t *cur)
int revm_printscript (revmargv_t *start)
void revm_quitmsg_set (char *msg)
void revm_replace_speblanks (u_int argc, char **argv)
char * revm_resolve (elfshobj_t *file, eresi_Addr addr, elfsh_SAddr *roff)
char * revm_reverse (elfshobj_t *file, u_int vaddr)
 Print a buffer with a resolved virtual address and offset to a symbol name.
int revm_run (int ac, char **av)
int revm_screen_clear (int i, char c)
int revm_screen_switch ()
int revm_screen_update (u_short isnew, u_short prompt_display)
int revm_section_display (elfshsect_t *s, char *name, revmlist_t *re)
int revm_setup (int ac, char **av, char mode, char side)
int revm_setvar_byte (char *varname, u_char byte)
int revm_setvar_int (char *varname, u_int val)
int revm_setvar_long (char *varname, u_long val)
int revm_setvar_raw (char *varname, char *value, u_int len)
int revm_setvar_short (char *varname, u_short val)
int revm_setvar_str (char *varname, char *value)
int revm_short_setobj (void *data, eresi_Addr value)
int revm_sht_print (elfsh_Shdr *shdr, u_int num, char rtflag)
revmexpr_trevm_simple_expr_create (aspectype_t *datatype, char *name, char *value)
revmjob_t * revm_socket_add (int socket, struct sockaddr_in *addr)
 TO COMPLETE.
int revm_source (char **params)
 Command interface for ERESI script sourcing.
char * revm_string_get (char **params)
int revm_strtable_add (char *string)
void revm_switch_job (revmjob_t *job)
int revm_system (char *cmd)
void revm_tables_setup ()
int revm_testbit (revmexpr_t *o1, revmexpr_t *o2, u_int *result)
int revm_testscript (int ac, char **av)
char * revm_tmpvar_create ()
int revm_traces_add_arguments (int argc, char **argv)
elfshtraces_trevm_traces_createargs (elfshobj_t *file, char *name, edfmtfunc_t *func, eresi_Addr vaddr, u_char external)
edfmtfunc_t * revm_traces_tracable_with_type (elfshobj_t *file, char *func_name, u_char external)
int revm_trans_speblank (const char *in, char ***av, u_int *ac)
int revm_type_copy (char *from, char *to)
int revm_type_hashcreate (char *name)
int revm_type_print (char *type, char mode)
int revm_type_print_regex (char *regex)
int revm_type_prints ()
int revm_uninform_type (char *type, char *varname, u_char print)
void revm_unknown (char *str)
int revm_unload_dep (elfshobj_t *obj, elfshobj_t *root)
int revm_usage (char *str)
int revm_valid_workspace (char *name)
int revm_variable_istemp (revmexpr_t *e)
int revm_vector_bad_dims (vector_t *v, unsigned int *dims, u_int dimnbr)
int revm_vectors_getdimnbr (char *str)
int revm_vectors_getdims (char *str, unsigned int *dims)
int revm_version_pdef (hashdef_t *p, u_int ai, u_int i, char *id, char *n, char *t, regex_t *r)
int revm_version_pneed (hashneed_t *p, u_int ai, u_int i, char *id, char *n, char *t, regex_t *r)
int revm_version_unk (u_int ai, u_int i, char *id, char *n, char *t)
void revm_workfiles_load ()
int revm_workfiles_unload ()
int revm_workspace_next ()
int traces_add (elfshobj_t *file, char *name, char **optarg)
int traces_addcmd (char *cmd, void *exec, char flagName, char flagArg)
int traces_create (elfshobj_t *file, char *name, char **optarg)
int traces_delete (elfshobj_t *file, char *name, char **optarg)
int traces_disable (elfshobj_t *file, char *name, char **optarg)
int traces_enable (elfshobj_t *file, char *name, char **optarg)
int traces_exclude (elfshobj_t *file, char *freg, char **oreg)
int traces_flush (elfshobj_t *file, char *name, char **optarg)
int traces_list (elfshobj_t *file, char *name, char **optarg)
int traces_rm (elfshobj_t *file, char *name, char **optarg)
int traces_rmexclude (elfshobj_t *file, char *freg, char **oreg)
int traces_run (elfshobj_t *file, char **argv, int argc)
void wait4exit (void *)

Variables

revmconst_t asm_instr_type [ELFSH_INSTRTYPE_MAX]
revmconst_t asm_operand_type [ELFSH_OPTYPE_MAX]
hash_t bg_color_hash
hash_t cmd_hash
hash_t const_hash
hash_t crs_L2_hash
hash_t drs_L2_hash
hash_t dyn_L2_hash
hash_t dynsym_L2_hash
hash_t elf_L2_hash
char * elfsh_arch_type [ELFSH_ARCHTYPE_MAX]
revmconst_t elfsh_dynentry_type [ELFSH_DYNAMIC_MAX]
revmconst_t elfsh_encoding [ELFSH_ENCODING_MAX]
revmconst_t elfsh_extdyn_type [ELFSH_EXTDYN_MAX]
revmconst_t elfsh_extseg_type [ELFSH_EXTSEG_MAX]
revmconst_t elfsh_feature1 [ELFSH_FEATURE_MAX]
revmconst_t elfsh_flags [ELFSH_FLAGS_MAX]
revmconst_t elfsh_flags1 [ELFSH_FLAGS1_MAX]
char elfsh_libpath [BUFSIZ]
revmconst_t elfsh_mipsdyn_type [ELFSH_MIPSDYN_MAX]
revmconst_t elfsh_mipsflags [ELFSH_MIPSFLAGS_MAX]
int elfsh_net_client_count
revmconst_t elfsh_obj_type [ELFSH_OBJTYPE_MAX]
revmconst_t elfsh_posflag1 [ELFSH_POSFLAG_MAX]
revmconst_t elfsh_rel_type_alpha [ELFSH_RELOC_ALPHA_MAX]
revmconst_t elfsh_rel_type_i386 [ELFSH_RELOC_i386_MAX]
revmconst_t elfsh_rel_type_ia64 [ELFSH_RELOC_IA64_MAX]
revmconst_t elfsh_rel_type_mips [ELFSH_RELOC_MIPS_MAX]
revmconst_t elfsh_rel_type_sparc [ELFSH_RELOC_SPARC64_MAX]
revmconst_t elfsh_seg_type [ELFSH_SEGTYPE_MAX]
revmconst_t elfsh_sh_type [ELFSH_SHTYPE_MAX]
revmconst_t elfsh_sym_bind [ELFSH_SYMBIND_MAX]
revmconst_t elfsh_sym_type [ELFSH_SYMTYPE_MAX]
revmconst_t elfsh_verentry_type [ELFSH_VERENTRY_MAX]
hash_t exprs_hash
hash_t fg_color_hash
hash_t file_hash
list_t frames_list
hash_t got_L2_hash
hash_t goto_hash
 The hash declared in VM for gotos.
hash_t hashb_L2_hash
hash_t hashc_L2_hash
char *(* hooks_input [REVM_IO_NUM])()
int(* hooks_output [REVM_IO_NUM])(char *buf)
hash_t instrlists_hash
hash_t L1_hash
hash_t labels_hash [10]
hash_t mod_hash
hash_t parser_hash
hash_t pht_L2_hash
asm_processor proc
char prompt_token [512]
void(* prompt_token_setup )(char *name, u_int size)
hash_t redir_hash
hash_t rel_L2_hash
hash_t sct_L2_hash
hash_t sht_L2_hash
char * strtable
u_int strtable_current
u_int strtable_max
hash_t sym_L2_hash
hash_t t_color_hash
hash_t traces_cmd_hash
hash_t verd_L2_hash
hash_t vern_L2_hash
hash_t vers_L2_hash
revmworld_t world


Generated by  Doxygen 1.6.0   Back to index