#include <precomp.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ _dwarfnametounit()
Definition at line 7 of file dwarfpubnames.c.
8{
9 int vers;
14
18
22 werrstr(
"bad length in dwarf name header");
23 return -1;
24 }
27 if(vers != 1 && vers != 2){
28 werrstr(
"bad version %d in dwarf name header", vers);
29 return -1;
30 }
35 if(off == 0)
36 break;
40 return -1;
41 if(
unit + off >=
s->b.ep -
d->info.data){
42 werrstr(
"bad offset in name entry");
43 return -1;
44 }
45 s->b.p =
d->info.data +
unit + off;
47 return -1;
49 werrstr(
"unexpected name %#q in lookup for %#q",
s->attrs.name,
name);
50 return -1;
51 }
52 return 0;
53 }
54 }
56 }
58 return -1;
59}
int strcmp(const char *String1, const char *String2)
GLboolean GLboolean GLboolean b
png_const_structrp png_const_inforp int * unit
static unsigned __int64 next
ulong dwarfget2(DwarfBuf *)
int dwarfenumunit(Dwarf *, ulong, DwarfSym *)
char * dwarfgetstring(DwarfBuf *)
int dwarfnextsym(Dwarf *, DwarfSym *)
ulong dwarfget4(DwarfBuf *)
◆ dwarflookupname()
Definition at line 62 of file dwarfpubnames.c.
63{
65}
static int _dwarfnametounit(Dwarf *d, char *name, DwarfBlock *bl, DwarfSym *s)