ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

dwarfinfo.c File Reference
#include <precomp.h>
#include <debug.h>

Go to the source code of this file.

Data Structures

struct  Parse

Defines

#define NDEBUG
#define ATTR(x)   (#x)+9, x
#define OFFSET(x)   offsetof(DwarfAttrs, x), offsetof(DwarfAttrs, have.x)

Enumerations

enum  {
  DwarfAttrSibling = 0x01, DwarfAttrLocation = 0x02, DwarfAttrName = 0x03, DwarfAttrOrdering = 0x09,
  DwarfAttrByteSize = 0x0B, DwarfAttrBitOffset = 0x0C, DwarfAttrBitSize = 0x0D, DwarfAttrStmtList = 0x10,
  DwarfAttrLowpc = 0x11, DwarfAttrHighpc = 0x12, DwarfAttrLanguage = 0x13, DwarfAttrDiscr = 0x15,
  DwarfAttrDiscrValue = 0x16, DwarfAttrVisibility = 0x17, DwarfAttrImport = 0x18, DwarfAttrStringLength = 0x19,
  DwarfAttrCommonRef = 0x1A, DwarfAttrCompDir = 0x1B, DwarfAttrConstValue = 0x1C, DwarfAttrContainingType = 0x1D,
  DwarfAttrDefaultValue = 0x1E, DwarfAttrInline = 0x20, DwarfAttrIsOptional = 0x21, DwarfAttrLowerBound = 0x22,
  DwarfAttrProducer = 0x25, DwarfAttrPrototyped = 0x27, DwarfAttrReturnAddr = 0x2A, DwarfAttrStartScope = 0x2C,
  DwarfAttrStrideSize = 0x2E, DwarfAttrUpperBound = 0x2F, DwarfAttrAbstractOrigin = 0x31, DwarfAttrAccessibility = 0x32,
  DwarfAttrAddrClass = 0x33, DwarfAttrArtificial = 0x34, DwarfAttrBaseTypes = 0x35, DwarfAttrCalling = 0x36,
  DwarfAttrCount = 0x37, DwarfAttrDataMemberLoc = 0x38, DwarfAttrDeclColumn = 0x39, DwarfAttrDeclFile = 0x3A,
  DwarfAttrDeclLine = 0x3B, DwarfAttrDeclaration = 0x3C, DwarfAttrDiscrList = 0x3D, DwarfAttrEncoding = 0x3E,
  DwarfAttrExternal = 0x3F, DwarfAttrFrameBase = 0x40, DwarfAttrFriend = 0x41, DwarfAttrIdentifierCase = 0x42,
  DwarfAttrMacroInfo = 0x43, DwarfAttrNamelistItem = 0x44, DwarfAttrPriority = 0x45, DwarfAttrSegment = 0x46,
  DwarfAttrSpecification = 0x47, DwarfAttrStaticLink = 0x48, DwarfAttrType = 0x49, DwarfAttrUseLocation = 0x4A,
  DwarfAttrVarParam = 0x4B, DwarfAttrVirtuality = 0x4C, DwarfAttrVtableElemLoc = 0x4D, DwarfAttrAllocated = 0x4E,
  DwarfAttrAssociated = 0x4F, DwarfAttrDataLocation = 0x50, DwarfAttrStride = 0x51, DwarfAttrEntrypc = 0x52,
  DwarfAttrUseUTF8 = 0x53, DwarfAttrExtension = 0x54, DwarfAttrRanges = 0x55, DwarfAttrTrampoline = 0x56,
  DwarfAttrCallColumn = 0x57, DwarfAttrCallFile = 0x58, DwarfAttrCallLine = 0x59, DwarfAttrDescription = 0x5A,
  DwarfAttrMax, FormAddr = 0x01, FormDwarfBlock2 = 0x03, FormDwarfBlock4 = 0x04,
  FormData2 = 0x05, FormData4 = 0x06, FormData8 = 0x07, FormString = 0x08,
  FormDwarfBlock = 0x09, FormDwarfBlock1 = 0x0A, FormData1 = 0x0B, FormFlag = 0x0C,
  FormSdata = 0x0D, FormStrp = 0x0E, FormUdata = 0x0F, FormRefAddr = 0x10,
  FormRef1 = 0x11, FormRef2 = 0x12, FormRef4 = 0x13, FormRef8 = 0x14,
  FormRefUdata = 0x15, FormIndirect = 0x16
}

Functions

static int parseattrs (Dwarf *d, DwarfBuf *, ulong, ulong, DwarfAbbrev *, DwarfAttrs *)
static int getulong (DwarfBuf *, int, ulong, ulong *, int *)
static int getuchar (DwarfBuf *, int, uchar *)
static int getstring (Dwarf *d, DwarfBuf *, int, char **)
static int getblock (DwarfBuf *, int, DwarfBlock *)
static int skipform (Dwarf *d, DwarfBuf *, int)
int dwarflookupnameinunit (Dwarf *d, ulong unit, char *name, DwarfSym *s)
int dwarflookupsubname (Dwarf *d, DwarfSym *parent, char *name, DwarfSym *s)
int dwarflookupchildtag (Dwarf *d, DwarfSym *parent, ulong tag, DwarfSym *s)
int dwarflookuptag (Dwarf *d, ulong unit, ulong tag, DwarfSym *s)
int dwarfseeksym (Dwarf *d, ulong unit, ulong off, DwarfSym *s)
int dwarflookupfn (Dwarf *d, ulong unit, ulong pc, DwarfSym *s)
int dwarfenumunit (Dwarf *d, ulong unit, DwarfSym *s)
int dwarfnextsym (Dwarf *d, DwarfSym *s)
int dwarfnextsymat (Dwarf *d, DwarfSym *parent, DwarfSym *child)
void stackinit (DwarfStack *stack)
void stackpush (DwarfStack *stack, ulong value)
ulong stackpop (DwarfStack *stack)
void stackfree (DwarfStack *stack)
int dwarfgetarg (Dwarf *d, const char *name, DwarfBuf *buf, ulong cfa, PROSSYM_REGISTERS registers, ulong *result)
int dwarfargvalue (Dwarf *d, DwarfSym *proc, ulong pc, ulong cfa, PROSSYM_REGISTERS registers, DwarfParam *parameter)
void dwarfdumpsym (Dwarf *d, DwarfSym *s)
int dwarfgetparams (Dwarf *d, DwarfSym *s, ulong pc, int pnum, DwarfParam *paramblocks)

Variables

static Parse plist []
static Parse ptab [DwarfAttrMax]

Generated on Mon May 28 2012 06:05:07 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.