retdec
|
#include <decoder_ranges.h>
Public Member Functions | |
void | addPrimary (common::Address s, common::Address e) |
void | addPrimary (const common::AddressRange &r) |
void | addAlternative (common::Address s, common::Address e) |
void | addAlternative (const common::AddressRange &r) |
void | promoteAlternativeToPrimary () |
void | remove (common::Address s, common::Address e) |
void | remove (const common::AddressRange &r) |
void | removeZeroSequences (FileImage *image) |
bool | isStrict () const |
bool | primaryEmpty () const |
bool | alternativeEmpty () const |
const common::AddressRange & | primaryFront () const |
const common::AddressRange & | alternativeFront () const |
const common::AddressRange * | getPrimary (common::Address a) const |
const common::AddressRange * | getAlternative (common::Address a) const |
const common::AddressRange * | get (common::Address a) const |
void | setArchitectureInstructionAlignment (unsigned a) |
Private Member Functions | |
void | removeZeroSequences (FileImage *image, common::AddressRangeContainer &rs) |
Private Attributes | |
common::AddressRangeContainer | _primaryRanges |
common::AddressRangeContainer | _alternativeRanges |
unsigned | archInsnAlign = 0 |
bool | _strict = false |
Friends | |
std::ostream & | operator<< (std::ostream &os, const RangesToDecode &rs) |
void retdec::bin2llvmir::RangesToDecode::addAlternative | ( | common::Address | s, |
common::Address | e | ||
) |
void retdec::bin2llvmir::RangesToDecode::addAlternative | ( | const common::AddressRange & | r | ) |
void retdec::bin2llvmir::RangesToDecode::addPrimary | ( | common::Address | s, |
common::Address | e | ||
) |
void retdec::bin2llvmir::RangesToDecode::addPrimary | ( | const common::AddressRange & | r | ) |
bool retdec::bin2llvmir::RangesToDecode::alternativeEmpty | ( | ) | const |
const common::AddressRange & retdec::bin2llvmir::RangesToDecode::alternativeFront | ( | ) | const |
const common::AddressRange * retdec::bin2llvmir::RangesToDecode::get | ( | common::Address | a | ) | const |
const common::AddressRange * retdec::bin2llvmir::RangesToDecode::getAlternative | ( | common::Address | a | ) | const |
const common::AddressRange * retdec::bin2llvmir::RangesToDecode::getPrimary | ( | common::Address | a | ) | const |
bool retdec::bin2llvmir::RangesToDecode::isStrict | ( | ) | const |
bool retdec::bin2llvmir::RangesToDecode::primaryEmpty | ( | ) | const |
const common::AddressRange & retdec::bin2llvmir::RangesToDecode::primaryFront | ( | ) | const |
void retdec::bin2llvmir::RangesToDecode::promoteAlternativeToPrimary | ( | ) |
void retdec::bin2llvmir::RangesToDecode::remove | ( | common::Address | s, |
common::Address | e | ||
) |
void retdec::bin2llvmir::RangesToDecode::remove | ( | const common::AddressRange & | r | ) |
void retdec::bin2llvmir::RangesToDecode::removeZeroSequences | ( | FileImage * | image | ) |
|
private |
void retdec::bin2llvmir::RangesToDecode::setArchitectureInstructionAlignment | ( | unsigned | a | ) |
|
friend |
|
private |
|
private |
|
private |
|
private |