Public Member Functions | |
LineFormatter (const std::string &name) | |
LineFormatter (BNLineFormatter *formatter) | |
virtual std::vector< DisassemblyTextLine > | FormatLines (const std::vector< DisassemblyTextLine > &lines, const LineFormatterSettings &settings)=0 |
Reformats the given list of lines. | |
![]() | |
StaticCoreRefCountObject () | |
virtual | ~StaticCoreRefCountObject () |
BNLineFormatter * | GetObject () const |
void | AddRef () |
void | Release () |
void | AddRefForRegistration () |
void | AddRefForCallback () |
void | ReleaseForCallback () |
Static Public Member Functions | |
static void | Register (LineFormatter *formatter) |
Registers the line formatter. | |
static std::vector< Ref< LineFormatter > > | GetList () |
static Ref< LineFormatter > | GetByName (const std::string &name) |
static Ref< LineFormatter > | GetDefault () |
![]() | |
static BNLineFormatter * | GetObject (StaticCoreRefCountObject *obj) |
Additional Inherited Members | |
![]() | |
std::atomic< int > | m_refs |
BNLineFormatter * | m_object |
BinaryNinja::LineFormatter::LineFormatter | ( | const std::string & | name | ) |
LineFormatter::LineFormatter | ( | BNLineFormatter * | formatter | ) |
|
static |
Registers the line formatter.
formatter | The line formatter to register. |
|
static |
|
static |
|
static |
|
pure virtual |
Reformats the given list of lines.
Returns a new list of lines containing the reformatted code.
lines | The lines to reformat. |
settings | The settings for reformatting. |
Implemented in BinaryNinja::CoreLineFormatter.