java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.render.AddressFormatter |
A native memory address formatter.
The formatter can generate different types of addresses:
INativeCodeUnit
)
As an example: loc_400248
-> 400248h
-> PC+10h
/
PC+16
.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | AddressFormatter.AddressBase | Rendering base. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
AddressFormatter() | |||||||||||
AddressFormatter(AddressFormatter.AddressBase base, String pcName, NumberFormatter.HexaNotationType hexNotation) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
format(INativeCodeUnit<?> unit, int bitsize, long address, IInstructionOperandGeneric opnd)
Format a number using the formatter's current settings.
| ||||||||||
String | format(int bitsize, long address, IInstructionOperandGeneric opnd) | ||||||||||
String | format(INativeCodeUnit<?> unit, int bitsize, long address, IInstructionOperandGeneric opnd, AddressFormatter.AddressBase base) | ||||||||||
AddressFormatter.AddressBase | getBase() | ||||||||||
NumberFormatter.HexaNotationType | getHexaNotationType() | ||||||||||
String | getRelativePrefix() | ||||||||||
void | setBase(AddressFormatter.AddressBase base) | ||||||||||
void | setHexaNotationType(NumberFormatter.HexaNotationType hexaNotationType) | ||||||||||
void | setRelativePrefix(String relativePrefix) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Format a number using the formatter's current settings.