BinaryNinja::CoreTransform Class Reference

Public Member Functions

 CoreTransform (BNTransform *xform)
 
virtual std::vector< TransformParameterGetParameters () const override
 
virtual bool Decode (const DataBuffer &input, DataBuffer &output, const std::map< std::string, DataBuffer > &params=std::map< std::string, DataBuffer >()) override
 
virtual bool Encode (const DataBuffer &input, DataBuffer &output, const std::map< std::string, DataBuffer > &params=std::map< std::string, DataBuffer >()) override
 
- Public Member Functions inherited from BinaryNinja::Transform
 Transform (BNTransformType type, const std::string &name, const std::string &longName, const std::string &group)
 
BNTransformType GetType () const
 
std::string GetName () const
 
std::string GetLongName () const
 
std::string GetGroup () const
 
virtual std::vector< TransformParameterGetParameters () const
 
virtual bool Decode (const DataBuffer &input, DataBuffer &output, const std::map< std::string, DataBuffer > &params=std::map< std::string, DataBuffer >())
 
virtual bool Encode (const DataBuffer &input, DataBuffer &output, const std::map< std::string, DataBuffer > &params=std::map< std::string, DataBuffer >())
 
- Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNTransform >
 StaticCoreRefCountObject ()
 
virtual ~StaticCoreRefCountObject ()
 
BNTransform * GetObject () const
 
void AddRef ()
 
void Release ()
 
void AddRefForRegistration ()
 

Additional Inherited Members

- Static Public Member Functions inherited from BinaryNinja::Transform
static void Register (Transform *xform)
 
static Ref< TransformGetByName (const std::string &name)
 
static std::vector< Ref< Transform > > GetTransformTypes ()
 
- Static Public Member Functions inherited from BinaryNinja::StaticCoreRefCountObject< BNTransform >
static BNTransform * GetObject (StaticCoreRefCountObject *obj)
 
- Public Attributes inherited from BinaryNinja::StaticCoreRefCountObject< BNTransform >
std::atomic< int > m_refs
 
BNTransform * m_object
 
- Protected Member Functions inherited from BinaryNinja::Transform
 Transform (BNTransform *xform)
 
- Static Protected Member Functions inherited from BinaryNinja::Transform
static BNTransformParameterInfoGetParametersCallback (void *ctxt, size_t *count)
 
static void FreeParametersCallback (BNTransformParameterInfo *params, size_t count)
 
static bool DecodeCallback (void *ctxt, BNDataBuffer *input, BNDataBuffer *output, BNTransformParameter *params, size_t paramCount)
 
static bool EncodeCallback (void *ctxt, BNDataBuffer *input, BNDataBuffer *output, BNTransformParameter *params, size_t paramCount)
 
static std::vector< TransformParameterEncryptionKeyParameters (size_t fixedKeyLength=0)
 
static std::vector< TransformParameterEncryptionKeyAndIVParameters (size_t fixedKeyLength=0, size_t fixedIVLength=0)
 
- Protected Attributes inherited from BinaryNinja::Transform
BNTransformType m_typeForRegister
 
std::string m_nameForRegister
 
std::string m_longNameForRegister
 
std::string m_groupForRegister
 

Constructor & Destructor Documentation

◆ CoreTransform()

CoreTransform::CoreTransform ( BNTransform *  xform)

Member Function Documentation

◆ Decode()

bool CoreTransform::Decode ( const DataBuffer input,
DataBuffer output,
const std::map< std::string, DataBuffer > &  params = std::map<std::string, DataBuffer>() 
)
overridevirtual

Reimplemented from BinaryNinja::Transform.

◆ Encode()

bool CoreTransform::Encode ( const DataBuffer input,
DataBuffer output,
const std::map< std::string, DataBuffer > &  params = std::map<std::string, DataBuffer>() 
)
overridevirtual

Reimplemented from BinaryNinja::Transform.

◆ GetParameters()

vector< TransformParameter > CoreTransform::GetParameters ( ) const
overridevirtual

Reimplemented from BinaryNinja::Transform.


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