#include <Seg.hpp>
|
| Seg (LM *lm, const std::string &name, Type type, VMA beg, VMA end, uint64_t size) |
|
virtual | ~Seg () |
|
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 |
|
virtual void | dump (std::ostream &o=std::cerr, int flags=LM::DUMP_Short, const char *pre="") const |
|
void | ddump () const |
|
Definition at line 95 of file Seg.hpp.
◆ Type
Enumerator |
---|
TypeNULL | |
TypeBSS | |
TypeText | |
TypeData | |
Definition at line 97 of file Seg.hpp.
◆ Seg() [1/3]
BinUtil::Seg::Seg |
( |
LM * |
lm, |
|
|
const std::string & |
name, |
|
|
Type |
type, |
|
|
VMA |
beg, |
|
|
VMA |
end, |
|
|
uint64_t |
size |
|
) |
| |
◆ ~Seg()
◆ Seg() [2/3]
◆ Seg() [3/3]
◆ begVMA()
VMA BinUtil::Seg::begVMA |
( |
| ) |
const |
|
inline |
◆ ddump()
void BinUtil::Seg::ddump |
( |
| ) |
const |
◆ dump()
void BinUtil::Seg::dump |
( |
std::ostream & |
o = std::cerr , |
|
|
int |
flags = LM::DUMP_Short , |
|
|
const char * |
pre = "" |
|
) |
| const |
|
virtual |
◆ endVMA()
VMA BinUtil::Seg::endVMA |
( |
| ) |
const |
|
inline |
◆ findInsn()
◆ findMachInsn()
◆ findSrcCodeInfo() [1/2]
bool BinUtil::Seg::findSrcCodeInfo |
( |
VMA |
vma, |
|
|
ushort |
opIndex, |
|
|
std::string & |
func, |
|
|
std::string & |
file, |
|
|
SrcFile::ln & |
line |
|
) |
| const |
|
inline |
◆ findSrcCodeInfo() [2/2]
◆ isIn()
bool BinUtil::Seg::isIn |
( |
VMA |
vma | ) |
const |
|
inline |
◆ lm()
LM* BinUtil::Seg::lm |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& BinUtil::Seg::name |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ size()
uint64_t BinUtil::Seg::size |
( |
| ) |
const |
|
inline |
◆ toString()
string BinUtil::Seg::toString |
( |
int |
flags = LM::DUMP_Short , |
|
|
const char * |
pre = "" |
|
) |
| const |
◆ type()
Type BinUtil::Seg::type |
( |
| ) |
const |
|
inline |
◆ m_begVMA
VMA BinUtil::Seg::m_begVMA |
|
private |
◆ m_endVMA
VMA BinUtil::Seg::m_endVMA |
|
private |
◆ m_lm
◆ m_name
std::string BinUtil::Seg::m_name |
|
private |
◆ m_size
uint64_t BinUtil::Seg::m_size |
|
private |
◆ m_type
Type BinUtil::Seg::m_type |
|
private |
The documentation for this class was generated from the following files: