Class LoaderService


  • public class LoaderService
    extends java.lang.Object
    Factory and utility methods for working with Loaders.
    • Field Detail

      • ACCEPT_ALL

        public static java.util.function.Predicate<Loader> ACCEPT_ALL
    • Constructor Detail

      • LoaderService

        public LoaderService()
    • Method Detail

      • getAllSupportedLoadSpecs MODIFIED

        return type: Map → LoaderMap
        -static java.util.Map<ghidra.app.util.opinion.Loader,java.util.Collection<ghidra.app.util.opinion.LoadSpec>> getAllSupportedLoadSpecs(ghidra.app.util.bin.ByteProvider provider)
        +static ghidra.app.util.opinion.LoaderMap getAllSupportedLoadSpecs(ghidra.app.util.bin.ByteProvider provider)
        public static LoaderMap getAllSupportedLoadSpecs​(ByteProvider provider)
        Gets all supported LoadSpecs for loading the given ByteProvider.
        Parameters:
        provider - The ByteProvider to load.
        Returns:
        All supported LoadSpecs in the form of a LoaderMap.
      • getAllLoaderNames

        public static java.util.Collection<java.lang.String> getAllLoaderNames()
        Gets all known Loaders' names.
        Returns:
        All known Loaders' names. The Loader names are sorted according to their corresponding Loaders natural ordering.
      • getLoaderClassByName

        public static java.lang.Class<? extends Loader> getLoaderClassByName​(java.lang.String name)
        Gets the Loader Class that corresponds to the given simple Class name.
        Parameters:
        name - The name of the Loader to get the Class of.
        Returns:
        The Loader Class that corresponds to the given simple Class name.