Module ida_idp
The interface consists of two structures:
definition of target assembler: ::ash
definition of current processor: ::ph
These structures contain information about target processor and assembler features.
It also defines two groups of kernel events:
processor_t::event_t processor related events
idb_event:event_code_t database related events
The processor related events are used to communicate with the processor module. The database related events are used to inform any interested parties, like plugins or processor modules, about the changes in the database.
Global Variables
AS2_BRACE
AS2_BYTE1CHAR
AS2_COLONSUF
AS2_IDEALDSCR
AS2_STRINV
AS2_TERSESTR
AS2_YWORD
AS2_ZWORD
ASB_BINF0
ASB_BINF1
ASB_BINF2
ASB_BINF3
ASB_BINF4
ASB_BINF5
ASD_DECF0
ASD_DECF1
ASD_DECF2
ASD_DECF3
ASH_HEXF0
ASH_HEXF1
ASH_HEXF2
ASH_HEXF3
ASH_HEXF4
ASH_HEXF5
ASO_OCTF0
ASO_OCTF1
ASO_OCTF2
ASO_OCTF3
ASO_OCTF4
ASO_OCTF5
ASO_OCTF6
ASO_OCTF7
AS_1TEXT
AS_2CHRE
AS_ALIGN2
AS_ASCIIC
AS_ASCIIZ
AS_BINFM
AS_COLON
AS_DECFM
AS_HEXFM
AS_LALIGN
AS_N2CHR
AS_NCHRE
AS_NCMAS
AS_NHIAS
AS_NOCODECLN
AS_NOSPACE
AS_NOXRF
AS_OCTFM
AS_OFFST
AS_ONEDUP
AS_RELSUP
AS_UDATA
AS_UNEQU
AS_XTRNTYPE
CF_CALL
CF_CHG1
CF_CHG2
CF_CHG3
CF_CHG4
CF_CHG5
CF_CHG6
CF_CHG7
CF_CHG8
CF_HLL
CF_JUMP
CF_SHFT
CF_STOP
CF_USE1
CF_USE2
CF_USE3
CF_USE4
CF_USE5
CF_USE6
CF_USE7
CF_USE8
CUSTOM_INSN_ITYPE
HKCB_GLOBAL
IDPOPT_BADKEY
IDPOPT_BADTYPE
IDPOPT_BADVALUE
IDPOPT_BIT
IDPOPT_BIT_BOOL
IDPOPT_BIT_UCHAR
IDPOPT_BIT_UINT
IDPOPT_BIT_USHORT
IDPOPT_CST
IDPOPT_CST_PARAMS
IDPOPT_FLT
IDPOPT_I64
IDPOPT_I64_RANGE
IDPOPT_I64_UNS
IDPOPT_JVL
IDPOPT_MBROFF
IDPOPT_NUM
IDPOPT_NUM_CHAR
IDPOPT_NUM_INT
IDPOPT_NUM_RANGE
IDPOPT_NUM_SHORT
IDPOPT_NUM_UNS
IDPOPT_OK
IDPOPT_PRI_DEFAULT
IDPOPT_PRI_HIGH
IDPOPT_STR
IDPOPT_STR_LONG
IDPOPT_STR_QSTRING
IDP_INTERFACE_VERSION
LTC_ADDED
LTC_ALIASED
LTC_COMPILER
LTC_DELETED
LTC_EDITED
LTC_NONE
LTC_TIL_COMPACTED
LTC_TIL_LOADED
LTC_TIL_UNLOADED
NO_ACCESS
OP_FP_BASED
OP_SP_ADD
OP_SP_BASED
OP_SP_SUB
PLFM_386
PLFM_6502
PLFM_65C816
PLFM_6800
PLFM_68K
PLFM_80196
PLFM_8051
PLFM_AD2106X
PLFM_AD218X
PLFM_ALPHA
PLFM_ARC
PLFM_ARM
PLFM_AVR
PLFM_C166
PLFM_C39
PLFM_CR16
PLFM_DALVIK
PLFM_DSP56K
PLFM_DSP96K
PLFM_EBC
PLFM_F2MC
PLFM_FR
PLFM_H8
PLFM_H8500
PLFM_HPPA
PLFM_I860
PLFM_I960
PLFM_IA64
PLFM_JAVA
PLFM_KR1878
PLFM_M16C
PLFM_M32R
PLFM_M740
PLFM_M7700
PLFM_M7900
PLFM_MC6812
PLFM_MC6816
PLFM_MIPS
PLFM_MN102L00
PLFM_MSP430
PLFM_NEC_78K0
PLFM_NEC_78K0S
PLFM_NEC_V850X
PLFM_NET
PLFM_OAKDSP
PLFM_PDP
PLFM_PIC
PLFM_PIC16
PLFM_PPC
PLFM_RISCV
PLFM_RL78
PLFM_RX
PLFM_S390
PLFM_SCR_ADPT
PLFM_SH
PLFM_SPARC
PLFM_SPC700
PLFM_SPU
PLFM_ST20
PLFM_ST7
PLFM_ST9
PLFM_TLCS900
PLFM_TMS
PLFM_TMS320C1X
PLFM_TMS320C28
PLFM_TMS320C3
PLFM_TMS320C54
PLFM_TMS320C55
PLFM_TMSC6
PLFM_TRICORE
PLFM_TRIMEDIA
PLFM_UNSP
PLFM_WASM
PLFM_XTENSA
PLFM_Z8
PLFM_Z80
PR2_CODE16_BIT
PR2_FORCE_16BIT
PR2_IDP_OPTS
PR2_MACRO
PR2_MAPPINGS
PR2_REL_BITS
PR2_USE_CALCREL
PRN_BIN
PRN_DEC
PRN_HEX
PRN_OCT
PR_ADJSEGS
PR_ALIGN
PR_ALIGN_INSN
PR_ASSEMBLE
PR_BINMEM
PR_CHK_XREF
PR_CNDINSNS
PR_DEFNUM
PR_DEFSEG32
PR_DEFSEG64
PR_DELAYED
PR_NOCHANGE
PR_NO_SEGMOVE
PR_OUTER
PR_PURGING
PR_RNAMESOK
PR_SCALE_STKVARS
PR_SEGS
PR_SEGTRANS
PR_SGROTHER
PR_STACK_UP
PR_TYPEINFO
PR_USE32
PR_USE64
PR_USE_ARG_TYPES
PR_USE_TBYTE
PR_WORD_INS
READ_ACCESS
REAL_ERROR_BADDATA
REAL_ERROR_FORMAT
REAL_ERROR_RANGE
REG_SPOIL
RW_ACCESS
SETPROC_IDB
SETPROC_LOADER
SETPROC_LOADER_NON_FATAL
SETPROC_USER
WRITE_ACCESS
adding_segm
allsegs_moved
auto_empty
auto_empty_finally
bookmark_changed
byte_patched
callee_addr_changed
changing_cmt
changing_op_ti
changing_op_type
changing_range_cmt
changing_segm_class
changing_segm_end
changing_segm_name
changing_segm_start
changing_ti
cik_filename
cik_path
cik_string
closebase
cmt_changed
compiler_changed
deleting_func
deleting_func_tail
deleting_segm
deleting_tryblks
destroyed_items
determined_main
dirtree_link
dirtree_mkdir
dirtree_move
dirtree_rank
dirtree_rmdir
dirtree_rminode
dirtree_segm_moved
extlang_changed
extra_cmt_changed
flow_chart_created
frame_created
frame_deleted
frame_expanded
frame_udm_changed
frame_udm_created
frame_udm_deleted
frame_udm_renamed
func_added
func_deleted
func_noret_changed
func_tail_appended
func_tail_deleted
func_updated
idasgn_loaded
item_color_changed
kernel_config_loaded
loader_finished
local_types_changed
lt_udm_changed
lt_udm_created
lt_udm_deleted
lt_udm_renamed
lt_udt_expanded
make_code
make_data
op_ti_changed
op_type_changed
range_cmt_changed
renamed
savebase
segm_added
segm_attrs_updated
segm_class_changed
segm_deleted
segm_end_changed
segm_moved
segm_name_changed
segm_start_changed
set_func_end
set_func_start
sgr_changed
sgr_deleted
stkpnts_changed
tail_owner_changed
thunk_func_created
ti_changed
tryblks_updated
updating_tryblks
upgraded
Functions
AssembleLine(ea: ea_t, cs: ea_t, ip: ea_t, use32: bool, nonnul_line: char const *) ‑> PyObject *
AssembleLine(ea, cs, ip, use32, nonnul_line) -> bytes Assemble an instruction to a string (display a warning if an error is found)
assemble(ea: ea_t, cs: ea_t, ip: ea_t, use32: bool, line: char const *) ‑> bool
assemble(ea, cs, ip, use32, line) -> bool Assemble an instruction into the database (display a warning if an error is found)
cfg_get_cc_header_path(compid: comp_t) ‑> char const *
cfg_get_cc_header_path(compid) -> char const *
cfg_get_cc_parm(compid: comp_t, name: char const *) ‑> char const *
cfg_get_cc_parm(compid, name) -> char const *