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, Comparable<Loader>
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractLibrarySupportLoader
AbstractLibrarySupportLoader.LibrarySearchPath, AbstractLibrarySupportLoader.UnprocessedLibraryNested classes/interfaces inherited from interface Loader
Loader.ImporterSettings -
Field Summary
FieldsFields inherited from class CoffLoader
COFF_NAME, FAKE_LINK_OPTION_NAMEFields inherited from class AbstractLibrarySupportLoader
DEPTH_OPTION_NAME, LIBRARY_DEST_FOLDER_OPTION_NAME, LIBRARY_SEARCH_PATH_DUMMY_OPTION_NAME, LINK_EXISTING_OPTION_NAME, LINK_SEARCH_FOLDER_OPTION_NAME, LOAD_LIBRARY_OPTION_NAME, LOAD_ONLY_LIBRARIES_OPTION_NAME, MIRROR_LAYOUT_OPTION_NAMEFields inherited from class AbstractProgramLoader
ANCHOR_LABELS_OPTION_NAME, APPLY_LABELS_OPTION_NAMEFields inherited from interface Loader
COMMAND_LINE_ARG_PREFIX, loggingDisabled, OPTIONS_PROJECT_SAVE_STATE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Comparator<String> Returns aComparatorfor comparing library names.getName()protected intgetSectionAlignment(CoffSectionHeader section) Query a section header for alignment information.booleanMethods inherited from class CoffLoader
findSupportedLoadSpecs, getDefaultOptions, load, validateOptionsMethods inherited from class AbstractLibrarySupportLoader
createLibraryByteProvider, findLibraryInLoadedList, findLibraryInProject, getCustomLibrarySearchPaths, getLibraryDestinationFolderPath, getLibraryDestinationSearchFolder, getLibraryLoadDepth, getLibrarySearchFolders, getLibrarySearchPaths, getLinkSearchFolder, getTier, getTierPriority, isLinkExistingLibraries, isLoadLibraries, isMirroredLayout, isValidSearchPath, loadProgram, loadProgramInto, lookupLibraryInFolder, lookupLibraryInFs, matchSupportedLoadSpec, postLoadProgramFixups, processLibrary, shouldLoadOnlyLibraries, shouldSearchAllPathsMethods inherited from class AbstractProgramLoader
addExternalBlock, createDefaultMemoryBlocks, createProgram, createProgram, generateBlockName, getLanguageService, load, loadInto, markAsFunction, postLoadCleanup, setProgramProperties, shouldApplyProcessorLabelsByDefaultMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Loader
compareTo, getPreferredFileName, loadsIntoNewFolder, supportsLoadIntoProgram, supportsLoadIntoProgram
-
Field Details
-
MSCOFF_NAME
- See Also:
-
-
Constructor Details
-
MSCoffLoader
public MSCoffLoader()
-
-
Method Details
-
isMicrosoftFormat
public boolean isMicrosoftFormat()- Overrides:
isMicrosoftFormatin classCoffLoader- Returns:
- true if this loader assumes the Microsoft variant of the COFF format
-
getName
-
getLibraryNameComparator
Description copied from class:AbstractLibrarySupportLoaderReturns aComparatorfor comparing library names.No assumptions should be made about whether the library name includes path information or not.
- Overrides:
getLibraryNameComparatorin classAbstractLibrarySupportLoader- Returns:
- a
Comparatorfor comparing library names
-
getSectionAlignment
Description copied from class:CoffLoaderQuery a section header for alignment information. The base version of this method assumes no alignment information is stored in the section header. Subclasses may implement a platform-specific check for alignment information.- Overrides:
getSectionAlignmentin classCoffLoader- Parameters:
section- header object for the section- Returns:
- the alignment requested by the section
-