Module ida_kernwin

It contains:

  • the UI dispatcher notification codes (ui_notification_t)

  • convenience functions for UI services

  • structures which hold information about the lines (disassembly, structures, enums) generated by the kernel

  • functions to interact with the user (dialog boxes)

  • some string and conversion functions.

Global Variables

AA_CHECKABLE

AA_CHECKABLE = 6

AA_CHECKED

AA_CHECKED = 7

AA_ICON

AA_ICON = 4

AA_LABEL

AA_LABEL = 1

AA_NONE

AA_NONE = 0

AA_SHORTCUT

AA_SHORTCUT = 2

AA_STATE

AA_STATE = 5

AA_TOOLTIP

AA_TOOLTIP = 3

AA_VISIBILITY

AA_VISIBILITY = 8

ACF_HAS_FIELD_DIRTREE_SELECTION

ACF_HAS_FIELD_DIRTREE_SELECTION = 4

ACF_HAS_SELECTION

ACF_HAS_SELECTION = 1

ACF_HAS_SOURCE

ACF_HAS_SOURCE = 8

ACF_HAS_TYPE_REF

ACF_HAS_TYPE_REF = 16

ACF_XTRN_EA

ACF_XTRN_EA = 2

ADF_CHECKABLE

ADF_CHECKABLE = 64

ADF_CHECKED

ADF_CHECKED = 128

ADF_GLOBAL

ADF_GLOBAL = 16

ADF_NO_HIGHLIGHT

ADF_NO_HIGHLIGHT = 32

ADF_NO_UNDO

ADF_NO_UNDO = 2

ADF_OT_MASK

ADF_OT_MASK = 12

ADF_OT_PLUGIN

ADF_OT_PLUGIN = 0

ADF_OT_PLUGMOD

ADF_OT_PLUGMOD = 4

ADF_OT_PROCMOD

ADF_OT_PROCMOD = 8

ADF_OWN_HANDLER

ADF_OWN_HANDLER = 1

AHF_VERSION

AHF_VERSION = 1

AHF_VERSION_MASK

AHF_VERSION_MASK = 255

ASKBTN_BTN1

ASKBTN_BTN1 = 1

ASKBTN_BTN2

ASKBTN_BTN2 = 0

ASKBTN_BTN3

ASKBTN_BTN3 = -1

ASKBTN_CANCEL

ASKBTN_CANCEL = -1

ASKBTN_NO

ASKBTN_NO = 0

ASKBTN_YES

ASKBTN_YES = 1

AST_DISABLE

AST_DISABLE = 7

AST_DISABLE_ALWAYS

AST_DISABLE_ALWAYS = 4

AST_DISABLE_FOR_IDB

AST_DISABLE_FOR_IDB = 5

AST_DISABLE_FOR_WIDGET

AST_DISABLE_FOR_WIDGET = 6

AST_ENABLE

AST_ENABLE = 3

AST_ENABLE_ALWAYS

AST_ENABLE_ALWAYS = 0

AST_ENABLE_FOR_IDB

AST_ENABLE_FOR_IDB = 1

AST_ENABLE_FOR_WIDGET

AST_ENABLE_FOR_WIDGET = 2

BWN_ADDRWATCH

BWN_ADDRWATCH = 45

BWN_BOOKMARKS

BWN_BOOKMARKS = 57

BWN_BPTS

BWN_BPTS = 13

BWN_CALLS

BWN_CALLS = 11

BWN_CALLS_CALLEES

BWN_CALLS_CALLEES = 48

BWN_CALLS_CALLERS

BWN_CALLS_CALLERS = 47

BWN_CALL_STACK

BWN_CALL_STACK = 17

BWN_CHOOSER

BWN_CHOOSER = 35

BWN_CLI

BWN_CLI = 31

BWN_CMDPALCSR

BWN_CMDPALCSR = 41

BWN_CMDPALWIN

BWN_CMDPALWIN = 42

BWN_CPUREGS

BWN_CPUREGS = 38

BWN_CUSTVIEW

BWN_CUSTVIEW = 44

