commit 72dd4491a89b97cff9941f692b81c682b3f2a506
parent 89de6358be8bc9aaaedf1a1a63a8be3fe56ff34a
Author: rsc <devnull@localhost>
Date: Tue, 29 Nov 2005 19:01:25 +0000
c++ changes
Diffstat:
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/include/mach.h b/include/mach.h
@@ -270,9 +270,9 @@ struct Fhdr
/* private */
Symbol *sym; /* cached list of symbols */
Symbol **byname;
+ Symbol **byxname;
uint nsym;
Symbol *esym; /* elf symbols */
- Symbol **ebyname;
uint nesym;
ulong base; /* base address for relocatables */
Fhdr *next; /* link to next fhdr (internal) */
@@ -462,6 +462,8 @@ enum
struct Symbol
{
char *name; /* name of symbol */
+ char *xname; /* demangled name */
+
/* Symtype *typedesc; /* type info, if any */
Loc loc; /* location of symbol */
Loc hiloc; /* location of end of symbol */
@@ -485,6 +487,8 @@ struct Symbol
uint framesize;
} stabs;
} u;
+
+ void *aux; /* for use by client */
};
/* look through all currently cracked Fhdrs calling their fns */