IDA C++ SDK 9.2
Loading...
Searching...
No Matches
user_defined_prefix_t Struct Referenceabstract

Class to generate user-defined prefixes in the disassembly listing. More...

#include <lines.hpp>

Public Member Functions

 user_defined_prefix_t (size_t prefix_len, const void *owner)
 Creating a user-defined prefix object installs it.
virtual idaapi ~user_defined_prefix_t ()
 Destroying a user-defined prefix object uninstalls it.
virtual void idaapi get_user_defined_prefix (qstring *vout, ea_t ea, const class insn_t &insn, int lnnum, int indent, const char *line)=0
 This callback must be overridden by the derived class.

Detailed Description

Class to generate user-defined prefixes in the disassembly listing.

Constructor & Destructor Documentation

◆ user_defined_prefix_t()

user_defined_prefix_t::user_defined_prefix_t ( size_t prefix_len,
const void * owner )
inline

Creating a user-defined prefix object installs it.

◆ ~user_defined_prefix_t()

virtual idaapi user_defined_prefix_t::~user_defined_prefix_t ( )
inlinevirtual

Destroying a user-defined prefix object uninstalls it.

Member Function Documentation

◆ get_user_defined_prefix()

virtual void idaapi user_defined_prefix_t::get_user_defined_prefix ( qstring * vout,
ea_t ea,
const class insn_t & insn,
int lnnum,
int indent,
const char * line )
pure virtual

This callback must be overridden by the derived class.

Parameters
voutthe output buffer
eathe current address
insnthe current instruction. if the current item is not an instruction, then insn.itype is zero.
lnnumnumber of the current line (each address may have several listing lines for it). 0 means the very first line for the current address.
indentsee explanations for gen_printf()
linethe line to be generated. the line usually contains color tags. this argument can be examined to decide whether to generate the prefix.

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