#include <Proc.hpp>
|
| Proc (TextSeg *seg, const std::string &name, const std::string &linkname, Type t, VMA begVMA, VMA endVMA, unsigned int size) |
|
virtual | ~Proc () |
|
TextSeg * | seg () const |
|
LM * | lm () const |
|
const std::string & | name () const |
|
void | name (const std::string &name) |
|
const std::string & | linkName () const |
|
Type | type () const |
|
void | type (Type type) |
|
VMA | begVMA () const |
|
VMA | endVMA () const |
|
void | endVMA (VMA endVMA) |
|
uint | size () const |
|
void | size (unsigned int size) |
|
bool | hasSymbolic () |
|
const std::string & | filename () const |
|
void | filename (std::string &x) |
|
SrcFile::ln | begLine () const |
|
void | begLine (SrcFile::ln x) |
|
Proc * | parent () const |
|
void | parent (Proc *x) |
|
bool | isIn (VMA vma) const |
|
unsigned int | id () const |
|
unsigned int | numInsns () const |
|
Insn * | begInsn () const |
|
Insn * | endInsn () const |
|
MachInsn * | findMachInsn (VMA vma, ushort &sz) const |
|
Insn * | findInsn (VMA vma, ushort opIndex) const |
|
bool | findSrcCodeInfo (VMA vma, ushort opIndex, std::string &func, std::string &file, SrcFile::ln &line) const |
|
bool | findSrcCodeInfo (VMA begVMA, ushort bOpIndex, VMA endVMA, ushort eOpIndex, std::string &func, std::string &file, SrcFile::ln &begLine, SrcFile::ln &endLine, unsigned flags=1) const |
|
std::string | toString (int flags=LM::DUMP_Short) const |
|
virtual void | dump (std::ostream &o=std::cerr, int flags=LM::DUMP_Short, const char *pre="") const |
|
void | ddump () const |
|
bool | isDummyProc () const |
|
|
static unsigned int | nextId = 0 |
|
Definition at line 92 of file Proc.hpp.
◆ Type
Enumerator |
---|
Local | |
Weak | |
Global | |
Quasi | |
Unknown | |
Data | |
Definition at line 94 of file Proc.hpp.
◆ Proc() [1/3]
BinUtil::Proc::Proc |
( |
TextSeg * |
seg, |
|
|
const std::string & |
name, |
|
|
const std::string & |
linkname, |
|
|
Type |
t, |
|
|
VMA |
begVMA, |
|
|
VMA |
endVMA, |
|
|
unsigned int |
size |
|
) |
| |
◆ ~Proc()
◆ Proc() [2/3]
◆ Proc() [3/3]
◆ begInsn()
Insn* BinUtil::Proc::begInsn |
( |
| ) |
const |
|
inline |
◆ begLine() [1/2]
◆ begLine() [2/2]
◆ begVMA()
VMA BinUtil::Proc::begVMA |
( |
| ) |
const |
|
inline |
◆ ddump()
void BinUtil::Proc::ddump |
( |
| ) |
const |
◆ dump()
void BinUtil::Proc::dump |
( |
std::ostream & |
o = std::cerr , |
|
|
int |
flags = LM::DUMP_Short , |
|
|
const char * |
pre = "" |
|
) |
| const |
|
virtual |
◆ endInsn()
◆ endVMA() [1/2]
VMA BinUtil::Proc::endVMA |
( |
| ) |
const |
|
inline |
◆ endVMA() [2/2]
void BinUtil::Proc::endVMA |
( |
VMA |
endVMA | ) |
|
|
inline |
◆ filename() [1/2]
const std::string& BinUtil::Proc::filename |
( |
| ) |
const |
|
inline |
◆ filename() [2/2]
void BinUtil::Proc::filename |
( |
std::string & |
x | ) |
|
|
inline |
◆ findInsn()
◆ findMachInsn()
◆ findSrcCodeInfo() [1/2]
bool BinUtil::Proc::findSrcCodeInfo |
( |
VMA |
vma, |
|
|
ushort |
opIndex, |
|
|
std::string & |
func, |
|
|
std::string & |
file, |
|
|
SrcFile::ln & |
line |
|
) |
| const |
|
inline |
◆ findSrcCodeInfo() [2/2]
bool BinUtil::Proc::findSrcCodeInfo |
( |
VMA |
begVMA, |
|
|
ushort |
bOpIndex, |
|
|
VMA |
endVMA, |
|
|
ushort |
eOpIndex, |
|
|
std::string & |
func, |
|
|
std::string & |
file, |
|
|
SrcFile::ln & |
begLine, |
|
|
SrcFile::ln & |
endLine, |
|
|
unsigned |
flags = 1 |
|
) |
| const |
|
inline |
◆ hasSymbolic()
bool BinUtil::Proc::hasSymbolic |
( |
| ) |
|
|
inline |
◆ id()
unsigned int BinUtil::Proc::id |
( |
| ) |
const |
|
inline |
◆ isDummyProc()
bool BinUtil::Proc::isDummyProc |
( |
| ) |
const |
|
inline |
◆ isDummyProcBFDSym()
static bool BinUtil::Proc::isDummyProcBFDSym |
( |
asymbol * |
sym | ) |
|
|
inlinestatic |
◆ isIn()
bool BinUtil::Proc::isIn |
( |
VMA |
vma | ) |
const |
|
inline |
◆ isProcBFDSym()
static bool BinUtil::Proc::isProcBFDSym |
( |
asymbol * |
sym | ) |
|
|
inlinestatic |
◆ linkName()
const std::string& BinUtil::Proc::linkName |
( |
| ) |
const |
|
inline |
◆ lm()
LM* BinUtil::Proc::lm |
( |
| ) |
const |
|
inline |
◆ name() [1/2]
const std::string& BinUtil::Proc::name |
( |
| ) |
const |
|
inline |
◆ name() [2/2]
void BinUtil::Proc::name |
( |
const std::string & |
name | ) |
|
|
inline |
◆ numInsns()
unsigned int BinUtil::Proc::numInsns |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ parent() [1/2]
Proc* BinUtil::Proc::parent |
( |
| ) |
const |
|
inline |
◆ parent() [2/2]
void BinUtil::Proc::parent |
( |
Proc * |
x | ) |
|
|
inline |
◆ seg()
TextSeg* BinUtil::Proc::seg |
( |
| ) |
const |
|
inline |
◆ size() [1/2]
uint BinUtil::Proc::size |
( |
| ) |
const |
|
inline |
◆ size() [2/2]
void BinUtil::Proc::size |
( |
unsigned int |
size | ) |
|
|
inline |
◆ toString()
◆ type() [1/2]
Type BinUtil::Proc::type |
( |
| ) |
const |
|
inline |
◆ type() [2/2]
void BinUtil::Proc::type |
( |
Type |
type | ) |
|
|
inline |
◆ ProcInsnIterator
◆ m_begLine
◆ m_begVMA
VMA BinUtil::Proc::m_begVMA |
|
private |
◆ m_endVMA
VMA BinUtil::Proc::m_endVMA |
|
private |
◆ m_filenm
std::string BinUtil::Proc::m_filenm |
|
private |
◆ m_id
unsigned int BinUtil::Proc::m_id |
|
private |
◆ m_linkname
std::string BinUtil::Proc::m_linkname |
|
private |
◆ m_name
std::string BinUtil::Proc::m_name |
|
private |
◆ m_numInsns
unsigned int BinUtil::Proc::m_numInsns |
|
private |
◆ m_parent
Proc* BinUtil::Proc::m_parent |
|
private |
◆ m_seg
◆ m_size
unsigned int BinUtil::Proc::m_size |
|
private |
◆ m_type
Type BinUtil::Proc::m_type |
|
private |
◆ nextId
unsigned int BinUtil::Proc::nextId = 0 |
|
staticprivate |
The documentation for this class was generated from the following files: