| java.lang.Object | |
| ↳ | com.pnfsoftware.jeb.core.units.code.asm.memory.VMWriter |
Virtual memory utility (outside of VirtualMemoryUtil) to write memory bytes mapping to
native data types.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
VMWriter(IVirtualMemory vm, long addr, INativeType t)
Create a writer for the provided.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean |
commit()
Commit the changes to memory.
| ||||||||||
| boolean |
set(String fieldName, Object fieldValue)
Set a field in the structure, if the provided type was a structure.
| ||||||||||
| void | setByteAt(int off, byte val) | ||||||||||
| void | setDoubleAt(int off, double val) | ||||||||||
| void | setFloatAt(int off, float val) | ||||||||||
| void | setIntAt(int off, int val) | ||||||||||
| void | setLongAt(int off, long val) | ||||||||||
| void | setShortAt(int off, short val) | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Create a writer for the provided.
| vm | a virtual memory object |
|---|---|
| addr | address in memory |
| t | a native type |
Commit the changes to memory.
Set a field in the structure, if the provided type was a structure.