46 int i,
first, firstline,
op,
a,
l, quantum, isstmt, linebase, linerange, opcodebase, nf;
64 werrstr(
"no line mapping information for 0x%x", pc);
68 if(off >=
d->line.len){
77 b.p =
d->line.data + off;
78 b.ep =
b.p +
d->line.len;
90 werrstr(
"bad dwarf version 0x%x", vers);
121 while(
b.p!=
nil && *
b.p!=0){
147 if(
trace)
werrstr(
"program @ %lu ... %.*H opbase = %d",
b.p -
d->line.data,
b.ep-
b.p,
b.p, opcodebase);
153 if(
op >= opcodebase){
154 a = (
op - opcodebase) / linerange;
155 l = (
op - opcodebase) % linerange + linebase;
157 cur.addr +=
a * quantum;
162 werrstr(
"found wrong line mapping 0x%x for pc 0x%x",
cur.addr, pc);
172 if(
cur.addr > pc && !firstline)
175 werrstr(
"buffer underflow in line mapping");
180 werrstr(
"found wrong line mapping 0x%x-0x%x for pc 0x%x",
start,
cur.addr, pc);
202 newf =
malloc(nf+1*
sizeof(
f[0]));
227 cur.addr +=
a * quantum;
251 a = (255 - opcodebase) / linerange * quantum;
274 for(
i=0;
i<opcount[
op];
i++)
286 werrstr(
"invalid file index in mapping data");
301 werrstr(
"problem parsing file data second time (cannot happen)");
306 werrstr(
"bad file index in mapping data");
323 for (
x = 1;
b.p && *
b.p;
x++) {
328 if (!cdir && dwarfdir)
349 proc->attrs.have.name)
351 if (
proc->attrs.lowpc <= pc &&
proc->attrs.highpc > pc) {
371 proc->attrs.have.name &&
374 if (
proc->attrs.declline <= *
line &&
375 proc->attrs.declline > lastline) {
381 lastline =
proc->attrs.declline;
392 werrstr(
"corrupted line mapping for 0x%x", pc);
char * strcat(char *DstString, const char *SrcString)
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
GLint GLint GLint GLint GLint x
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
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
int dwarfpctoline(Dwarf *d, ulong pc, char **cdir, char **dir, char **file, char **function, ulong *line, ulong *mtime, ulong *length)
VOID RosSymFreeInfo(PROSSYM_LINEINFO LineInfo)
ulong dwarfget128(DwarfBuf *)
ulong dwarfget2(DwarfBuf *)
int dwarfenumunit(Dwarf *, ulong, DwarfSym *)
int dwarflookuptag(Dwarf *, ulong, ulong, DwarfSym *)
char * dwarfgetstring(DwarfBuf *)
ulong dwarfget1(DwarfBuf *)
long dwarfget128s(DwarfBuf *)
int dwarfnextsym(Dwarf *, DwarfSym *)
ulong dwarfgetaddr(DwarfBuf *)
uchar * dwarfgetnref(DwarfBuf *, ulong)
int dwarfaddrtounit(Dwarf *, ulong, ulong *)
int dwarfnextsymat(Dwarf *, DwarfSym *, int)
ulong dwarfget4(DwarfBuf *)
struct DwarfAttrs::@4959 have
ROSSYM_PARAMETER Parameters[16]
#define RtlMoveMemory(Destination, Source, Length)