Ghidra Decompiler Analysis Engine
|
Factory and static initializer for the "java-language" back-end to the decompiler. More...
#include <printjava.hh>
Public Member Functions | |
virtual PrintLanguage * | buildLanguage (Architecture *glb) |
Build the main PrintLanguage object corresponding to this capability. More... | |
Public Member Functions inherited from PrintLanguageCapability | |
virtual void | initialize (void) |
Complete initialization of an extension point. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from PrintLanguageCapability | |
static PrintLanguageCapability * | getDefault (void) |
Retrieve the default language capability. More... | |
static PrintLanguageCapability * | findCapability (const string &name) |
Find a language capability by name. More... | |
Static Public Member Functions inherited from CapabilityPoint | |
static void | initializeAll (void) |
Finish initialization for all extension points. More... | |
Protected Member Functions inherited from CapabilityPoint | |
CapabilityPoint (void) | |
Construct extension capability exactly once. More... | |
Protected Attributes inherited from PrintLanguageCapability | |
string | name |
Unique identifier for language capability. | |
bool | isdefault |
Set to true to treat this as the default language. | |
Factory and static initializer for the "java-language" back-end to the decompiler.
The singleton adds itself to the list of possible back-end languages for the decompiler and it acts as a factory for producing the PrintJava object for emitting java-language tokens.
|
virtual |
Build the main PrintLanguage object corresponding to this capability.
An Architecture will call this once. All decompiling from this Architecture will use this same emitter.
glb | is the Architecture that will own the new emitter |
Implements PrintLanguageCapability.