|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmars.util.MemoryDump
public class MemoryDump
| Field Summary | |
|---|---|
static ArrayList |
dumpTriples
A list of segmentname/dumpformat/filename triples which should be dumped |
| Constructor Summary | |
|---|---|
MemoryDump()
|
|
| Method Summary | |
|---|---|
static int |
getAddressOfFirstNull(int baseAddress,
int limitAddress)
Look for first "null" memory value in an address range. |
static int[] |
getBaseAddresses(String[] segments)
Get the MIPS memory base address(es) of the specified segment name(s). |
static int[] |
getLimitAddresses(String[] segments)
Get the MIPS memory limit address(es) of the specified segment name(s). |
static Integer[] |
getSegmentBounds(String segment)
Return array with segment address bounds for specified segment. |
static String[] |
getSegmentNames()
Get the names of segments available for memory dump. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ArrayList dumpTriples
| Constructor Detail |
|---|
public MemoryDump()
| Method Detail |
|---|
public static Integer[] getSegmentBounds(String segment)
segment - String with segment name (initially ".text" and ".data")
public static String[] getSegmentNames()
public static int[] getBaseAddresses(String[] segments)
segments - Array of Strings containing segment names (".text", ".data")
public static int[] getLimitAddresses(String[] segments)
segments - Array of Strings containing segment names (".text", ".data")
public static int getAddressOfFirstNull(int baseAddress,
int limitAddress)
throws AddressErrorException
baseAddress - lowest MIPS address to be searched; the starting pointlimitAddress - highest MIPS address to be searched
AddressErrorException - if the base address is not on a word boundary
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||