Confidence

Detailed Description

Classes

class  BinaryNinja::ConfidenceBase
 
class  BinaryNinja::Confidence< T >
 
class  BinaryNinja::Confidence< Ref< T > >
 

Class Documentation

◆ BinaryNinja::ConfidenceBase

class BinaryNinja::ConfidenceBase

Public Member Functions

 ConfidenceBase ()
 
 ConfidenceBase (uint8_t conf)
 
uint8_t GetConfidence () const
 
uint8_t GetCombinedConfidence (uint8_t base) const
 
void SetConfidence (uint8_t conf)
 
bool IsUnknown () const
 

Static Public Member Functions

static uint8_t Combine (uint8_t a, uint8_t b)
 

Protected Attributes

uint8_t m_confidence
 

Constructor & Destructor Documentation

◆ ConfidenceBase() [1/2]

BinaryNinja::ConfidenceBase::ConfidenceBase ( )
inline

◆ ConfidenceBase() [2/2]

BinaryNinja::ConfidenceBase::ConfidenceBase ( uint8_t  conf)
inline

Member Function Documentation

◆ Combine()

static uint8_t BinaryNinja::ConfidenceBase::Combine ( uint8_t  a,
uint8_t  b 
)
inlinestatic

◆ GetConfidence()

uint8_t BinaryNinja::ConfidenceBase::GetConfidence ( ) const
inline

◆ GetCombinedConfidence()

uint8_t BinaryNinja::ConfidenceBase::GetCombinedConfidence ( uint8_t  base) const
inline

◆ SetConfidence()

void BinaryNinja::ConfidenceBase::SetConfidence ( uint8_t  conf)
inline

◆ IsUnknown()

bool BinaryNinja::ConfidenceBase::IsUnknown ( ) const
inline

Member Data Documentation

◆ m_confidence

uint8_t BinaryNinja::ConfidenceBase::m_confidence
protected

◆ BinaryNinja::Confidence

class BinaryNinja::Confidence
template<class T>
class BinaryNinja::Confidence< T >

Public Member Functions

 Confidence ()
 
 Confidence (const T &value)
 
 Confidence (const T &value, uint8_t conf)
 
 Confidence (const Confidence< T > &v)
 
 operator T () const
 
T * operator-> ()
 
const T * operator-> () const
 
GetValue () const
 
void SetValue (const T &value)
 
Confidence< T > & operator= (const Confidence< T > &v)
 
Confidence< T > & operator= (const T &value)
 
bool operator< (const Confidence< T > &a) const
 
bool operator== (const Confidence< T > &a) const
 
bool operator!= (const Confidence< T > &a) const
 
- Public Member Functions inherited from BinaryNinja::ConfidenceBase
 ConfidenceBase ()
 
 ConfidenceBase (uint8_t conf)
 
uint8_t GetConfidence () const
 
uint8_t GetCombinedConfidence (uint8_t base) const
 
void SetConfidence (uint8_t conf)
 
bool IsUnknown () const
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::ConfidenceBase
static uint8_t Combine (uint8_t a, uint8_t b)
 
- Protected Attributes inherited from BinaryNinja::ConfidenceBase
uint8_t m_confidence
 

Constructor & Destructor Documentation

◆ Confidence() [1/4]

template<class T >
BinaryNinja::Confidence< T >::Confidence ( )
inline

◆ Confidence() [2/4]

template<class T >
BinaryNinja::Confidence< T >::Confidence ( const T &  value)
inline

◆ Confidence() [3/4]

template<class T >
BinaryNinja::Confidence< T >::Confidence ( const T &  value,
uint8_t  conf 
)
inline

◆ Confidence() [4/4]

template<class T >
BinaryNinja::Confidence< T >::Confidence ( const Confidence< T > &  v)
inline

Member Function Documentation

◆ operator T()

template<class T >
BinaryNinja::Confidence< T >::operator T ( ) const
inline

◆ operator->() [1/2]

template<class T >
T * BinaryNinja::Confidence< T >::operator-> ( )
inline

◆ operator->() [2/2]

template<class T >
const T * BinaryNinja::Confidence< T >::operator-> ( ) const
inline

◆ GetValue()

template<class T >
T BinaryNinja::Confidence< T >::GetValue ( ) const
inline

◆ SetValue()

template<class T >
void BinaryNinja::Confidence< T >::SetValue ( const T &  value)
inline

◆ operator=() [1/2]

template<class T >
Confidence< T > & BinaryNinja::Confidence< T >::operator= ( const Confidence< T > &  v)
inline

◆ operator=() [2/2]

template<class T >
Confidence< T > & BinaryNinja::Confidence< T >::operator= ( const T &  value)
inline

