Record Class WellKnownDebugProvider
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.dwarf.external.gui.WellKnownDebugProvider
- Record Components:
location- url stringlocationCategory- grouping criteriawarning- stringfileOrigin- file name that contained this info
public record WellKnownDebugProvider(String location, String locationCategory, String warning, String fileOrigin)
extends Record
Represents a debug file search location that has been pre-provided by a Ghidra config file.
-
Constructor Summary
ConstructorsConstructorDescriptionWellKnownDebugProvider(String location, String locationCategory, String warning, String fileOrigin) Creates an instance of aWellKnownDebugProviderrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefileOriginrecord component.final inthashCode()Returns a hash code value for this object.static List<WellKnownDebugProvider> Loads information about wellknown debuginfod servers from any matching file found in the application and returns a list of entries.location()Returns the value of thelocationrecord component.Returns the value of thelocationCategoryrecord component.final StringtoString()Returns a string representation of this record class.warning()Returns the value of thewarningrecord component.
-
Constructor Details
-
WellKnownDebugProvider
public WellKnownDebugProvider(String location, String locationCategory, String warning, String fileOrigin) Creates an instance of aWellKnownDebugProviderrecord class.- Parameters:
location- the value for thelocationrecord componentlocationCategory- the value for thelocationCategoryrecord componentwarning- the value for thewarningrecord componentfileOrigin- the value for thefileOriginrecord component
-
-
Method Details
-
loadAll
Loads information about wellknown debuginfod servers from any matching file found in the application and returns a list of entries.- Parameters:
fileExt- extension of the url files to find- Returns:
- list of
WellKnownDebugProviderelements
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
location
Returns the value of thelocationrecord component.- Returns:
- the value of the
locationrecord component
-
locationCategory
Returns the value of thelocationCategoryrecord component.- Returns:
- the value of the
locationCategoryrecord component
-
warning
Returns the value of thewarningrecord component.- Returns:
- the value of the
warningrecord component
-
fileOrigin
Returns the value of thefileOriginrecord component.- Returns:
- the value of the
fileOriginrecord component
-