Package org.eclipse.cdt.utils.elf.parser
Class GNUSymbol
- java.lang.Object
-
- org.eclipse.cdt.utils.Symbol
-
- org.eclipse.cdt.utils.elf.parser.GNUSymbol
-
- All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>,IBinaryParser.ISymbol
public class GNUSymbol extends Symbol
-
-
Field Summary
-
Fields inherited from interface org.eclipse.cdt.core.IBinaryParser.ISymbol
FUNCTION, VARIABLE
-
-
Constructor Summary
Constructors Constructor Description GNUSymbol(ElfBinaryObject binary, java.lang.String name, int type, IAddress addr, long size)GNUSymbol(ElfBinaryObject binary, java.lang.String name, int type, IAddress addr, long size, org.eclipse.core.runtime.IPath sourceFile, int startLine, int endLine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber(long offset)Line number corresponding to the address offset.-
Methods inherited from class org.eclipse.cdt.utils.Symbol
compareTo, getAddress, getBinaryObject, getEndLine, getFilename, getName, getSize, getStartLine, getType
-
-
-
-
Constructor Detail
-
GNUSymbol
public GNUSymbol(ElfBinaryObject binary, java.lang.String name, int type, IAddress addr, long size, org.eclipse.core.runtime.IPath sourceFile, int startLine, int endLine)
-
GNUSymbol
public GNUSymbol(ElfBinaryObject binary, java.lang.String name, int type, IAddress addr, long size)
-
-
Method Detail
-
getLineNumber
public int getLineNumber(long offset)
Description copied from interface:IBinaryParser.ISymbolLine number corresponding to the address offset.- Specified by:
getLineNumberin interfaceIBinaryParser.ISymbol- Overrides:
getLineNumberin classSymbol
-
-