Public Member Functions | |
| CoreLanguageRepresentationFunctionType (BNLanguageRepresentationFunctionType *type) | |
| Ref< LanguageRepresentationFunction > | Create (Architecture *arch, Function *owner, HighLevelILFunction *highLevelIL) override |
| This method must be overridden. | |
| bool | IsValid (BinaryView *view) override |
| Returns whether the language is valid for the given binary view. | |
| Ref< TypePrinter > | GetTypePrinter () override |
| Returns the type printer for displaying types in this language. | |
| Ref< TypeParser > | GetTypeParser () override |
| Returns the type parser for parsing types in this language. | |
| Ref< LineFormatter > | GetLineFormatter () override |
| Returns the line formatter for formatting code in this language. | |
| std::vector< DisassemblyTextLine > | GetFunctionTypeTokens (Function *func, DisassemblySettings *settings=nullptr) override |
| Returns a list of lines representing a function prototype in this language. | |
| Public Member Functions inherited from BinaryNinja::LanguageRepresentationFunctionType | |
| LanguageRepresentationFunctionType (const std::string &name) | |
| LanguageRepresentationFunctionType (BNLanguageRepresentationFunctionType *type) | |
| std::string | GetName () const |
| Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNLanguageRepresentationFunctionType > | |
| StaticCoreRefCountObject () | |
| virtual | ~StaticCoreRefCountObject () |
| BNLanguageRepresentationFunctionType * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | AddRefForCallback () |
| void | ReleaseForCallback () |
Additional Inherited Members | |
| Static Public Member Functions inherited from BinaryNinja::LanguageRepresentationFunctionType | |
| static void | Register (LanguageRepresentationFunctionType *type) |
| Registers the language representation function type. | |
| static Ref< LanguageRepresentationFunctionType > | GetByName (const std::string &name) |
| static bool | IsValidByName (const std::string &name, BinaryView *view) |
| static std::vector< Ref< LanguageRepresentationFunctionType > > | GetTypes () |
| Public Attributes inherited from BinaryNinja::StaticCoreRefCountObject< BNLanguageRepresentationFunctionType > | |
| std::atomic< int > | m_refs |
| BNLanguageRepresentationFunctionType * | m_object |
| CoreLanguageRepresentationFunctionType::CoreLanguageRepresentationFunctionType | ( | BNLanguageRepresentationFunctionType * | type | ) |
|
overridevirtual |
This method must be overridden.
This creates the LanguageRepresentationFunction object for the given architecture, owner function, and High Level IL function.
| arch | The architecture of the function. |
| owner | The associated function. |
| highLevelIL | The High Level IL for the function. |
Implements BinaryNinja::LanguageRepresentationFunctionType.
|
overridevirtual |
Returns whether the language is valid for the given binary view.
| view | The binary view to check the validity for. |
Reimplemented from BinaryNinja::LanguageRepresentationFunctionType.
|
overridevirtual |
Returns the type printer for displaying types in this language.
If NULL is returned, the default type printer will be used.
Reimplemented from BinaryNinja::LanguageRepresentationFunctionType.
|
overridevirtual |
Returns the type parser for parsing types in this language.
If NULL is returned, the default type parser will be used.
Reimplemented from BinaryNinja::LanguageRepresentationFunctionType.
|
overridevirtual |
Returns the line formatter for formatting code in this language.
If NULL is returned, the default formatter will be used.
Reimplemented from BinaryNinja::LanguageRepresentationFunctionType.
|
overridevirtual |
Returns a list of lines representing a function prototype in this language.
If no lines are returned, the default C-style prototype will be used.
| func | The function to get the prototype lines for. |
| settings | The disassembly settings to use (may be NULL). |
Reimplemented from BinaryNinja::LanguageRepresentationFunctionType.