public interface DisassemblerProvider
| Modifier and Type | Method and Description |
|---|---|
default String |
disassembleCompiledCode(OptionValues options,
CodeCacheProvider codeCache,
CompilationResult compResult)
Gets a textual disassembly of a given compilation result.
|
default String |
disassembleInstalledCode(CodeCacheProvider codeCache,
CompilationResult compResult,
InstalledCode installedCode)
Gets a textual disassembly of a given installed code.
|
String |
getName()
Gets the name denoting the format of the disassembly returned by this object.
|
default boolean |
isAvailable(OptionValues options)
Indicates whether the DisassemblerProvider is usable in the current context.
|
default String disassembleCompiledCode(OptionValues options, CodeCacheProvider codeCache, CompilationResult compResult)
options - the option configuration for the disassembler contextcodeCache - the object used for code code installationcompResult - a compilation resultcompResult or null it
could not be disassembleddefault String disassembleInstalledCode(CodeCacheProvider codeCache, CompilationResult compResult, InstalledCode installedCode)
codeCache - the object used for code code installationcompResult - a compiled code that was installed to produce installedCode. This
will be null if not available.installedCode - installedCode or null if
installedCode is invalid or it could not be
disassembled for some other reasonString getName()
default boolean isAvailable(OptionValues options)
options - the option configuration for the disassembler context