Class GnuBuildAttribute
java.lang.Object
ghidra.app.util.bin.format.elf.info.GnuBuildAttribute
- All Implemented Interfaces:
ElfInfoItem
Represents an element from the .gnu.build.attributes section.
Technically this is a NOTE, but this class does not derive from ElfNote because the implementation of build attributes takes liberties with the name field.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface ghidra.app.util.bin.format.elf.info.ElfInfoItem
ElfInfoItem.ItemWithAddress<T>, ElfInfoItem.ReaderFunc<T> -
Constructor Summary
ConstructorsConstructorDescriptionGnuBuildAttribute(int nameLen, byte[] nameBytes, int vendorType, byte[] description) -
Method Summary
Modifier and TypeMethodDescriptionghidra.app.util.bin.format.elf.info.GnuBuildAttribute.AttributeTypegetDescription(Program program) ghidra.app.util.bin.format.elf.info.GnuBuildAttribute.AttributeIdgetId()voidmarkupProgram(Program program, Address address) Markup a program's info and memory with this item.static GnuBuildAttributeread(BinaryReader reader) Reads a singleGnuBuildAttributefrom the specified stream.
-
Constructor Details
-
GnuBuildAttribute
public GnuBuildAttribute(int nameLen, byte[] nameBytes, int vendorType, byte[] description)
-
-
Method Details
-
read
Reads a singleGnuBuildAttributefrom the specified stream.- Parameters:
reader-BinaryReaderstream- Returns:
- new
GnuBuildAttribute - Throws:
IOException- if error reading
-
getId
public ghidra.app.util.bin.format.elf.info.GnuBuildAttribute.AttributeId getId() -
getIdString
-
getValue
-
getAttributeType
public ghidra.app.util.bin.format.elf.info.GnuBuildAttribute.AttributeType getAttributeType() -
getRange
-
getLabel
-
getDescription
-
markupProgram
Description copied from interface:ElfInfoItemMarkup a program's info and memory with this item.- Specified by:
markupProgramin interfaceElfInfoItem- Parameters:
program-Programto markupaddress-Addressof the item in the program
-