#include <Seg.hpp>
|
| TextSeg (LM *lm, const std::string &name, VMA beg, VMA end, uint64_t size) |
|
virtual | ~TextSeg () |
|
uint | numProcs () const |
|
virtual void | dump (std::ostream &o=std::cerr, int flags=LM::DUMP_Short, const char *pre="") const |
|
LM * | lm () const |
|
const std::string & | name () const |
|
Type | type () const |
|
VMA | begVMA () const |
|
VMA | endVMA () const |
|
uint64_t | size () const |
|
bool | isIn (VMA vma) 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, uint flags=1) const |
|
std::string | toString (int flags=LM::DUMP_Short, const char *pre="") const |
|
void | ddump () const |
|
Definition at line 221 of file Seg.hpp.
◆ ProcVec
◆ Type
Enumerator |
---|
TypeNULL | |
TypeBSS | |
TypeText | |
TypeData | |
Definition at line 97 of file Seg.hpp.
◆ TextSeg() [1/3]
BinUtil::TextSeg::TextSeg |
( |
LM * |
lm, |
|
|
const std::string & |
name, |
|
|
VMA |
beg, |
|
|
VMA |
end, |
|
|
uint64_t |
size |
|
) |
| |
◆ ~TextSeg()
BinUtil::TextSeg::~TextSeg |
( |
| ) |
|
|
virtual |
◆ TextSeg() [2/3]
BinUtil::TextSeg::TextSeg |
( |
| ) |
|
|
inlineprivate |
◆ TextSeg() [3/3]
◆ begVMA()
VMA BinUtil::Seg::begVMA |
( |
| ) |
const |
|
inlineinherited |
◆ ctor_disassembleProcs()
void BinUtil::TextSeg::ctor_disassembleProcs |
( |
| ) |
|
|
private |
◆ ctor_initProcs()
void BinUtil::TextSeg::ctor_initProcs |
( |
| ) |
|
|
private |
◆ ctor_readSegment()
void BinUtil::TextSeg::ctor_readSegment |
( |
| ) |
|
|
private |
◆ ddump()
void BinUtil::Seg::ddump |
( |
| ) |
const |
|
inherited |
◆ dump()
void BinUtil::TextSeg::dump |
( |
std::ostream & |
o = std::cerr , |
|
|
int |
flags = LM::DUMP_Short , |
|
|
const char * |
pre = "" |
|
) |
| const |
|
virtual |
◆ endVMA()
VMA BinUtil::Seg::endVMA |
( |
| ) |
const |
|
inlineinherited |
◆ findInsn()
◆ findMachInsn()
◆ findProcEnd()
VMA BinUtil::TextSeg::findProcEnd |
( |
int |
funcSymIndex | ) |
const |
|
private |
◆ findProcName()
string BinUtil::TextSeg::findProcName |
( |
bfd * |
abfd, |
|
|
asymbol * |
procSym |
|
) |
| const |
|
private |
◆ findSrcCodeInfo() [1/2]
bool BinUtil::Seg::findSrcCodeInfo |
( |
VMA |
vma, |
|
|
ushort |
opIndex, |
|
|
std::string & |
func, |
|
|
std::string & |
file, |
|
|
SrcFile::ln & |
line |
|
) |
| const |
|
inlineinherited |
◆ findSrcCodeInfo() [2/2]
◆ isIn()
bool BinUtil::Seg::isIn |
( |
VMA |
vma | ) |
const |
|
inlineinherited |
◆ lm()
LM* BinUtil::Seg::lm |
( |
| ) |
const |
|
inlineinherited |
◆ makeInsn()
◆ name()
const std::string& BinUtil::Seg::name |
( |
| ) |
const |
|
inlineinherited |
◆ numProcs()
uint BinUtil::TextSeg::numProcs |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ size()
uint64_t BinUtil::Seg::size |
( |
| ) |
const |
|
inlineinherited |
◆ toString()
string BinUtil::Seg::toString |
( |
int |
flags = LM::DUMP_Short , |
|
|
const char * |
pre = "" |
|
) |
| const |
|
inherited |
◆ type()
Type BinUtil::Seg::type |
( |
| ) |
const |
|
inlineinherited |
◆ m_contents
char* BinUtil::TextSeg::m_contents |
|
private |
◆ m_contentsRaw
char* BinUtil::TextSeg::m_contentsRaw |
|
private |
◆ m_lm
◆ m_procs
The documentation for this class was generated from the following files: