retdec
Classes | Public Attributes | List of all members
retdec::common::BasicBlock Class Reference

#include <basic_block.h>

Inheritance diagram for retdec::common::BasicBlock:
Inheritance graph
[legend]
Collaboration diagram for retdec::common::BasicBlock:
Collaboration graph
[legend]

Classes

struct  CallEntry
 All the calls in this basic block. More...
 

Public Attributes

std::set< Addresspreds
 Start addresses of predecessor basic blocks. More...
 
std::set< Addresssuccs
 Start addresses of successor basic blocks. More...
 
std::set< CallEntrycalls
 
std::vector< cs_insn * > instructions
 

Additional Inherited Members

- Public Types inherited from retdec::common::Range< T >
using RangeType = T
 
- Public Member Functions inherited from retdec::common::Range< T >
 Range ()
 
 Range (const RangeType &start, const RangeType &end)
 
 Range (const Range< RangeType > &range)
 
 Range (Range< RangeType > &&range) noexcept(std::is_nothrow_move_constructible< RangeType >::value)
 
virtual ~Range ()=default
 
Rangeoperator= (const Range< RangeType > &rhs)=default
 
Rangeoperator= (Range< RangeType > &&rhs)=default
 
const RangeTypegetStart () const
 
const RangeTypegetEnd () const
 
void setStart (const RangeType &start)
 
void setEnd (const RangeType &end)
 
void setStartEnd (const RangeType &start, const RangeType &end)
 
RangeType getSize () const
 
bool contains (const RangeType &value) const
 
bool contains (const Range< RangeType > &o) const
 
bool overlaps (const Range< RangeType > &o) const
 
bool operator== (const Range< RangeType > &rhs) const
 
bool operator< (const Range< RangeType > &rhs) const
 
bool operator!= (const Range< RangeType > &rhs) const
 
- Protected Attributes inherited from retdec::common::Range< T >
RangeType _start
 
RangeType _end
 

Member Data Documentation

◆ calls

std::set<CallEntry> retdec::common::BasicBlock::calls

◆ instructions

std::vector<cs_insn*> retdec::common::BasicBlock::instructions

Basic block instructions. These are pointers to Capstone instruction representations. Fill this member only if it is needed. If used, the user of this library needs to include Capstone header and link Capstone library. This library does neither.

◆ preds

std::set<Address> retdec::common::BasicBlock::preds

Start addresses of predecessor basic blocks.

◆ succs

std::set<Address> retdec::common::BasicBlock::succs

Start addresses of successor basic blocks.


The documentation for this class was generated from the following file: