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)
ACPI_SIZE strlen(const char *String)
GLuint GLuint GLsizei count
GLuint GLuint GLsizei GLenum type
GLenum const GLfloat * params
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
png_const_structrp png_const_inforp int * unit
@ ROSSYM_LINEINFO_HAS_REGISTERS
int dwarfpctoline(Dwarf *, ulong, char **, char **, char **, char **, ulong *, ulong *, ulong *)
int dwarfseeksym(Dwarf *, ulong, ulong, DwarfSym *)
int dwarflookupnameinunit(Dwarf *, ulong, char *, DwarfSym *)
int dwarfaddrtounit(Dwarf *, ulong, ulong *)
int dwarfnextsymat(Dwarf *, DwarfSym *, int)
BOOLEAN RosSymGetAddressInformation(PROSSYM_INFO RosSymInfo, ULONG_PTR RelativeAddress, ULONG *LineNumber, char *FileName, char *FunctionName)
int dwarfgetparams(Dwarf *d, DwarfSym *s, ulong pc, int pnum, DwarfParam *paramblocks)
int dwarfcomputecfa(Dwarf *d, DwarfExpr *cfa, PROSSYM_REGISTERS registers, ulong *cfaLocation)
int dwarfgetarg(Dwarf *d, const char *name, DwarfBuf *locbuf, ulong cfa, PROSSYM_REGISTERS registers, ulong *value)
int dwarfregunwind(Dwarf *d, ulong pc, ulong fde, DwarfExpr *cfa, PROSSYM_REGISTERS registers)
int dwarfargvalue(Dwarf *d, DwarfSym *proc, ulong pc, ulong cfa, PROSSYM_REGISTERS registers, DwarfParam *parameters)
VOID RosSymFreeAggregate(PROSSYM_AGGREGATE Aggregate)
BOOLEAN RosSymAggregate(PROSSYM_INFO RosSymInfo, PCHAR Type, PROSSYM_AGGREGATE Aggregate)
PROSSYM_AGGREGATE_MEMBER Elements
ROSSYM_REGISTERS Registers
ROSSYM_PARAMETER Parameters[16]
ROSSYM_LINEINFO_FLAGS Flags
static unsigned int bufptr