60 #ifndef BinUtil_Seg_hpp 61 #define BinUtil_Seg_hpp 151 std::string& func, std::string& file,
158 std::string& func, std::string& file,
160 uint flags = 1)
const 163 func, file, begLine, endLine, flags);
177 dump(std::ostream& o = std::cerr,
236 {
return m_procs.size(); }
251 return const_cast<TextSeg*
>(
this)->begin();
266 return const_cast<TextSeg*
>(
this)->end();
275 dump(std::ostream& o = std::cerr,
297 ctor_disassembleProcs();
301 findProcName(bfd* abfd, asymbol* procSym)
const;
304 findProcEnd(
int funcSymIndex)
const;
322 #endif // BinUtil_Seg_hpp 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
Seg(const Seg &GCC_ATTR_UNUSED s)
MachInsn * findMachInsn(VMA vma, ushort &size) const
const std::string & name() const
unsigned short int ushort
std::string toString(int flags=LM::DUMP_Short, const char *pre="") const
My_t::const_iterator const_iterator
Insn * findInsn(VMA vma, ushort opIndex) const
virtual void dump(std::ostream &o=std::cerr, int flags=LM::DUMP_Short, const char *pre="") const
Insn * findInsn(VMA vma, ushort opIndex) const
bool findSrcCodeInfo(VMA vma, ushort opIndex, std::string &func, std::string &file, SrcFile::ln &line) const
iterator find(const key_type &toFind)
TextSeg & operator=(const TextSeg &GCC_ATTR_UNUSED s)
bool findSrcCodeInfo(VMA vma, ushort opIndex, std::string &func, std::string &file, SrcFile::ln &line)
Seg & operator=(const Seg &GCC_ATTR_UNUSED s)
TextSeg(const TextSeg &GCC_ATTR_UNUSED s)
MachInsn * findMachInsn(VMA vma, ushort &sz) const
std::vector< Proc * > ProcVec