Elf class

Information parsed from an Executable and Linking Format (ELF) file.

Properties

architecture String?
Returns the architecture of the container as reported by Dart (e.g., 'x64' or 'arm'). Returns null if the architecture of the container does not match any expected Dart architecture.
no setter
buildId String?
no setter
debugLineStringTable → DwarfContainerStringTable?
no setter
debugStringTable → DwarfContainerStringTable?
no setter
dynamicSymbols Iterable<Symbol>
Returns an iterable of the symbols in the dynamic symbol table(s). The ordering of the symbols is not guaranteed.
no setter
hashCode int
The hash code for this object.
no setterinherited
isolateStartAddress int?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
staticSymbols Iterable<Symbol>
Returns an iterable of the symbols in the static symbol table(s). The ordering of the symbols is not guaranteed.
no setter
vmStartAddress int?
no setter

Methods

abbreviationsTableReader(Reader containerReader) → Reader
debugInfoReader(Reader containerReader) → Reader
dynamicSymbolFor(String name) Symbol?
Lookup of a dynamic symbol by name.
lineNumberInfoReader(Reader containerReader) → Reader
namedSections(String name) Iterable<Section>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sectionHasValidSegmentAddresses(Section section) bool
Checks that the contents of a given section have valid addresses when the file contents for the corresponding segment is loaded into memory.
staticSymbolAt(int address) Symbol?
Reverse lookup of the static symbol that contains the given virtual address. Returns null if no static symbol matching the address is found.
toString() String
A string representation of this object.
inherited
writeToStringBuffer(StringBuffer buffer) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBuffer(Uint8List bytes) Elf?
Creates an Elf from bytes.
fromFile(String path) Elf?
Creates an Elf from the file at path.
fromReader(Reader elfReader) Elf?
Creates an Elf from the data pointed to by reader.