资 源 简 介
This library is moved to sourceforget.net https://sourceforge.net/projects/peter-dwarf/?source=directory
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 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 : mcheung63@hotmail.com, my name is Peter
example: http://code.google.com/p/peter-dwarf/source/browse/trunk/src/com/peterdwarf/TestPeterDwarf.java