BWN_CV_LINE_INFOS

BWN_CV_LINE_INFOS = 51

BWN_DISASM

BWN_DISASM = 27

BWN_DISASMS

BWN_DISASMS = 27

BWN_DISASM_ARROWS

BWN_DISASM_ARROWS = 50

BWN_DUMP

BWN_DUMP = 28

BWN_DUMPS

BWN_DUMPS = 28

BWN_EXPORTS

BWN_EXPORTS = 0

BWN_FRAME

BWN_FRAME = 25

BWN_FUNCS

BWN_FUNCS = 3

BWN_IMPORTS

BWN_IMPORTS = 1

BWN_LOCALS

BWN_LOCALS = 33

BWN_LOCTYPS

BWN_LOCTYPS = 10

BWN_MDVIEWCSR

BWN_MDVIEWCSR = 49

BWN_MODULES

BWN_MODULES = 15

BWN_NAMES

BWN_NAMES = 2

BWN_NAVBAND

BWN_NAVBAND = 26

BWN_NOTEPAD

BWN_NOTEPAD = 29

BWN_OUTPUT

BWN_OUTPUT = 30

BWN_PROBS

BWN_PROBS = 12

BWN_PSEUDOCODE

BWN_PSEUDOCODE = 46

BWN_SCRIPTS_CSR

BWN_SCRIPTS_CSR = 56
BWN_SEARCH = 19

BWN_SEARCHS

BWN_SEARCHS = 19

BWN_SEGREGS

BWN_SEGREGS = 6

BWN_SEGS

BWN_SEGS = 5

BWN_SELS

BWN_SELS = 7

BWN_SHORTCUTCSR

BWN_SHORTCUTCSR = 36

BWN_SHORTCUTWIN

BWN_SHORTCUTWIN = 37

BWN_SIGNS

BWN_SIGNS = 8

BWN_SNIPPETS

BWN_SNIPPETS = 43

BWN_SNIPPETS_CSR

BWN_SNIPPETS_CSR = 55

BWN_SO_OFFSETS

BWN_SO_OFFSETS = 40

BWN_SO_STRUCTS

BWN_SO_STRUCTS = 39

BWN_SRCPTHMAP_CSR

BWN_SRCPTHMAP_CSR = 52

BWN_SRCPTHUND_CSR

BWN_SRCPTHUND_CSR = 53

BWN_STACK

BWN_STACK = 17

BWN_STKVIEW

BWN_STKVIEW = 34

BWN_STRINGS

BWN_STRINGS = 4

BWN_THREADS

BWN_THREADS = 14

BWN_TILIST

BWN_TILIST = 58

BWN_TILS

BWN_TILS = 9

BWN_TILVIEW

BWN_TILVIEW = 10

BWN_TRACE

BWN_TRACE = 16

BWN_UNDOHIST

BWN_UNDOHIST = 54

BWN_UNKNOWN

BWN_UNKNOWN = -1

BWN_WATCH

BWN_WATCH = 32

BWN_XREFS

BWN_XREFS = 18

CB_CANCEL

CB_CANCEL = -7

CB_CLOSE

CB_CLOSE = -3

CB_DESTROYING

CB_DESTROYING = -5

CB_INIT

CB_INIT = -1

CB_INVISIBLE

CB_INVISIBLE = -4

CB_NO

CB_NO = -6

CB_YES

CB_YES = -2

CDVF_LINEICONS

CDVF_LINEICONS = 2

CDVF_NOLINES

CDVF_NOLINES = 1

CDVF_STATUSBAR

CDVF_STATUSBAR = 4

CDVH_LINES_ALIGNMENT

CDVH_LINES_ALIGNMENT = 1009

CDVH_LINES_CLICK

CDVH_LINES_CLICK = 1002

CDVH_LINES_DBLCLICK

CDVH_LINES_DBLCLICK = 1003

CDVH_LINES_DRAWICON

CDVH_LINES_DRAWICON = 1005

CDVH_LINES_ICONMARGIN

CDVH_LINES_ICONMARGIN = 1007

