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 <ntifs.h>
#include <ndk/ntndk.h>
#include <reactos/rossym.h>
#include "rossympriv.h"
#include <ntimage.h>
#include <debug.h>
#include "dwarf.h"
#include <windef.h>

Go to the source code of this file.

Data Structures

struct  Parse

Defines

#define NTOSAPI
#define NDEBUG
#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 (DwarfBuf *, ulong, DwarfAbbrev *, DwarfAttrs *)
static int getulong (DwarfBuf *, int, ulong, ulong *, int *)
static int getuchar (DwarfBuf *, int, uchar *)
static int getstring (DwarfBuf *, int, char **)
static int getblock (DwarfBuf *, int, DwarfBlock *)
static int skipform (DwarfBuf *, int)
static int constblock (Dwarf *, DwarfBlock *, ulong *)
int dwarflookupnameinunit (Dwarf *d, ulong unit, char *name, DwarfSym *s)
int dwarflookupsubname (Dwarf *d, DwarfSym *parent, char *name, 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 dwarfenum (Dwarf *d, DwarfSym *s)
int dwarfnextsym (Dwarf *d, DwarfSym *s)
int dwarfnextsymat (Dwarf *d, DwarfSym *s, int depth)

Variables

static Parse plist []
static Parse ptab [DwarfAttrMax]

Generated on Sat May 26 2012 06:03:57 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.