lib.dwfl
Class DwflModule

java.lang.Object
  extended by lib.dwfl.DwflModule

public class DwflModule
extends Object

A wrapper object around the libdwfl Dwfl_Module structure.


Method Summary
 long getBias()
           
 DwflDie getCompilationUnit(long addr)
           
 LinkedList getCuDies()
           
 String getDebuginfo()
          Get the debuginfo path for DwflModule
 Dwarf getDwarf()
           
 ModuleElfBias getElf()
           
 DwflLine[] getLines(String filename, int lineo, int column)
          Get all the line records for a source position in a file.
 String getName()
          Get the name of the module.
 void getPLTEntries(SymbolBuilder symbolBuilder)
           
 LinkedList getPubNames()
           
 DwflLine getSourceLine(long addr)
          Return line information for the specified address.
 void getSymbol(long address, SymbolBuilder symbolBuilder)
           
 void getSymbolByName(String name, SymbolBuilder symbolBuilder)
           
 void getSymtab(SymbolBuilder symbolBuilder)
           
 long highAddress()
           
 long lowAddress()
           
 void setUserData(Object data)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

toString

public String toString()
Overrides:
toString in class Object

lowAddress

public long lowAddress()

highAddress

public long highAddress()

getName

public String getName()
Get the name of the module.

Returns:
the name

getElf

public ModuleElfBias getElf()

getPubNames

public LinkedList getPubNames()

getSymtab

public void getSymtab(SymbolBuilder symbolBuilder)

getPLTEntries

public void getPLTEntries(SymbolBuilder symbolBuilder)

getSymbol

public void getSymbol(long address,
                      SymbolBuilder symbolBuilder)

getLines

public DwflLine[] getLines(String filename,
                           int lineo,
                           int column)
Get all the line records for a source position in a file.

Parameters:
filename - the file
lineno - line number of source
column - column number, or 0
Returns:
array of DwflLine objects.

getSymbolByName

public void getSymbolByName(String name,
                            SymbolBuilder symbolBuilder)

setUserData

public void setUserData(Object data)

getDebuginfo

public String getDebuginfo()
Get the debuginfo path for DwflModule

Returns:
path to debuginfo package if found, NULL otherwise

getCuDies

public LinkedList getCuDies()

getCompilationUnit

public DwflDie getCompilationUnit(long addr)

getDwarf

public Dwarf getDwarf()

getBias

public long getBias()

getSourceLine

public DwflLine getSourceLine(long addr)
Return line information for the specified address.