CDVH_LINES_LINENUM

CDVH_LINES_LINENUM = 1006

CDVH_LINES_POPUP

CDVH_LINES_POPUP = 1004

CDVH_LINES_RADIX

CDVH_LINES_RADIX = 1008

CDVH_SRCVIEW

CDVH_SRCVIEW = 1001

CDVH_USERDATA

CDVH_USERDATA = 1000

CH2_HAS_INODE2INDEX

CH2_HAS_INODE2INDEX = 2

CH2_LAZY_LOADED

CH2_LAZY_LOADED = 1

CHCOL_DEC

CHCOL_DEC = 196608

CHCOL_DEFHIDDEN

CHCOL_DEFHIDDEN = 1048576

CHCOL_DRAGHINT

CHCOL_DRAGHINT = 2097152

CHCOL_EA

CHCOL_EA = 262144

CHCOL_FNAME

CHCOL_FNAME = 327680

CHCOL_FORMAT

CHCOL_FORMAT = 458752

CHCOL_HEX

CHCOL_HEX = 131072

CHCOL_INODENAME

CHCOL_INODENAME = 4194304

CHCOL_PATH

CHCOL_PATH = 65536

CHCOL_PLAIN

CHCOL_PLAIN = 0

CHITEM_BOLD

CHITEM_BOLD = 1

CHITEM_GRAY

CHITEM_GRAY = 16

CHITEM_ITALIC

CHITEM_ITALIC = 2

CHITEM_STRIKE

CHITEM_STRIKE = 8

CHITEM_UNDER

CHITEM_UNDER = 4

CHOOSER_MENU_EDIT

CHOOSER_MENU_EDIT = 0

CHOOSER_MENU_JUMP

CHOOSER_MENU_JUMP = 1
CHOOSER_MENU_SEARCH = 2

CHOOSER_MULTI_SELECTION

CHOOSER_MULTI_SELECTION = 2

CHOOSER_NOMAINMENU

CHOOSER_NOMAINMENU = 'NOMAINMENU\n'

CHOOSER_NOSTATUSBAR

CHOOSER_NOSTATUSBAR = 'NOSTATUSBAR\n'

CHOOSER_NO_SELECTION

CHOOSER_NO_SELECTION = 1

CHOOSER_POPUP_MENU

CHOOSER_POPUP_MENU = 4

CH_ATTRS

CH_ATTRS = 32

CH_BUILTIN_MASK

CH_BUILTIN_MASK = 33030144

CH_BUILTIN_SHIFT

CH_BUILTIN_SHIFT = 19

CH_CAN_DEL

CH_CAN_DEL = 512

CH_CAN_EDIT

CH_CAN_EDIT = 1024

CH_CAN_INS

CH_CAN_INS = 256

CH_CAN_REFRESH

CH_CAN_REFRESH = 2048

CH_FORCE_DEFAULT

CH_FORCE_DEFAULT = 128

CH_HAS_DIFF

CH_HAS_DIFF = 268435456

CH_HAS_DIRTREE

CH_HAS_DIRTREE = 33554432

CH_KEEP

CH_KEEP = 2

CH_MODAL

CH_MODAL = 1

CH_MULTI

CH_MULTI = 4

CH_MULTI_EDIT

CH_MULTI_EDIT = 8

CH_NOBTNS

CH_NOBTNS = 16

CH_NOIDB

CH_NOIDB = 64

CH_NON_PERSISTED_TREE

CH_NON_PERSISTED_TREE = -2147483648

CH_NO_FILTER

CH_NO_FILTER = 1073741824

CH_NO_SORT

CH_NO_SORT = 536870912

CH_NO_STATUS_BAR

CH_NO_STATUS_BAR = 65536

CH_QFLT

CH_QFLT = 4096

CH_QFTYP_DEFAULT

CH_QFTYP_DEFAULT = 0

CH_QFTYP_FUZZY

CH_QFTYP_FUZZY = 32768

CH_QFTYP_MASK

CH_QFTYP_MASK = 57344

CH_QFTYP_NORMAL

