Class MemoryWriteEvent
java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryEvent
com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryWriteEvent
Memory event: a write operation is taking place splace. Such events are issued before and after
the write operation.
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryWriteEvent(long address, int size, byte[] buffer, int bufferOffset) Create a memory write event. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Get the source buffer.intGet the source buffer offset.Methods inherited from class com.pnfsoftware.jeb.core.units.code.asm.memory.MemoryEvent
getAddress, getProtection, getSize
-
Constructor Details
-
MemoryWriteEvent
public MemoryWriteEvent(long address, int size, byte[] buffer, int bufferOffset) Create a memory write event.- Parameters:
address- write addresssize- write size in bytesbuffer- source bufferbufferOffset- offset in the source buffer
-
-
Method Details
-
getBuffer
public byte[] getBuffer()Get the source buffer.- Returns:
- source buffer
-
getBufferOffset
public int getBufferOffset()Get the source buffer offset.- Returns:
- source buffer offset
-