public interface DisassemblerProvider
Modifier and Type | Method and Description |
---|---|
default String |
disassembleCompiledCode(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 disassmembly return by this object.
|
default String disassembleCompiledCode(CodeCacheProvider codeCache, CompilationResult compResult)
codeCache
- the object used for code code
installation
compResult
- 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
installation
compResult
- a compiled code that was installed to produce installedCode
. This
will be null if not available.installedCode
- code
or null if
code
is invalid
or it could not be
disassembled for some other reason