CH_QFTYP_NORMAL = 8192

CH_QFTYP_REGEX

CH_QFTYP_REGEX = 24576

CH_QFTYP_SHIFT

CH_QFTYP_SHIFT = 13

CH_QFTYP_WHOLE_WORDS

CH_QFTYP_WHOLE_WORDS = 16384

CH_RENAME_IS_EDIT

CH_RENAME_IS_EDIT = 262144

CH_RESTORE

CH_RESTORE = 131072

CH_TM_FOLDERS_ONLY

CH_TM_FOLDERS_ONLY = 67108864

CH_TM_FULL_TREE

CH_TM_FULL_TREE = 134217728

CH_TM_MASK

CH_TM_MASK = 201326592

CH_TM_NO_TREE

CH_TM_NO_TREE = 0

CH_TM_SHIFT

CH_TM_SHIFT = 26

CH_UNUSED

CH_UNUSED = 64

CK_EXTRA1

CK_EXTRA1 = 82

CK_EXTRA10

CK_EXTRA10 = 91

CK_EXTRA11

CK_EXTRA11 = 92

CK_EXTRA12

CK_EXTRA12 = 93

CK_EXTRA13

CK_EXTRA13 = 94

CK_EXTRA14

CK_EXTRA14 = 95

CK_EXTRA15

CK_EXTRA15 = 96

CK_EXTRA16

CK_EXTRA16 = 97

CK_EXTRA2

CK_EXTRA2 = 83

CK_EXTRA3

CK_EXTRA3 = 84

CK_EXTRA4

CK_EXTRA4 = 85

CK_EXTRA5

CK_EXTRA5 = 86

CK_EXTRA6

CK_EXTRA6 = 87

CK_EXTRA7

CK_EXTRA7 = 88

CK_EXTRA8

CK_EXTRA8 = 89

CK_EXTRA9

CK_EXTRA9 = 90

CK_TRACE

CK_TRACE = 80

CK_TRACE_OVL

CK_TRACE_OVL = 81

CLNL_FINDCMT

CLNL_FINDCMT = 4

CLNL_LTRIM

CLNL_LTRIM = 2

CLNL_RTRIM

CLNL_RTRIM = 1

CLNL_TRIM

CLNL_TRIM = 3

CREATETB_ADV

CREATETB_ADV = 1

CVH_CLICK

CVH_CLICK = 6

CVH_CLOSE

CVH_CLOSE = 5

CVH_CURPOS

CVH_CURPOS = 4

CVH_DBLCLICK

CVH_DBLCLICK = 3

CVH_HELP

CVH_HELP = 8

CVH_KEYDOWN

CVH_KEYDOWN = 1

CVH_MOUSEMOVE

CVH_MOUSEMOVE = 9

CVH_POPUP

CVH_POPUP = 2

CVH_QT_AWARE

CVH_QT_AWARE = 7

CVH_USERDATA

CVH_USERDATA = 0

CVLF_USE_MOUSE

CVLF_USE_MOUSE = 1

CVNF_ACT

CVNF_ACT = 4

CVNF_JUMP

CVNF_JUMP = 2

CVNF_LAZY

CVNF_LAZY = 1

DEFAULT_PLACE_LNNUM

DEFAULT_PLACE_LNNUM = -1

DP_BEFORE

DP_BEFORE = 32

DP_BOTTOM

DP_BOTTOM = 8

DP_FLOATING

DP_FLOATING = 128

DP_INSIDE

DP_INSIDE = 16

DP_LEFT

DP_LEFT = 1

DP_RIGHT

DP_RIGHT = 4

DP_SZHINT

DP_SZHINT = 256

DP_TAB

DP_TAB = 64

DP_TOP

DP_TOP = 2

GCRF_ALL

GCRF_ALL = 9223372036854775811

GCRF_CURRENT

GCRF_CURRENT = 9223372036854775810

GCRF_HEADER

GCRF_HEADER = 9223372036854775808

GCRF_HIGH_BIT

GCRF_HIGH_BIT = 9223372036854775808

