Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 2.82 KB

README.md

File metadata and controls

3 lines (3 loc) · 2.82 KB

A Java library to read dwarf

It is a java version of libdwarf, if you want to read out information from dwarf. please use it.

!!! Please always use the latest code from SVN, rather than download the jar

Usage :

final Vector<Dwarf> dwarfVector = DwarfLib.init(file, meoryOffset);

All dwarf information will be in dwarfVector

To add a JPanel to display dwarf information :

PeterDwarfPanel peterDwarfPanel1 = new PeterDwarfPanel();
File file = new File("/Users/peter/workspace/PeterI/kernel/kernel");
peterDwarfPanel1
.init(file.getAbsolutePath());

Then just add peterDwarfPanel1 to any swing container.

contact : [email protected], my name is Peter

example: http://code.google.com/p/peter-dwarf/source/browse/trunk/src/com/peterdwarf/TestPeterDwarf.java

Locations of visitors to this page

Dwarf specification