Class Address
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Address
A physical or virtual address, or a range of addresses, in an 'addressable region' (memory or a binary file).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe address expressed as a byte offset from the start of the addressable region.A human-readable fully qualified name that is associated with the address.getIndex()The index within run.addresses of the cached object for this address.getKind()An open-ended string that identifies the address kind.The number of bytes in this range of addresses.getName()A name that is associated with the address, e.g., '.text'.The byte offset of this address from the absolute or relative address of the parent object.The index within run.addresses of the parent object.Key/value pairs that provide additional information about the object.The address expressed as a byte offset from the absolute address of the top-most parent object.inthashCode()voidsetAbsoluteAddress(Integer absoluteAddress) The address expressed as a byte offset from the start of the addressable region.voidsetFullyQualifiedName(String fullyQualifiedName) A human-readable fully qualified name that is associated with the address.voidThe index within run.addresses of the cached object for this address.voidAn open-ended string that identifies the address kind.voidThe number of bytes in this range of addresses.voidA name that is associated with the address, e.g., '.text'.voidsetOffsetFromParent(Integer offsetFromParent) The byte offset of this address from the absolute or relative address of the parent object.voidsetParentIndex(Integer parentIndex) The index within run.addresses of the parent object.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRelativeAddress(Integer relativeAddress) The address expressed as a byte offset from the absolute address of the top-most parent object.toString()withAbsoluteAddress(Integer absoluteAddress) withFullyQualifiedName(String fullyQualifiedName) withLength(Integer length) withOffsetFromParent(Integer offsetFromParent) withParentIndex(Integer parentIndex) withProperties(PropertyBag properties) withRelativeAddress(Integer relativeAddress)
-
Constructor Details
-
Address
public Address()
-
-
Method Details
-
getAbsoluteAddress
The address expressed as a byte offset from the start of the addressable region. -
setAbsoluteAddress
The address expressed as a byte offset from the start of the addressable region. -
withAbsoluteAddress
-
getRelativeAddress
The address expressed as a byte offset from the absolute address of the top-most parent object. -
setRelativeAddress
The address expressed as a byte offset from the absolute address of the top-most parent object. -
withRelativeAddress
-
getLength
The number of bytes in this range of addresses. -
setLength
The number of bytes in this range of addresses. -
withLength
-
getKind
An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values. -
setKind
An open-ended string that identifies the address kind. 'data', 'function', 'header','instruction', 'module', 'page', 'section', 'segment', 'stack', 'stackFrame', 'table' are well-known values. -
withKind
-
getName
A name that is associated with the address, e.g., '.text'. -
setName
A name that is associated with the address, e.g., '.text'. -
withName
-
getFullyQualifiedName
A human-readable fully qualified name that is associated with the address. -
setFullyQualifiedName
A human-readable fully qualified name that is associated with the address. -
withFullyQualifiedName
-
getOffsetFromParent
The byte offset of this address from the absolute or relative address of the parent object. -
setOffsetFromParent
The byte offset of this address from the absolute or relative address of the parent object. -
withOffsetFromParent
-
getIndex
The index within run.addresses of the cached object for this address. -
setIndex
The index within run.addresses of the cached object for this address. -
withIndex
-
getParentIndex
The index within run.addresses of the parent object. -
setParentIndex
The index within run.addresses of the parent object. -
withParentIndex
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-