Interface INativeDecompilerPlugin<InsnType extends IInstruction>
- Type Parameters:
InsnType- instruction type handled by the decompiler plugin
- All Superinterfaces:
INativePlugin<InsnType>,IPlugin,IUnitPlugin
- All Known Implementing Classes:
AbstractNativeDecompilerPlugin
public interface INativeDecompilerPlugin<InsnType extends IInstruction>
extends INativePlugin<InsnType>
Definition of a native decompiler plugin. Decompiler plugins should implement
AbstractNativeDecompilerPlugin.-
Method Summary
Modifier and TypeMethodDescriptiongetConverter(INativeCodeUnit<InsnType> unit) Create or retrieve the native-to-IR converter used by this plugin.getGlobalAnalyzer(INativeDecompilerUnit<InsnType> decompiler) Provide an optional global analyzer provided by this plugin.getPrimaryExtension(INativeDecompilerUnit<InsnType> decompiler) A decompiler plugin may provide a primary decompiler extension.getSourceCustomizer(INativeDecompilerUnit<InsnType> decompiler) Provide an optional pseudo-C source code customizer.Methods inherited from interface com.pnfsoftware.jeb.core.units.code.asm.INativePlugin
setupCustomPropertiesMethods inherited from interface com.pnfsoftware.jeb.core.IPlugin
dispose, getData, getPluginInformation, setDataMethods inherited from interface com.pnfsoftware.jeb.core.units.IUnitPlugin
getFormatType, getPriority, getPropertyDefinitionManager, getTypeIdProvider, initialize
-
Method Details
-
getConverter
Create or retrieve the native-to-IR converter used by this plugin.- Parameters:
unit- native code unit to decompile- Returns:
- converter instance
-
getPrimaryExtension
A decompiler plugin may provide a primary decompiler extension. The extension manager, owned by the decompiler unit, may contain any number of extensions (0, 1, 2, more) provided by third-party source (extensions are first-class plugins). If the decompiler plugin provides an extension, it will be registered first with a high-priority level.- Parameters:
decompiler- decompiler unit that owns the extension- Returns:
- an optional, primary decompiler extension
-
getGlobalAnalyzer
Provide an optional global analyzer provided by this plugin.- Parameters:
decompiler- decompiler unit requesting the analyzer- Returns:
- optional global analyzer, or null
-
getSourceCustomizer
Provide an optional pseudo-C source code customizer.- Parameters:
decompiler- decompiler unit requesting the customizer- Returns:
- optional source customizer, or null
-