13 if(
b->p==
nil ||
b->p+1 >
b->ep){
23 if(
b->p==
nil ||
b->p+
n >
b->ep){
38 if(
b->p==
nil ||
b->p+
n >
b->ep){
55 while(
b->p <
b->ep && *
b->p)
79 if(
b->p==
nil ||
b->p+2 >
b->ep){
83 v =
b->d->pe->e2(
b->p);
93 if(
b->p==
nil ||
b->p+4 >
b->ep){
97 v =
b->d->pe->e4(
b->p);
107 if(
b->p==
nil ||
b->p+8 >
b->ep){
111 v =
b->d->pe->e8(
b->p);
122 b->addrsize =
b->d->addrsize;
135 werrstr(
"dwarf: unexpected address size %lud in dwarfgetaddr",
b->addrsize);
183 while(
b->p<
b->ep && *
b->p&0x80)
186 werrstr(
"dwarf: overflow during parsing of uleb128 integer");
210 if(nb > 8*
sizeof(
ulong)){
213 werrstr(
"dwarf: overflow during parsing of sleb128 integer: got %d bits", nb);
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
#define memmove(s1, s2, n)
ulong dwarfget1(DwarfBuf *b)
uvlong dwarfget8(DwarfBuf *b)
char * dwarfgetstring(DwarfBuf *b)
int dwarfgetn(DwarfBuf *b, uchar *a, int n)
ulong dwarfgetaddr(DwarfBuf *b)
void dwarfskip(DwarfBuf *b, int n)
ulong dwarfget128(DwarfBuf *b)
uchar * dwarfgetnref(DwarfBuf *b, ulong n)
long dwarfget128s(DwarfBuf *b)
ulong dwarfget4(DwarfBuf *b)
ulong dwarfget2(DwarfBuf *b)
unsigned long long uvlong