lib.dwfl
Class Dwarf

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

public class Dwarf
extends Object


Field Summary
private  boolean owner
           
private  long pointer
           
 
Constructor Summary
Dwarf(Elf elf, DwarfCommand cmd, ElfSection section)
           
Dwarf(long pointer)
           
Dwarf(String file, DwarfCommand cmd)
           
 
Method Summary
protected  void dwarf_begin_elf(long elf, int command, long section)
           
protected  void dwarf_begin(String file, int command)
           
private static int dwarfEnd(long pointer)
           
protected  void finalize()
           
protected  LinkedList get_cu_by_name(String name)
           
protected  String[] get_source_files()
           
 LinkedList getCUByName(String name)
          Returns a list of compilation units matching the given name.
protected  long getPointer()
           
 String[] getSourceFiles()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

owner

private final boolean owner

pointer

private long pointer
Constructor Detail

Dwarf

public Dwarf(Elf elf,
             DwarfCommand cmd,
             ElfSection section)

Dwarf

public Dwarf(String file,
             DwarfCommand cmd)

Dwarf

Dwarf(long pointer)
Method Detail

getPointer

protected long getPointer()

finalize

protected void finalize()
Overrides:
finalize in class Object

dwarfEnd

private static int dwarfEnd(long pointer)

getSourceFiles

public String[] getSourceFiles()

getCUByName

public LinkedList getCUByName(String name)
Returns a list of compilation units matching the given name. If a full path is give only one cu is likely to be returned.

Parameters:
name -
Returns:

dwarf_begin_elf

protected void dwarf_begin_elf(long elf,
                               int command,
                               long section)

dwarf_begin

protected void dwarf_begin(String file,
                           int command)

get_source_files

protected String[] get_source_files()

get_cu_by_name

protected LinkedList get_cu_by_name(String name)