|
ROSE 2.15.0
|
Base class for ByteCode Methods.
A Method stores information about an instance method/function such as its name and instructions.
Definition at line 53 of file BinaryAnalysis/ByteCode/Analysis.h.
#include <Rose/BinaryAnalysis/ByteCode/Analysis.h>


Public Types | |
| using | Ptr = Sawyer::SharedPointer< Method > |
| Shared ownership pointer. | |
Public Member Functions | |
| const std::string & | name () const |
| Address | address () const |
| void | finalize () |
| Complete initialization of the method once decoding is done. | |
| virtual bool | isStatic () const =0 |
| virtual bool | isSystemReserved (const std::string &name) const =0 |
| virtual const SgAsmInstructionList * | instructions () const =0 |
| virtual void | decode (const Disassembler::BasePtr &) const =0 |
| virtual std::string | descriptor () const =0 |
| virtual void | annotate ()=0 |
| std::set< Address > | targets () const |
| Class * | declaringClass () const |
| void | declaringClass (Class *declaringClass) |
| SgAsmInstruction * | instructionAt (Address va) const |
| const std::vector< BasicBlockPtr > & | blocks () const |
| void | append (BasicBlockPtr bb) |
Public Member Functions inherited from Sawyer::SharedObject | |
| SharedObject () | |
| Default constructor. | |
| SharedObject (const SharedObject &) | |
| Copy constructor. | |
| virtual | ~SharedObject () |
| Virtual destructor. | |
| SharedObject & | operator= (const SharedObject &) |
| Assignment. | |
Public Member Functions inherited from Sawyer::SharedFromThis< Method > | |
| SharedPointer< Method > | sharedFromThis () |
Create a shared pointer from this. | |
| SharedPointer< const Method > | sharedFromThis () const |
Create a shared pointer from this. | |
Protected Member Functions | |
| Method (std::string name, Address va) | |
Protected Attributes | |
| Address | address_ = 0 |
Shared ownership pointer.
Definition at line 57 of file BinaryAnalysis/ByteCode/Analysis.h.
|
protected |
Definition at line 103 of file BinaryAnalysis/ByteCode/Analysis.h.