56 RelativeAddress + RosSymInfo->pe->imagebase,
61 werrstr(
"Could not get basic function info");
74 RelativeAddress + RosSymInfo->pe->imagebase,
75 proc.attrs.framebase.c,
85 RelativeAddress + RosSymInfo->pe->imagebase,
105 werrstr(
"Getting arg %s, unit %x, type %x",
110 RelativeAddress + RosSymInfo->pe->imagebase,
143 if (
dwarfaddrtounit(RosSymInfo, RosSymInfo->pe->codestart + RosSymInfo->pe->imagebase, &
unit) == -1)
146 if (
Type[0] ==
'#') {
149 typeoff += *
tchar -
'0';
162 if (
type.attrs.have.type) {
168 werrstr(
"finding members %d\n",
type.attrs.haskids);
195 locbuf.
d = RosSymInfo;
196 locbuf.
addrsize = RosSymInfo->addrsize;
198 if (
element.attrs.have.datamemberloc) {
202 werrstr(
"datamemberloc type %x %p:%x\n",
203 element.attrs.have.datamemberloc,
209 werrstr(
"tag %x name %s base %x type %x\n",
218 memset(&inner, 0,
sizeof(inner));
219 werrstr(
"seeking type %x (%s) from %s\n",
230 if (
type.attrs.have.name) {
237 while (mult * 10 < idcopy) mult *= 10;
239 *
bufptr++ =
'0' + ((idcopy / mult) % 10);
249 if (
type.attrs.have.bitsize)
251 if (
type.attrs.have.bitoffset)
int dwarfaddrtounit(Dwarf *, ulong, ulong *)
BOOLEAN RosSymAggregate(PROSSYM_INFO RosSymInfo, PCHAR Type, PROSSYM_AGGREGATE Aggregate)
static unsigned int bufptr
ACPI_SIZE strlen(const char *String)
int dwarfcomputecfa(Dwarf *d, DwarfExpr *cfa, PROSSYM_REGISTERS registers, ulong *cfaLocation)
GLuint GLuint GLsizei count
int dwarfnextsymat(Dwarf *, DwarfSym *, int)
int dwarfpctoline(Dwarf *, ulong, char **, char **, char **, char **, ulong *, ulong *, ulong *)
int dwarfseeksym(Dwarf *, ulong, ulong, DwarfSym *)
GLenum const GLfloat * params
int dwarfargvalue(Dwarf *d, DwarfSym *proc, ulong pc, ulong cfa, PROSSYM_REGISTERS registers, DwarfParam *parameters)
ROSSYM_PARAMETER Parameters[16]
png_const_structrp png_const_inforp int * unit
PROSSYM_AGGREGATE_MEMBER Elements
int dwarfgetarg(Dwarf *d, const char *name, DwarfBuf *locbuf, ulong cfa, PROSSYM_REGISTERS registers, ulong *value)
int dwarfgetparams(Dwarf *d, DwarfSym *s, ulong pc, int pnum, DwarfParam *paramblocks)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID RosSymFreeAggregate(PROSSYM_AGGREGATE Aggregate)
BOOLEAN RosSymGetAddressInformation(PROSSYM_INFO RosSymInfo, ULONG_PTR RelativeAddress, ULONG *LineNumber, char *FileName, char *FunctionName)
int dwarflookupnameinunit(Dwarf *, ulong, char *, DwarfSym *)
ROSSYM_LINEINFO_FLAGS Flags
ROSSYM_REGISTERS Registers
char * strcpy(char *DstString, const char *SrcString)
GLuint GLuint GLsizei GLenum type
int dwarfregunwind(Dwarf *d, ulong pc, ulong fde, DwarfExpr *cfa, PROSSYM_REGISTERS registers)