|
ROSE 2.23.0
|
Binds the abstract Rose::Common::Analysis::ClassAnalysis to the JVM representation in ROSE by defining the compatibility class.
Definition at line 13 of file JvmHierarchyAnalysis.h.
#include <Rose/BinaryAnalysis/ByteCode/ClassHierarchy/JvmHierarchyAnalysis.h>


Public Types | |
| using | base = Rose::Common::Analysis::ClassAnalysis |
| Base class-analysis type. | |
| using | base = ClassAnalysisBase |
| Base map type used for storage. | |
Public Types inherited from Rose::Common::Analysis::ClassAnalysis | |
| using | base = ClassAnalysisBase |
| Base map type used for storage. | |
Public Member Functions | |
| const JvmCompatibility & | compatibilityBridge () const override |
| Returns the JVM compatibility bridge. | |
Public Member Functions inherited from Rose::Common::Analysis::ClassAnalysis | |
| ClassAnalysis (bool fullTranslUnit) | |
| Constructs an analysis and records whether it covers a complete translation unit. | |
| ClassAnalysis ()=default | |
| Constructs an empty analysis that does not claim complete-program coverage. | |
| void | addInheritanceEdge (value_type &descendant, ClassKeyType ancestorKey, bool isVirtual, bool isDirect) |
| convenience function to access the map using a SgClassDefinition reference. | |
| void | addInheritanceEdge (value_type &descendant, const InheritanceDesc &ancestor) |
adds an inheritance edge to the descendant class and ancestor class. | |
| bool | isBaseOf (ClassKeyType ancestorKey, ClassKeyType descendantKey) const |
returns true, iff ancestorKey is a (direct or indirect) base class of descendantKey. | |
| bool | isVirtualBaseOf (ClassKeyType ancestorKey, ClassKeyType descendantKey) const |
returns true, iff ancestorKey is a (direct or indirect) virtual base class of descendantKey. | |
| std::vector< InheritanceDesc > | concreteDescendants (ClassKeyType classKey) const |
returns a list of concrete descendant classes of classkey (i.e., const SgClassDefinition*) | |
| ClassAnalysisInfo | classInfo (ClassKeyType classKey) const |
| returns a ClassAnalysisInfo object that can be used for writing information to a stream. | |
| mapped_type & | at (const key_type &k) |
replaces base::at with functions that can provide better diagnostics in case k is not known. | |
| const mapped_type & | at (const key_type &k) const |
replaces base::at with functions that can provide better diagnostics in case k is not known. | |
| bool | containsAllClasses () const |
| property indicating whether this analysis was built for the whole AST/program or just to represent the inheritance hierarchy of a single class. | |
| void | containsAllClasses (bool b) |
| property indicating whether this analysis was built for the whole AST/program or just to represent the inheritance hierarchy of a single class. | |
| using Rose::BinaryAnalysis::ByteCode::ClassHierarchy::JvmHierarchyAnalysis::base = Rose::Common::Analysis::ClassAnalysis |
Base class-analysis type.
Definition at line 18 of file JvmHierarchyAnalysis.h.
| using Rose::Common::Analysis::ClassAnalysis::base = ClassAnalysisBase |
Base map type used for storage.
Definition at line 465 of file ClassHierarchyAnalysis.h.
|
overridevirtual |
Returns the JVM compatibility bridge.
Implements Rose::Common::Analysis::ClassAnalysis.