GCRF_SELECTION

GCRF_SELECTION = 9223372036854775809

HIF_IDENTIFIER

HIF_IDENTIFIER = 1

HIF_LOCKED

HIF_LOCKED = 4

HIF_NOCASE

HIF_NOCASE = 8

HIF_REGISTER

HIF_REGISTER = 2

HIF_SLOT_0

HIF_SLOT_0 = 134217728

HIF_SLOT_1

HIF_SLOT_1 = 402653184

HIF_SLOT_2

HIF_SLOT_2 = 671088640

HIF_SLOT_3

HIF_SLOT_3 = 939524096

HIF_SLOT_4

HIF_SLOT_4 = 1207959552

HIF_SLOT_5

HIF_SLOT_5 = 1476395008

HIF_SLOT_6

HIF_SLOT_6 = 1744830464

HIF_SLOT_7

HIF_SLOT_7 = 2013265920

HIF_SLOT_SHIFT

HIF_SLOT_SHIFT = 28

HIF_USE_SLOT

HIF_USE_SLOT = 134217728

HIST_CMD

HIST_CMD = 7

HIST_CMT

HIST_CMT = 2

HIST_DIR

HIST_DIR = 8

HIST_FILE

HIST_FILE = 5

HIST_IDENT

HIST_IDENT = 4

HIST_IDENT2

HIST_IDENT2 = 9

HIST_SEG

HIST_SEG = 1

HIST_SRCH

HIST_SRCH = 3

HIST_TYPE

HIST_TYPE = 6

IDALIB_API_MAGIC

IDALIB_API_MAGIC = 8339911660797952

IDA_DEBUG_ACCESSIBILITY

IDA_DEBUG_ACCESSIBILITY = 524288

IDA_DEBUG_ALREADY

IDA_DEBUG_ALREADY = 8192

IDA_DEBUG_ALWAYS

IDA_DEBUG_ALWAYS = -1

IDA_DEBUG_APPCALL

IDA_DEBUG_APPCALL = 131072

IDA_DEBUG_CHECKMEM

IDA_DEBUG_CHECKMEM = 256

IDA_DEBUG_CONFIG

IDA_DEBUG_CONFIG = 128

IDA_DEBUG_DBGINFO

IDA_DEBUG_DBGINFO = 4194304

IDA_DEBUG_DEBUGGER

IDA_DEBUG_DEBUGGER = 65536

IDA_DEBUG_DEMANGLE

IDA_DEBUG_DEMANGLE = 1024

IDA_DEBUG_DREFS

IDA_DEBUG_DREFS = 1

IDA_DEBUG_FLIRT

IDA_DEBUG_FLIRT = 4

IDA_DEBUG_IDP

IDA_DEBUG_IDP = 8

IDA_DEBUG_IDS

IDA_DEBUG_IDS = 64

IDA_DEBUG_INTERNET

IDA_DEBUG_INTERNET = 1048576

IDA_DEBUG_LDR

IDA_DEBUG_LDR = 16

IDA_DEBUG_LICENSE

IDA_DEBUG_LICENSE = 512

IDA_DEBUG_LUMINA

IDA_DEBUG_LUMINA = 8388608

IDA_DEBUG_NETWORK

IDA_DEBUG_NETWORK = 1048576

IDA_DEBUG_NOTIFY

IDA_DEBUG_NOTIFY = 32768

IDA_DEBUG_OFFSET

IDA_DEBUG_OFFSET = 2

IDA_DEBUG_PLUGIN

IDA_DEBUG_PLUGIN = 32

IDA_DEBUG_QUEUE

IDA_DEBUG_QUEUE = 2048

IDA_DEBUG_RANGECB

IDA_DEBUG_RANGECB = 134217728

IDA_DEBUG_REGEX

IDA_DEBUG_REGEX = 33554432

IDA_DEBUG_ROLLBACK

IDA_DEBUG_ROLLBACK = 4096

IDA_DEBUG_SIMPLEX

IDA_DEBUG_SIMPLEX = 2097152

IDA_DEBUG_SRCDBG