Package ghidra.app.util.opinion
Class MSCoffLoader
- java.lang.Object
-
- ghidra.app.util.opinion.AbstractProgramLoader
-
- ghidra.app.util.opinion.AbstractLibrarySupportLoader
-
- ghidra.app.util.opinion.CoffLoader
-
- ghidra.app.util.opinion.MSCoffLoader
-
- All Implemented Interfaces:
Loader,ExtensionPoint,java.lang.Comparable<Loader>
public class MSCoffLoader extends CoffLoader
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMSCOFF_NAME-
Fields inherited from class ghidra.app.util.opinion.CoffLoader
COFF_NAME, FAKE_LINK_OPTION_NAME
-
Fields inherited from class ghidra.app.util.opinion.AbstractLibrarySupportLoader
LIB_OPTION_NAME, SYM_OPTION_NAME
-
Fields inherited from class ghidra.app.util.opinion.AbstractProgramLoader
ANCHOR_LABELS_OPTION_NAME, APPLY_LABELS_OPTION_NAME
-
Fields inherited from interface ghidra.app.util.opinion.Loader
COMMAND_LINE_ARG_PREFIX
-
-
Constructor Summary
Constructors Constructor Description MSCoffLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()protected booleanisCaseInsensitiveLibraryFilenames()Specifies if the library filenames specified by this loader should be exact case match or case-insensitive.booleanisMicrosoftFormat()-
Methods inherited from class ghidra.app.util.opinion.CoffLoader
findSupportedLoadSpecs, getDefaultOptions, load, validateOptions
-
Methods inherited from class ghidra.app.util.opinion.AbstractLibrarySupportLoader
createExportsFile, findAlreadyImportedLibrary, getLoadSpec, getTier, getTierPriority, importLibrary, importLibrary, loadProgram, loadProgramInto, postLoadProgramFixups
-
Methods inherited from class ghidra.app.util.opinion.AbstractProgramLoader
createDefaultMemoryBlocks, createProgram, generateBlockName, getLanguageService, load, loadInto, markAsFunction, release, shouldApplyProcessorLabelsByDefault
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ghidra.app.util.opinion.Loader
compareTo, getPreferredFileName, supportsLoadIntoProgram
-
-
-
-
Field Detail
-
MSCOFF_NAME
public static final java.lang.String MSCOFF_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMicrosoftFormat
public boolean isMicrosoftFormat()
- Overrides:
isMicrosoftFormatin classCoffLoader- Returns:
- true if this loader assumes the Microsoft variant of the COFF format
-
getName
public java.lang.String getName()
Description copied from interface:LoaderGets theLoader's name, which is used both for display purposes, and to identify theLoaderin the opinion files.- Specified by:
getNamein interfaceLoader- Overrides:
getNamein classCoffLoader- Returns:
- The
Loader's name.
-
isCaseInsensitiveLibraryFilenames
protected boolean isCaseInsensitiveLibraryFilenames()
Description copied from class:AbstractLibrarySupportLoaderSpecifies if the library filenames specified by this loader should be exact case match or case-insensitive.Derived loader classes should override this method and specify if the OS that normally handles this type of binary is case-insensitive.
- Overrides:
isCaseInsensitiveLibraryFilenamesin classAbstractLibrarySupportLoader- Returns:
- - true if case-insensitive or false if case-sensitive.
-
-