Class MemoryEvent
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryEvent
- Direct Known Subclasses:
MemoryAllocEvent,MemoryFreeEvent,MemoryPropertyEvent,MemoryProtectionEvent,MemoryWriteEvent
Base class for a memory event. Events are issued by
IVirtualMemory objects to their listeners.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGet the event address.intGet the memory protection flags.intgetSize()Get the event size.
-
Constructor Details
-
MemoryEvent
public MemoryEvent(long address, int size, int protection) Create a memory event.- Parameters:
address- event addresssize- event size in bytesprotection- memory protection flags
-
-
Method Details
-
getAddress
public long getAddress()Get the event address.- Returns:
- event address
-
getSize
public int getSize()Get the event size.- Returns:
- event size in bytes
-
getProtection
public int getProtection()Get the memory protection flags.- Returns:
- memory protection flags
-