microprobe.code.address.Address
- class Address(base_address: Variable | str | None = None, displacement: int = 0)[source]
Bases:
object
Class to represent an address.
- __init__(base_address: Variable | str | None = None, displacement: int = 0)[source]
- Parameters:
base_address – (Default value = None)
displacement – (Default value = 0)
Methods
__init__
([base_address, displacement])- param base_address:
(Default value = None)
check_alignment
(align)Check if the address is aligned to align
copy
()Returns a copy of the address.
Attributes
Base address of the address (
str
)Displacement of the address (
int
)