Holds the grouped views used to display a similarity result. More...
Holds the grouped views used to display a similarity result.
Public Member Functions | |
| SimilarityRenderContext () | |
| SimilarityRenderContext (BNSimilarityRenderContext *context) | |
| void | SetPreferredViewType (const FunctionViewType &type) |
| Sets the function representation preferred by renderers writing to this context. | |
| FunctionViewType | GetPreferredViewType () const |
| Returns the function representation preferred by renderers writing to this context. | |
| void | AddFlowGraph (const std::string &group, FlowGraph &graph) |
| Adds a flow graph to a view group. | |
| void | AddFlowGraph (const std::string &group, FlowGraph &graph, const SimilarityEntityRef &entity) |
| Adds a flow graph for a session entity to a view group. | |
| void | AddLinearView (const std::string &group, BinaryView &data, LinearViewObject &linearView) |
| Adds a linear view to a view group. | |
| void | AddLinearView (const std::string &group, BinaryView &data, LinearViewObject &linearView, const SimilarityEntityRef &entity) |
| Adds a linear view for a session entity to a view group. | |
| std::vector< Ref< SimilarityView > > | GetViews () const |
| Returns views in insertion order. | |
| Public Member Functions inherited from BinaryNinja::CoreRefCountObject< BNSimilarityRenderContext, BNNewSimilarityRenderContextReference, BNFreeSimilarityRenderContext > | |
| CoreRefCountObject () | |
| virtual | ~CoreRefCountObject () |
| BNSimilarityRenderContext * | GetObject () const |
| void | AddRef () |
| void | Release () |
| void | AddRefForRegistration () |
| void | ReleaseForRegistration () |
| void | AddRefForCallback () |
| void | ReleaseForCallback () |
Additional Inherited Members | |
| Public Attributes inherited from BinaryNinja::CoreRefCountObject< BNSimilarityRenderContext, BNNewSimilarityRenderContextReference, BNFreeSimilarityRenderContext > | |
| std::atomic< int > | m_refs |
| bool | m_registeredRef |
| BNSimilarityRenderContext * | m_object |
| SimilarityRenderContext::SimilarityRenderContext | ( | ) |
| SimilarityRenderContext::SimilarityRenderContext | ( | BNSimilarityRenderContext * | context | ) |
| void SimilarityRenderContext::SetPreferredViewType | ( | const FunctionViewType & | type | ) |
Sets the function representation preferred by renderers writing to this context.
| FunctionViewType SimilarityRenderContext::GetPreferredViewType | ( | ) | const |
Returns the function representation preferred by renderers writing to this context.
| void BinaryNinja::SimilarityRenderContext::AddFlowGraph | ( | const std::string & | group, |
| FlowGraph & | graph ) |
Adds a flow graph to a view group.
| void BinaryNinja::SimilarityRenderContext::AddFlowGraph | ( | const std::string & | group, |
| FlowGraph & | graph, | ||
| const SimilarityEntityRef & | entity ) |
Adds a flow graph for a session entity to a view group.
| void BinaryNinja::SimilarityRenderContext::AddLinearView | ( | const std::string & | group, |
| BinaryView & | data, | ||
| LinearViewObject & | linearView ) |
Adds a linear view to a view group.
| void BinaryNinja::SimilarityRenderContext::AddLinearView | ( | const std::string & | group, |
| BinaryView & | data, | ||
| LinearViewObject & | linearView, | ||
| const SimilarityEntityRef & | entity ) |
Adds a linear view for a session entity to a view group.
| vector< Ref< SimilarityView > > SimilarityRenderContext::GetViews | ( | ) | const |
Returns views in insertion order.