◆ operator<()

template<class T >
bool BinaryNinja::Confidence< T >::operator< ( const Confidence< T > &  a) const
inline

◆ operator==()

template<class T >
bool BinaryNinja::Confidence< T >::operator== ( const Confidence< T > &  a) const
inline

◆ operator!=()

template<class T >
bool BinaryNinja::Confidence< T >::operator!= ( const Confidence< T > &  a) const
inline

◆ BinaryNinja::Confidence< Ref< T > >

class BinaryNinja::Confidence< Ref< T > >
template<class T>
class BinaryNinja::Confidence< Ref< T > >

Public Member Functions

 Confidence ()
 
 Confidence (T *value)
 
 Confidence (T *value, uint8_t conf)
 
 Confidence (const Ref< T > &value)
 
 Confidence (const Ref< T > &value, uint8_t conf)
 
 Confidence (const Confidence< Ref< T > > &v)
 
 operator Ref< T > () const
 
 operator T* () const
 
T * operator-> () const
 
bool operator! () const
 
const Ref< T > & GetValue () const
 
void SetValue (T *value)
 
void SetValue (const Ref< T > &value)
 
Confidence< Ref< T > > & operator= (const Confidence< Ref< T > > &v)
 
Confidence< Ref< T > > & operator= (T *value)
 
Confidence< Ref< T > > & operator= (const Ref< T > &value)
 
bool operator< (const Confidence< Ref< T > > &a) const
 
bool operator== (const Confidence< Ref< T > > &a) const
 
bool operator!= (const Confidence< Ref< T > > &a) const
 
- Public Member Functions inherited from BinaryNinja::ConfidenceBase
 ConfidenceBase ()
 
 ConfidenceBase (uint8_t conf)
 
uint8_t GetConfidence () const
 
uint8_t GetCombinedConfidence (uint8_t base) const
 
void SetConfidence (uint8_t conf)
 
bool IsUnknown () const
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::ConfidenceBase
static uint8_t Combine (uint8_t a, uint8_t b)
 
- Protected Attributes inherited from BinaryNinja::ConfidenceBase
uint8_t m_confidence
 

Constructor & Destructor Documentation

◆ Confidence() [1/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( )
inline

◆ Confidence() [2/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( T *  value)
inline

◆ Confidence() [3/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( T *  value,
uint8_t  conf 
)
inline

◆ Confidence() [4/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( const Ref< T > &  value)
inline

◆ Confidence() [5/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( const Ref< T > &  value,
uint8_t  conf 
)
inline

◆ Confidence() [6/6]

template<class T >
BinaryNinja::Confidence< Ref< T > >::Confidence ( const Confidence< Ref< T > > &  v)
inline

Member Function Documentation

◆ operator Ref< T >()

template<class T >
BinaryNinja::Confidence< Ref< T > >::operator Ref< T > ( ) const
inline

◆ operator T*()

template<class T >
BinaryNinja::Confidence< Ref< T > >::operator T* ( ) const
inline

◆ operator->()

template<class T >
T * BinaryNinja::Confidence< Ref< T > >::operator-> ( ) const
inline

◆ operator!()

template<class T >
bool BinaryNinja::Confidence< Ref< T > >::operator! ( ) const
inline

◆ GetValue()

template<class T >
const Ref< T > & BinaryNinja::Confidence< Ref< T > >::GetValue ( ) const
inline

◆ SetValue() [1/2]

template<class T >
void BinaryNinja::Confidence< Ref< T > >::SetValue ( T *  value)
inline

◆ SetValue() [2/2]

template<class T >
void BinaryNinja::Confidence< Ref< T > >::SetValue ( const Ref< T > &  value)
inline

◆ operator=() [1/3]

template<class T >
Confidence< Ref< T > > & BinaryNinja::Confidence< Ref< T > >::operator= ( const Confidence< Ref< T > > &  v)
inline

◆ operator=() [2/3]

template<class T >
Confidence< Ref< T > > & BinaryNinja::Confidence< Ref< T > >::operator= ( T *  value)
inline

◆ operator=() [3/3]

template<class T >
Confidence< Ref< T > > & BinaryNinja::Confidence< Ref< T > >::operator= ( const Ref< T > &  value)
inline

◆ operator<()

template<class T >
bool BinaryNinja::Confidence< Ref< T > >::operator< ( const Confidence< Ref< T > > &  a) const
inline

◆ operator==()

template<class T >
bool BinaryNinja::Confidence< Ref< T > >::operator== ( const Confidence< Ref< T > > &  a) const
inline

◆ operator!=()

template<class T >
bool BinaryNinja::Confidence< Ref< T > >::operator!= ( const Confidence< Ref< T > > &  a) const
inline