Class GnuDebugLink
java.lang.Object
ghidra.app.util.bin.format.elf.info.GnuDebugLink
- All Implemented Interfaces:
ElfInfoItem
An ELF section (almost like a
ElfNote) that contains information about an external
DWARF debug file.
External DWARF debug files can also be specified with a NoteGnuBuildId.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ghidra.app.util.bin.format.elf.info.ElfInfoItem
ElfInfoItem.ItemWithAddress<T>, ElfInfoItem.ReaderFunc<T> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GnuDebugLinkfromProgram(Program program) Reads a GnuDebugLink from the standard ".gnu_debuglink" section in the specified Program.intgetCrc()intvoidmarkupProgram(Program program, Address address) Markup a program's info and memory with this item.static GnuDebugLinkread(BinaryReader br, Program program) Reads a GnuDebugLink from the specified BinaryReader.toString()
-
Field Details
-
SECTION_NAME
- See Also:
-
-
Constructor Details
-
GnuDebugLink
-
-
Method Details
-
fromProgram
Reads a GnuDebugLink from the standard ".gnu_debuglink" section in the specified Program.- Parameters:
program- Program to read from- Returns:
- new instance, or null if not found or data error
-
read
Reads a GnuDebugLink from the specified BinaryReader.- Parameters:
br- BinaryReader to read fromprogram- unused, present to match the signature ofElfInfoItem.ReaderFunc- Returns:
- new instance, or null if data error
-
getFilename
-
getFilenameLen
public int getFilenameLen() -
getCrc
public int getCrc() -
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
-
toString
-