|
"void" | _kludge_force_declare_dirspec_t ("dirspec_t const *" arg1) |
| _kludge_force_declare_dirspec_t(arg1)
|
|
"void" | _kludge_force_declare_dirtree_t ("dirtree_t const *" arg1) |
| _kludge_force_declare_dirtree_t(arg1)
|
|
"void" | refresh_choosers () |
| refresh_choosers()
|
|
"PyObject *" | textctrl_info_t_create () |
| textctrl_info_t_create() -> PyObject *
|
|
"bool" | textctrl_info_t_destroy ("PyObject *" py_obj) |
| textctrl_info_t_destroy(py_obj) -> bool
|
|
"textctrl_info_t *" | textctrl_info_t_get_clink ("PyObject *" _self) |
| textctrl_info_t_get_clink(_self) -> textctrl_info_t *
|
|
"PyObject *" | textctrl_info_t_get_clink_ptr ("PyObject *" _self) |
| textctrl_info_t_get_clink_ptr(_self) -> PyObject *
|
|
"PyObject *" | register_timer ("int" interval, "PyObject *" py_callback) |
| Register a timer.
|
|
"bool" | unregister_timer ("PyObject *" py_timerctx) |
| Unregister a timer.
|
|
"PyObject *" | choose_idasgn () |
| Opens the signature chooser.
|
|
"PyObject *" | get_highlight ("TWidget *" v, "uint32" in_flags=0) |
| Returns the currently highlighted identifier and flags.
|
|
"int" | py_load_custom_icon_fn ("char const *" filename) |
| py_load_custom_icon_fn(filename) -> int
|
|
"int" | py_load_custom_icon_data ("PyObject *" data, "char const *" format) |
| py_load_custom_icon_data(data, format) -> int
|
|
"PyObject *" | msg ("PyObject *" message) |
| Display an UTF-8 string in the message window.
|
|
"PyObject *" | ask_text ("size_t" max_size, "char const *" defval, "char const *" prompt) |
| Asks for a long text.
|
|
"PyObject *" | ask_str ("qstring *" defval, "int" hist, "char const *" prompt) |
| Asks for a long text.
|
|
"bool" | process_ui_action ("char const *" name, "int" flags=0) |
| Invokes an IDA UI action by name.
|
|
"bool" | del_hotkey ("PyObject *" pyctx) |
| Deletes a previously registered function hotkey.
|
|
"PyObject *" | add_hotkey ("char const *" hotkey, "PyObject *" pyfunc) |
| Associates a function call with a hotkey.
|
|
"PyObject *" | take_database_snapshot ("snapshot_t *" ss) |
| take_database_snapshot(ss) -> (bool, NoneType) Take a database snapshot (ui_take_database_snapshot).
|
|
"PyObject *" | restore_database_snapshot ("snapshot_t const *" ss, "PyObject *" pyfunc_or_none, "PyObject *" pytuple_or_none) |
| restore_database_snapshot(ss, pyfunc_or_none, pytuple_or_none) -> bool Restore a database snapshot.
|
|
"ssize_t" | execute_sync ("PyObject *" py_callable, "int" reqf) |
| Executes a function in the context of the main thread.
|
|
"bool" | execute_ui_requests ("PyObject *" py_list) |
| Inserts a list of callables into the UI message processing queue.
|
|
"bool" | register_action ("action_desc_t" desc) |
| register_action(desc) -> bool Create a new action (ui_register_action).
|
|
"PyObject *" | get_registered_actions () |
| get_registered_actions() -> [str, ...] Get a list of all currently-registered actions
|
|
"bool" | attach_dynamic_action_to_popup ("TWidget *" unused, "TPopupMenu *" popup_handle, "action_desc_t" desc, "char const *" popuppath=None, "int" flags=0) |
|
"PyObject *" | py_chooser_base_t_get_row ("chooser_base_t" chobj, "size_t" n) |
| py_chooser_base_t_get_row(chobj, n) -> PyObject *
|
|
"void" | gen_disasm_text ("disasm_text_t" text, "ea_t" ea1, "ea_t" ea2, "bool" truncate_lines) |
| gen_disasm_text(text, ea1, ea2, truncate_lines) Generate disassembly text for a range.
|
|
"PyObject *" | set_nav_colorizer ("PyObject *" new_py_colorizer) |
| Set a new colorizer for the navigation band.
|
|
"uint32" | call_nav_colorizer ("PyObject *" dict, "ea_t" ea, "asize_t" nbytes) |
| To be used with the IDA-provided colorizer, that is returned as result of the first call to set_nav_colorizer().
|
|
"PyObject *" | msg_get_lines ("int" count=-1) |
| msg_get_lines(count=-1) -> PyObject Retrieve the last 'count' lines from the output window, in reverse order (from most recent, to least recent)
|
|
"TWidget *" | TWidget__from_ptrval__ ("size_t" ptrval) |
| TWidget__from_ptrval__(ptrval) -> TWidget *.
|
|
"PyObject *" | add_spaces ("char const *" s, "size_t" len) |
| add_spaces(s, len) -> str Add space characters to the colored string so that its length will be at least 'len' characters.
|
|
"void" | show_wait_box ("char const *" message) |
| show_wait_box(message) Display a dialog box with "Please wait...".
|
|
"void" | hide_wait_box () |
| hide_wait_box() Hide the "Please wait dialog box".
|
|
"size_t" | get_kernel_version () |
| get_kernel_version() -> str Get IDA kernel version (in a string like "5.1").
|
|
"bool" | is_ida_library ("char *" path, "size_t" pathsize, "void **" handle) |
| is_ida_library(path, pathsize, handle) -> bool
|
|
"int" | l_compare2 ("place_t" t1, "place_t" t2, "void *" ud) |
| l_compare2(t1, t2, ud) -> int
|
|
"bool" | is_tif_cursor_header ("tif_cursor_t" c) |
| is_tif_cursor_header(c) -> bool
|
|
"bool" | is_tif_cursor_footer ("tif_cursor_t" c) |
| is_tif_cursor_footer(c) -> bool
|
|
"bool" | is_tif_cursor_index ("tif_cursor_t" c) |
| is_tif_cursor_index(c) -> bool
|
|
"int" | internal_register_place_class ("place_t" tmplate, "int" flags, "plugin_t const *" owner, "int" sdk_version) |
| internal_register_place_class(tmplate, flags, owner, sdk_version) -> int
|
|
"place_t const *" | get_place_class ("int *" out_flags, "int *" out_sdk_version, "int" id) |
| get_place_class(out_flags, out_sdk_version, id) -> place_t Get information about a previously-registered place_t class.
|
|
"place_t const *" | get_place_class_template ("int" id) |
| get_place_class_template(id) -> place_t See get_place_class()
|
|
"bool" | is_place_class_ea_capable ("int" id) |
| is_place_class_ea_capable(id) -> bool See get_place_class()
|
|
"int" | get_place_class_id ("char const *" name) |
| get_place_class_id(name) -> int Get the place class ID for the place that has been registered as 'name'.
|
|
"void" | request_refresh ("uint64" mask, "bool" cnd=True) |
| request_refresh(mask, cnd=True) Request a refresh of a builtin window.
|
|
"void" | clear_refresh_request ("uint64" mask) |
| clear_refresh_request(mask)
|
|
"bool" | is_refresh_requested ("uint64" mask) |
| is_refresh_requested(mask) -> bool Get a refresh request state
|
|
"bool" | is_chooser_widget ("twidget_type_t" t) |
| is_chooser_widget(t) -> bool Does the given widget type specify a chooser widget?
|
|
"bool" | is_action_enabled ("action_state_t" s) |
| is_action_enabled(s) -> bool Check if the given action state is one of AST_ENABLE*.
|
|
"bool" | cancel_exec_request ("int" req_id) |
| cancel_exec_request(req_id) -> bool Try to cancel an asynchronous exec request (::ui_cancel_exec_request).
|
|
"int" | cancel_thread_exec_requests ("__qthread_t" tid) |
| cancel_thread_exec_requests(tid) -> int Try to cancel asynchronous exec requests created by the specified thread.
|
|
"execute_sync_availability_t" | set_execute_sync_availability ("__qthread_t" tid, "execute_sync_availability_t" availability) |
| set_execute_sync_availability(tid, availability) -> execute_sync_availability_t Set the availability of the execute_sync functionality for the given thread
|
|
"synced_group_t const *" | get_synced_group ("TWidget const *" w) |
| get_synced_group(w) -> synced_group_t Get the group of widgets/registers this view is synchronized with
|
|
"bool" | banner ("int" wait) |
| banner(wait) -> bool Show a banner dialog box (ui_banner).
|
|
"bool" | is_msg_inited () |
| is_msg_inited() -> bool Can we use msg() functions?
|
|
"void" | refresh_idaview () |
| refresh_idaview() Refresh marked windows (ui_refreshmarked)
|
|
"void" | refresh_idaview_anyway () |
| refresh_idaview_anyway() Refresh all disassembly views (ui_refresh), forces an immediate refresh.
|
|
"void" | analyzer_options () |
| analyzer_options() Allow the user to set analyzer options.
|
|
"ea_t" | get_screen_ea () |
| get_screen_ea() -> ea_t Get the address at the screen cursor (ui_screenea)
|
|
"int" | get_opnum () |
| get_opnum() -> int Get current operand number, -1 means no operand (ui_get_opnum)
|
|
"int *, int *" | get_cursor () |
| get_cursor() -> bool Get the cursor position on the screen (ui_get_cursor).
|
|
"int *, int *" | get_output_cursor () |
| get_output_cursor() -> bool Get coordinates of the output window's cursor (ui_get_output_cursor).
|
|
"char const *" | get_curline () |
| get_curline() -> char const * Get current line from the disassemble window (ui_get_curline).
|
|
"void" | open_url ("char const *" url) |
| open_url(url) Open the given url (ui_open_url)
|
|
"ea_t" | get_hexdump_ea ("int" hexdump_num) |
| get_hexdump_ea(hexdump_num) -> ea_t Get the current address in a hex view.
|
|
"ushort" | get_key_code ("char const *" keyname) |
| get_key_code(keyname) -> ushort Get keyboard key code by its name (ui_get_key_code)
|
|
"ushort" | lookup_key_code ("int" key, "int" shift, "bool" is_qt) |
| lookup_key_code(key, shift, is_qt) -> ushort Get shortcut code previously created by ui_get_key_code.
|
|
"void" | refresh_navband ("bool" force) |
| refresh_navband(force) Refresh navigation band if changed (ui_refresh_navband).
|
|
"bool" | refresh_chooser ("char const *" title) |
| refresh_chooser(title) -> bool Mark a non-modal custom chooser for a refresh (ui_refresh_chooser).
|
|
"bool" | close_chooser ("char const *" title) |
| close_chooser(title) -> bool Close a non-modal chooser (ui_close_chooser).
|
|
"bool" | set_dock_pos ("char const *" src_ctrl, "char const *" dest_ctrl, "int" orient, "int" left=0, "int" top=0, "int" right=0, "int" bottom=0) |
| Sets the dock orientation of a window relatively to another window.
|
|
"int" | get_icon_id_by_name ("char const *" icon_name) |
| get_icon_id_by_name(icon_name) -> int Retrieve the id of the icon by name (ui_get_icon_id_by_name).
|
|
"void" | free_custom_icon ("int" icon_id) |
| Frees an icon loaded with load_custom_icon()
|
|
"bool" | unregister_action ("char const *" name) |
| unregister_action(name) -> bool Delete a previously-registered action (ui_unregister_action).
|
|
"bool" | create_toolbar ("char const *" name, "char const *" label, "char const *" before=None, "int" flags=0) |
| create_toolbar(name, label, before=None, flags=0) -> bool Create a toolbar with the given name, label and optional position
|
|
"bool" | delete_toolbar ("char const *" name) |
| delete_toolbar(name) -> bool Delete an existing toolbar
|
|
"bool" | create_menu ("char const *" name, "char const *" label, "char const *" menupath=None) |
| create_menu(name, label, menupath=None) -> bool Create a menu with the given name, label and optional position, either in the menubar, or as a submenu.
|
|
"bool" | delete_menu ("char const *" name) |
| delete_menu(name) -> bool Delete an existing menu
|
|
"bool" | attach_action_to_menu ("char const *" menupath, "char const *" name, "int" flags=0) |
| attach_action_to_menu(menupath, name, flags=0) -> bool Attach a previously-registered action to the menu (ui_attach_action_to_menu).
|
|
"bool" | detach_action_from_menu ("char const *" menupath, "char const *" name) |
| detach_action_from_menu(menupath, name) -> bool Detach an action from the menu (ui_detach_action_from_menu).
|
|
"bool" | attach_action_to_toolbar ("char const *" toolbar_name, "char const *" name) |
| attach_action_to_toolbar(toolbar_name, name) -> bool Attach an action to an existing toolbar (ui_attach_action_to_toolbar).
|
|
"bool" | detach_action_from_toolbar ("char const *" toolbar_name, "char const *" name) |
| detach_action_from_toolbar(toolbar_name, name) -> bool Detach an action from the toolbar (ui_detach_action_from_toolbar).
|
|
"bool" | register_and_attach_to_menu ("char const *" menupath, "char const *" name, "char const *" label, "char const *" shortcut, "int" flags, "action_handler_t *" handler, "void *" owner, "int" action_desc_t_flags) |
| register_and_attach_to_menu(menupath, name, label, shortcut, flags, handler, owner, action_desc_t_flags) -> bool Helper.
|
|
"void" | display_widget ("TWidget *" widget, "uint32" options, "char const *" dest_ctrl=None) |
| display_widget(widget, options, dest_ctrl=None) Display a widget, dock it if not done before
|
|
"void" | close_widget ("TWidget *" widget, "int" options) |
| close_widget(widget, options) Close widget (ui_close_widget, only gui version).
|
|
"void" | activate_widget ("TWidget *" widget, "bool" take_focus) |
| activate_widget(widget, take_focus) Activate widget (only gui version) (ui_activate_widget).
|
|
"TWidget *" | find_widget ("char const *" caption) |
| find_widget(caption) -> TWidget * Find widget with the specified caption (only gui version) (ui_find_widget).
|
|
"TWidget *" | get_current_widget () |
| get_current_widget() -> TWidget * Get a pointer to the current widget (ui_get_current_widget).
|
|
"twidget_type_t" | get_widget_type ("TWidget *" widget) |
| get_widget_type(widget) -> twidget_type_t Get the type of the TWidget * (ui_get_widget_type).
|
|
"qstring *" | get_widget_title ("TWidget *" widget) |
| get_widget_title(widget) -> str Get the TWidget's title (ui_get_widget_title).
|
|
"bool" | custom_viewer_jump ("TWidget *" v, "lochist_entry_t const &" loc, "uint32" flags=0) |
| custom_viewer_jump(v, loc, flags=0) -> bool Append 'loc' to the viewer's history, and cause the viewer to display it.
|
|
"bool" | ea_viewer_history_push_and_jump ("TWidget *" v, "ea_t" ea, "int" x, "int" y, "int" lnnum) |
| ea_viewer_history_push_and_jump(v, ea, x, y, lnnum) -> bool Push current location in the history and jump to the given location (ui_ea_viewer_history_push_and_jump).
|
|
"bool" | get_ea_viewer_history_info ("int *" nback, "int *" nfwd, "TWidget *" v) |
| get_ea_viewer_history_info(nback, nfwd, v) -> bool Get information about what's in the history (ui_ea_viewer_history_info).
|
|
"void" | refresh_custom_viewer ("TWidget *" custom_viewer) |
| refresh_custom_viewer(custom_viewer) Refresh custom ida viewer (ui_refresh_custom_viewer)
|
|
"void" | repaint_custom_viewer ("TWidget *" custom_viewer) |
| repaint_custom_viewer(custom_viewer) Repaint the given widget immediately (ui_repaint_qwidget)
|
|
"bool" | jumpto (*args) |
| jumpto(ea, opnum=-1, uijmp_flags=0x0001) -> bool Set cursor position in custom ida viewer.
|
|
"int *, int *" | get_custom_viewer_place ("TWidget *" custom_viewer, "bool" mouse) |
| get_custom_viewer_place(custom_viewer, mouse) -> place_t Get current place in a custom viewer (ui_get_curplace).
|
|
"bool" | get_custom_viewer_location (*args) |
| get_custom_viewer_location(out, custom_viewer, mouse=False) -> bool Get the current location in a custom viewer (ui_get_custom_viewer_location_2).
|
|
"bool" | is_idaq () |
| Returns True or False depending if IDAPython is hosted by IDAQ.
|
|
"bool" | attach_action_to_popup ("TWidget *" widget, "TPopupMenu *" popup_handle, "char const *" name, "char const *" popuppath=None, "int" flags=0) |
| attach_action_to_popup(widget, popup_handle, name, popuppath=None, flags=0) -> bool Insert a previously-registered action into the widget's popup menu (ui_attach_action_to_popup).
|
|
"bool" | detach_action_from_popup ("TWidget *" widget, "char const *" name) |
| detach_action_from_popup(widget, name) -> bool Remove a previously-registered action, from the list of 'permanent' context menu actions for this widget (ui_detach_action_from_popup).
|
|
"bool" | update_action_label ("char const *" name, "char const *" label) |
| update_action_label(name, label) -> bool Update an action's label (ui_update_action_attr).
|
|
"bool" | update_action_shortcut ("char const *" name, "char const *" shortcut) |
| update_action_shortcut(name, shortcut) -> bool Update an action's shortcut (ui_update_action_attr).
|
|
"bool" | update_action_tooltip ("char const *" name, "char const *" tooltip) |
| update_action_tooltip(name, tooltip) -> bool Update an action's tooltip (ui_update_action_attr).
|
|
"bool" | update_action_icon ("char const *" name, "int" icon) |
| update_action_icon(name, icon) -> bool Update an action's icon (ui_update_action_attr).
|
|
"bool" | update_action_state ("char const *" name, "action_state_t" state) |
| update_action_state(name, state) -> bool Update an action's state (ui_update_action_attr).
|
|
"bool" | update_action_checkable ("char const *" name, "bool" checkable) |
| update_action_checkable(name, checkable) -> bool Update an action's checkability (ui_update_action_attr).
|
|
"bool" | update_action_checked ("char const *" name, "bool" checked) |
| update_action_checked(name, checked) -> bool Update an action's checked state (ui_update_action_attr).
|
|
"bool" | update_action_visibility ("char const *" name, "bool" visible) |
| update_action_visibility(name, visible) -> bool Update an action's visibility (ui_update_action_attr).
|
|
"qstring *" | get_action_label ("char const *" name) |
| get_action_label(name) -> str Get an action's label (ui_get_action_attr).
|
|
"qstring *" | get_action_shortcut ("char const *" name) |
| get_action_shortcut(name) -> str Get an action's shortcut (ui_get_action_attr).
|
|
"qstring *" | get_action_tooltip ("char const *" name) |
| get_action_tooltip(name) -> str Get an action's tooltip (ui_get_action_attr).
|
|
"int *" | get_action_icon ("char const *" name) |
| get_action_icon(name) -> bool Get an action's icon (ui_get_action_attr).
|
|
"action_state_t *" | get_action_state ("char const *" name) |
| get_action_state(name) -> bool Get an action's state (ui_get_action_attr).
|
|
"bool *" | get_action_checkable ("char const *" name) |
| get_action_checkable(name) -> bool Get an action's checkability (ui_get_action_attr).
|
|
"bool *" | get_action_checked ("char const *" name) |
| get_action_checked(name) -> bool Get an action's checked state (ui_get_action_attr).
|
|
"bool *" | get_action_visibility ("char const *" name) |
| get_action_visibility(name) -> bool Get an action's visibility (ui_get_action_attr).
|
|
"bool" | set_custom_viewer_qt_aware ("TWidget *" custom_viewer) |
| set_custom_viewer_qt_aware(custom_viewer) -> bool Allow the given viewer to interpret Qt events (ui_set_custom_viewer_handler)
|
|
"char const *" | get_custom_viewer_curline ("TWidget *" custom_viewer, "bool" mouse) |
| get_custom_viewer_curline(custom_viewer, mouse) -> char const * Get current line of custom viewer (ui_get_custom_viewer_curline).
|
|
"int" | get_custom_viewer_place_xcoord ("TWidget *" custom_viewer, "place_t" pline, "place_t" pitem) |
| get_custom_viewer_place_xcoord(custom_viewer, pline, pitem) -> int Get the X position of the item, in the line
|
|
"bool" | get_user_input_event ("input_event_t" out) |
| get_user_input_event(out) -> bool Get the current user input event (mouse button press, key press, ...) It is sometimes desirable to be able to tell when a certain situation happens (e.g., 'view_curpos' gets triggered); this function exists to provide that context (GUI version only)
|
|
"qstring *" | get_output_curline ("bool" mouse) |
| get_output_curline(mouse) -> str Get current line of output window (ui_get_output_curline).
|
|
"qstring *" | get_output_selected_text () |
| get_output_selected_text() -> str Returns selected text from output window (ui_get_output_selected_text).
|
|
"TWidget *" | get_current_viewer () |
| get_current_viewer() -> TWidget * Get current ida viewer (idaview or custom viewer) (ui_get_current_viewer)
|
|
"TWidget *" | get_last_widget (*args) |
| get_last_widget(mask=uint64(-1)) -> TWidget Get last ida viewer (idaview or custom viewer) (ui_get_last_widget)
|
|
"tcc_renderer_type_t" | get_view_renderer_type ("TWidget *" v) |
| get_view_renderer_type(v) -> tcc_renderer_type_t Get the type of renderer currently in use in the given view (ui_get_renderer_type)
|
|
"void" | set_view_renderer_type ("TWidget *" v, "tcc_renderer_type_t" rt) |
| set_view_renderer_type(v, rt) Set the type of renderer to use in a view (ui_set_renderer_type)
|
|
"TWidget *" | create_empty_widget ("char const *" title, "int" icon=-1) |
| create_empty_widget(title, icon=-1) -> TWidget Create an empty widget, serving as a container for custom user widgets
|
|
"void" | msg_clear () |
| msg_clear() Clear the "Output" window.
|
|
"bool" | msg_save ("qstring &" path) |
| msg_save(path) -> bool Save the "Output" window contents into a file
|
|
"TWidget *" | get_active_modal_widget () |
| get_active_modal_widget() -> TWidget * Get the current, active modal TWidget instance.
|
|
"bool *" | get_navband_pixel ("ea_t" ea) |
| Maps an address, onto a pixel coordinate within the navigation band.
|
|
"ea_t" | get_navband_ea ("int" pixel) |
| get_navband_ea(pixel) -> ea_t Translate the pixel position on the navigation band, into an address.
|
|
"void *" | get_window_id ("char const *" name=None) |
| get_window_id(name=None) Get the system-specific window ID (GUI version only)
|
|
"bool" | is_idaview ("TWidget *" v) |
| is_idaview(v) -> bool Is the given custom view an idaview? (ui_is_idaview)
|
|
"bool" | read_selection ("TWidget *" v, "twinpos_t" p1, "twinpos_t" p2) |
| Read the user selection, and store its information in p0 (from) and p1 (to).
|
|
"ea_t *, ea_t *" | read_range_selection ("TWidget *" v) |
| read_range_selection(v) -> bool Get the address range for the selected range boundaries, this is the convenient function for read_selection()
|
|
"void" | unmark_selection () |
| unmark_selection() Unmark selection (ui_unmarksel)
|
|
"TWidget *" | create_code_viewer ("TWidget *" custview, "int" flags=0, "TWidget *" parent=None) |
| create_code_viewer(custview, flags=0, parent=None) -> TWidget Create a code viewer (ui_create_code_viewer).
|
|
"void *" | set_code_viewer_handler ("TWidget *" code_viewer, "custom_viewer_handler_id_t" handler_id, "void *" handler_or_data) |
| set_code_viewer_handler(code_viewer, handler_id, handler_or_data) -> void * Set a handler for a code viewer event (ui_set_custom_viewer_handler).
|
|
"bool" | set_code_viewer_user_data ("TWidget *" code_viewer, "void *" ud) |
| set_code_viewer_user_data(code_viewer, ud) -> bool Set the user data on a code viewer (ui_set_custom_viewer_handler).
|
|
"void *" | get_viewer_user_data ("TWidget *" viewer) |
| get_viewer_user_data(viewer) -> void * Get the user data from a custom viewer (ui_get_viewer_user_data)
|
|
"tcc_place_type_t" | get_viewer_place_type ("TWidget *" viewer) |
| get_viewer_place_type(viewer) -> tcc_place_type_t Get the type of place_t instances a viewer uses & creates (ui_get_viewer_place_type).
|
|
"void" | set_code_viewer_line_handlers ("TWidget *" code_viewer, "code_viewer_lines_click_t *" click_handler, "code_viewer_lines_click_t *" popup_handler, "code_viewer_lines_click_t *" dblclick_handler, "code_viewer_lines_icon_t *" drawicon_handler, "code_viewer_lines_linenum_t *" linenum_handler) |
| set_code_viewer_line_handlers(code_viewer, click_handler, popup_handler, dblclick_handler, drawicon_handler, linenum_handler) Set handlers for code viewer line events.
|
|
"bool" | set_code_viewer_lines_icon_margin ("TWidget *" code_viewer, "int" margin) |
| set_code_viewer_lines_icon_margin(code_viewer, margin) -> bool Set space allowed for icons in the margin of a code viewer (ui_set_custom_viewer_handler).
|
|
"bool" | set_code_viewer_lines_alignment ("TWidget *" code_viewer, "int" align) |
| set_code_viewer_lines_alignment(code_viewer, align) -> bool Set alignment for lines in a code viewer (ui_set_custom_viewer_handler).
|
|
"bool" | set_code_viewer_lines_radix ("TWidget *" code_viewer, "int" radix) |
| set_code_viewer_lines_radix(code_viewer, radix) -> bool Set radix for values displayed in a code viewer (ui_set_custom_viewer_handler).
|
|
"bool" | set_code_viewer_is_source ("TWidget *" code_viewer) |
| set_code_viewer_is_source(code_viewer) -> bool Specify that the given code viewer is used to display source code (ui_set_custom_viewer_handler).
|
|
"int" | get_tab_size ("char const *" path) |
| get_tab_size(path) -> int Get the size of a tab in spaces (ui_get_tab_size).
|
|
"void" | clr_cancelled () |
| clr_cancelled() Clear "Cancelled" flag (ui_clr_cancelled)
|
|
"void" | set_cancelled () |
| set_cancelled() Set "Cancelled" flag (ui_set_cancelled)
|
|
"bool" | user_cancelled () |
| user_cancelled() -> bool Test the ctrl-break flag (ui_test_cancelled).
|
|
"bool" | ui_load_new_file ("qstring *" temp_file, "qstring *" filename, "linput_t **" pli, "ushort" neflags, "load_info_t **" ploaders) |
| ui_load_new_file(temp_file, filename, pli, neflags, ploaders) -> bool Display a load file dialog and load file (ui_load_file).
|
|
"bool" | ui_run_debugger ("char const *" dbgopts, "char const *" exename, "int" argc, "char const *const *" argv) |
| ui_run_debugger(dbgopts, exename, argc, argv) -> bool Load a debugger plugin and run the specified program (ui_run_dbg).
|
|
"bool" | load_dbg_dbginfo (*args) |
| load_dbg_dbginfo(path, li=None, base=BADADDR, verbose=False) -> bool Load debugging information from a file.
|
|
"int" | add_idc_hotkey ("char const *" hotkey, "char const *" idcfunc) |
| add_idc_hotkey(hotkey, idcfunc) -> int Add hotkey for IDC function (ui_add_idckey).
|
|
"bool" | set_highlight ("TWidget *" viewer, "char const *" str, "int" flags) |
| set_highlight(viewer, str, flags) -> bool Set the highlighted identifier in the viewer (ui_set_highlight).
|
|
"TWidget *" | open_exports_window ("ea_t" ea) |
| open_exports_window(ea) -> TWidget * Open the exports window (ui_open_builtin).
|
|
"TWidget *" | open_imports_window ("ea_t" ea) |
| open_imports_window(ea) -> TWidget * Open the exports window (ui_open_builtin).
|
|
"TWidget *" | open_names_window ("ea_t" ea) |
| open_names_window(ea) -> TWidget * Open the names window (ui_open_builtin).
|
|
"TWidget *" | open_funcs_window ("ea_t" ea) |
| open_funcs_window(ea) -> TWidget * Open the 'Functions' window (ui_open_builtin).
|
|
"TWidget *" | open_strings_window (*args) |
| open_strings_window(ea, selstart=BADADDR, selend=BADADDR) -> TWidget Open the 'Strings' window (ui_open_builtin).
|
|
"TWidget *" | open_segments_window ("ea_t" ea) |
| open_segments_window(ea) -> TWidget * Open the segments window (ui_open_builtin).
|
|
"TWidget *" | open_segregs_window ("ea_t" ea) |
| open_segregs_window(ea) -> TWidget * Open the segment registers window (ui_open_builtin).
|
|
"TWidget *" | open_selectors_window () |
| open_selectors_window() -> TWidget * Open the selectors window (ui_open_builtin).
|
|
"TWidget *" | open_signatures_window () |
| open_signatures_window() -> TWidget * Open the signatures window (ui_open_builtin).
|
|
"TWidget *" | open_tils_window () |
| open_tils_window() -> TWidget * Open the type libraries window (ui_open_builtin).
|
|
"TWidget *" | open_loctypes_window ("int" ordinal, "tif_cursor_t const *" cursor=None) |
| open_loctypes_window(ordinal, cursor=None) -> TWidget Open the local types window (ui_open_builtin2).
|
|
"TWidget *" | open_til_view_window ("tinfo_t" tif, "tif_cursor_t const *" cursor=None) |
| open_til_view_window(tif, cursor=None) -> TWidget Open the sub-til window (ui_open_builtin2).
|
|
"TWidget *" | open_calls_window ("ea_t" ea) |
| open_calls_window(ea) -> TWidget * Open the function calls window (ui_open_builtin).
|
|
"TWidget *" | open_problems_window ("ea_t" ea) |
| open_problems_window(ea) -> TWidget * Open the problems window (ui_open_builtin).
|
|
"TWidget *" | open_bpts_window ("ea_t" ea) |
| open_bpts_window(ea) -> TWidget * Open the breakpoints window (ui_open_builtin).
|
|
"TWidget *" | open_threads_window () |
| open_threads_window() -> TWidget * Open the threads window (ui_open_builtin).
|
|
"TWidget *" | open_modules_window () |
| open_modules_window() -> TWidget * Open the modules window (ui_open_builtin).
|
|
"TWidget *" | open_trace_window () |
| open_trace_window() -> TWidget * Open the tracing window (ui_open_builtin).
|
|
"TWidget *" | open_stack_window () |
| open_stack_window() -> TWidget * Open the call stack window (ui_open_builtin).
|
|
"TWidget *" | open_xrefs_window ("ea_t" ea) |
| open_xrefs_window(ea) -> TWidget * Open the cross references window (ui_open_builtin).
|
|
"TWidget *" | open_frame_window ("func_t *" pfn, "uval_t" offset) |
| open_frame_window(pfn, offset) -> TWidget * Open the frame window for the given function (ui_open_builtin).
|
|
"TWidget *" | open_navband_window ("ea_t" ea, "int" zoom) |
| open_navband_window(ea, zoom) -> TWidget * Open the navigation band window (ui_open_builtin).
|
|
"TWidget *" | open_disasm_window ("char const *" window_title, "rangevec_t" ranges=None) |
| open_disasm_window(window_title, ranges=None) -> TWidget Open a disassembly view (ui_open_builtin).
|
|
"TWidget *" | open_hexdump_window ("char const *" window_title) |
| open_hexdump_window(window_title) -> TWidget * Open a hexdump view (ui_open_builtin).
|
|
"TWidget *" | open_notepad_window () |
| open_notepad_window() -> TWidget * Open the notepad window (ui_open_builtin).
|
|
"TWidget *" | open_bookmarks_window ("TWidget *" w) |
| open_bookmarks_window(w) -> TWidget * Open the bookmarks window (ui_open_builtin).
|
|
"bool" | sync_sources ("sync_source_t" what, "sync_source_t" _with, "bool" sync) |
| sync_sources(what, _with, sync) -> bool [Un]synchronize sources
|
|
"qstring *" | choose_til () |
| choose_til() -> str Choose a type library (ui_choose, chtype_idatil).
|
|
"ea_t" | choose_entry ("char const *" title) |
| choose_entry(title) -> ea_t Choose an entry point (ui_choose, chtype_entry).
|
|
"ea_t" | choose_name ("char const *" title) |
| choose_name(title) -> ea_t Choose a name (ui_choose, chtype_name).
|
|
"ea_t" | choose_stkvar_xref ("func_t *" pfn, "tid_t" srkvar_tid) |
| choose_stkvar_xref(pfn, srkvar_tid) -> ea_t Choose an xref to a stack variable (ui_choose, chtype_name).
|
|
"ea_t" | choose_xref ("ea_t" to) |
| choose_xref(to) -> ea_t Choose an xref to an address (ui_choose, chtype_xref).
|
|
"bool" | choose_enum ("tinfo_t" out, "char const *" title, "uint32" default_ord) |
| choose_enum(out, title, default_ord) -> bool Choose an enum (ui_choose, chtype_enum).
|
|
"uchar *" | choose_enum_by_value ("tinfo_t" out, "char const *" title, "uint32" default_ord, "uint64" value, "int" nbytes) |
| choose_enum_by_value(out, title, default_ord, value, nbytes) -> bool Choose an enum, restricted by value & size (ui_choose, chtype_enum_by_value_and_size).
|
|
"func_t *" | choose_func ("char const *" title, "ea_t" default_ea) |
| choose_func(title, default_ea) -> func_t * Choose a function (ui_choose, chtype_func).
|
|
"segment_t *" | choose_segm ("char const *" title, "ea_t" default_ea) |
| choose_segm(title, default_ea) -> segment_t * Choose a segment (ui_choose, chtype_segm).
|
|
"bool" | choose_struct ("tinfo_t" out, "char const *" title) |
| choose_struct(out, title) -> bool Choose a structure (ui_choose, chtype_struct).
|
|
"sreg_range_t *" | choose_srcp ("char const *" title) |
| choose_srcp(title) -> sreg_range_t * Choose a segment register change point (ui_choose, chtype_srcp).
|
|
"void *" | get_chooser_obj ("char const *" chooser_caption) |
| get_chooser_obj(chooser_caption) -> void * Get the underlying object of the specified chooser (ui_get_chooser_obj).
|
|
"bool" | get_chooser_rows ("chooser_row_info_vec_t" out, "char const *" chooser_caption, "size_t" what) |
| get_chooser_rows(out, chooser_caption, what) -> bool Get the chooser contents corresponding to the rows indicated by "what".
|
|
"bool" | enable_chooser_item_attrs ("char const *" chooser_caption, "bool" enable) |
| enable_chooser_item_attrs(chooser_caption, enable) -> bool Enable item-specific attributes for chooser items (ui_enable_chooser_item_attrs).
|
|
"void" | replace_wait_box (*args) |
| replace_wait_box(format) Replace the label of "Please wait dialog box".
|
|
"void" | beep ("beep_t" beep_type=beep_default) |
| beep(beep_type=beep_default) Issue a beeping sound (ui_beep).
|
|
"bool" | display_copyright_warning () |
| display_copyright_warning() -> bool Display copyright warning (ui_copywarn).
|
|
"void" | ask_for_feedback (*args) |
| ask_for_feedback(format) Show a message box asking to send the input file to mailto:support@hex- rays.com,suppo.nosp@m.rt@h.nosp@m.ex-ra.nosp@m.ys.c.nosp@m.om}.
|
|
"ea_t *" | _ask_addr (*args) |
| _ask_addr(addr, format) -> bool
|
|
"sel_t *" | _ask_seg (*args) |
| _ask_seg(sel, format) -> bool
|
|
"sval_t *" | _ask_long (*args) |
| _ask_long(value, format) -> bool
|
|
"void" | error (*args) |
| Display a fatal message in a message box and quit IDA.
|
|
"ssize_t" | warning (*args) |
| Display a message in a message box.
|
|
"ssize_t" | info (*args) |
| info(format) -> ssize_t
|
|
"void" | nomem (*args) |
| nomem(format)
|
|
"int" | ask_yn (*args) |
| ask_yn(deflt, format) -> int Display a dialog box and get choice from "Yes", "No", "Cancel".
|
|
"int" | ask_buttons (*args) |
| ask_buttons(Yes, No, Cancel, deflt, format) -> int Display a dialog box and get choice from maximum three possibilities (ui_ask_buttons).
|
|
"bool" | ask_ident2 (*args) |
| ask_ident2(str, format) -> bool Display a dialog box and wait for the user to input an identifier.
|
|
"char *" | ask_file (*args) |
| ask_file(for_saving, defval, format) -> char *
|
|
"int" | register_addon ("addon_info_t" info) |
| register_addon(info) -> int Register an add-on.
|
|
"int" | addon_count () |
| addon_count() -> int Get number of installed addons.
|
|
"bool" | get_addon_info ("char const *" id, "addon_info_t" info) |
| get_addon_info(id, info) -> bool Get info about a registered addon with a given product code.
|
|
"bool" | get_addon_info_idx ("int" index, "addon_info_t" info) |
| get_addon_info_idx(index, info) -> bool Get info about a registered addon with specific index.
|
|
"qstring *" | qcleanline (*args) |
| qcleanline(cmt_char='\0', flags=((1 << 0)|(1 << 1))|(1 << 2)) -> ssize_t Performs some cleanup operations to a line.
|
|
"char const *" | strarray ("strarray_t" array, "size_t" array_size, "int" code) |
| strarray(array, array_size, code) -> char const * Find a line with the specified code in the strarray_t array.
|
|
"qstring *" | ea2str ("ea_t" ea) |
| ea2str(ea) -> str Convert linear address to UTF-8 string.
|
|
"uint64 *" | str2ea (*args) |
| str2ea(str, screen_ea=BADADDR) -> bool Convert string to linear address.
|
|
"uint64 *" | str2ea_ex (*args) |
| str2ea_ex(str, screen_ea=BADADDR, flags=0) -> bool Same as str2ea() but possibly with some steps skipped.
|
|
"uint64 *" | atoea ("char const *" str) |
| atoea(str) -> bool Convert a number in C notation to an address.
|
|
"void" | get_user_strlist_options ("strwinsetup_t *" out) |
| get_user_strlist_options(out)
|
|
"bool" | del_idc_hotkey ("char const *" hotkey) |
| del_idc_hotkey(hotkey) -> bool
|
|
| load_custom_icon (file_name=None, data=None, format=None) |
| Loads a custom icon and returns an identifier that can be used with other APIs.
|
|
| ask_long (defval, format) |
| Display a dialog box and wait for the user to input an number (ui_ask_long).
|
|
| ask_addr (defval, format) |
| Output a formatted string to the output window (msg) preprended with "**DATABASE
IS CORRUPTED: " Display a dialog box and wait for the user to input an address (ui_ask_addr).
|
|
| ask_seg (defval, format) |
| Display a dialog box and wait for the user to input an segment name (ui_ask_seg).
|
|
| ask_ident (defval, format) |
| Display a dialog box and wait for the user to input an identifier.
|
|
"PyObject *" | choose_find ("char const *" title) |
| choose_find(title) -> MyChoose or None
|
|
"void" | choose_refresh ("PyObject *" _self) |
| choose_refresh(_self)
|
|
"void" | choose_close ("PyObject *" _self) |
| choose_close(_self)
|
|
"TWidget *" | choose_get_widget ("PyObject *" _self) |
| choose_get_widget(_self) -> TWidget *
|
|
"PyObject *" | choose_choose ("PyObject *" _self) |
| choose_choose(_self) -> PyObject *
|
|
"void" | choose_activate ("PyObject *" _self) |
| choose_activate(_self)
|
|
"PyObject *" | choose_create_embedded_chobj ("PyObject *" _self) |
| choose_create_embedded_chobj(_self) -> PyObject *
|
|
"PyObject *" | get_chooser_data ("char const *" chooser_caption, "int" n) |
| get_chooser_data(chooser_caption, n) -> [str, ...] Get the text corresponding to the index N in the chooser data.
|
|
"bool" | textctrl_info_t_assign ("PyObject *" _self, "PyObject *" other) |
| textctrl_info_t_assign(_self, other) -> bool
|
|
"bool" | textctrl_info_t_set_text ("PyObject *" _self, "char const *" s) |
| textctrl_info_t_set_text(_self, s) -> bool
|
|
"char const *" | textctrl_info_t_get_text ("PyObject *" _self) |
| textctrl_info_t_get_text(_self) -> char const *
|
|
"bool" | textctrl_info_t_set_flags ("PyObject *" _self, "unsigned int" flags) |
| textctrl_info_t_set_flags(_self, flags) -> bool
|
|
"unsigned int" | textctrl_info_t_get_flags ("PyObject *" _self) |
| textctrl_info_t_get_flags(_self) -> unsigned int
|
|
"bool" | textctrl_info_t_set_tabsize ("PyObject *" _self, "unsigned int" tabsize) |
| textctrl_info_t_set_tabsize(_self, tabsize) -> bool
|
|
"unsigned int" | textctrl_info_t_get_tabsize ("PyObject *" _self) |
| textctrl_info_t_get_tabsize(_self) -> unsigned int
|
|
"bool" | formchgcbfa_enable_field ("size_t" p_fa, "int" fid, "bool" enable) |
| formchgcbfa_enable_field(p_fa, fid, enable) -> bool
|
|
"bool" | formchgcbfa_show_field ("size_t" p_fa, "int" fid, "bool" show) |
| formchgcbfa_show_field(p_fa, fid, show) -> bool
|
|
"bool" | formchgcbfa_move_field ("size_t" p_fa, "int" fid, "int" x, "int" y, "int" w, "int" h) |
| formchgcbfa_move_field(p_fa, fid, x, y, w, h) -> bool
|
|
"int" | formchgcbfa_get_focused_field ("size_t" p_fa) |
| formchgcbfa_get_focused_field(p_fa) -> int
|
|
"bool" | formchgcbfa_set_focused_field ("size_t" p_fa, "int" fid) |
| formchgcbfa_set_focused_field(p_fa, fid) -> bool
|
|
"void" | formchgcbfa_refresh_field ("size_t" p_fa, "int" fid) |
| formchgcbfa_refresh_field(p_fa, fid)
|
|
"void" | formchgcbfa_close ("size_t" p_fa, "int" close_normally) |
| formchgcbfa_close(p_fa, close_normally)
|
|
"PyObject *" | formchgcbfa_get_field_value ("size_t" p_fa, "int" fid, "int" ft, "size_t" sz) |
| formchgcbfa_get_field_value(p_fa, fid, ft, sz) -> PyObject *
|
|
"bool" | formchgcbfa_set_field_value ("size_t" p_fa, "int" fid, "int" ft, "PyObject *" py_val) |
| formchgcbfa_set_field_value(p_fa, fid, ft, py_val) -> bool
|
|
"size_t" | py_get_ask_form () |
| py_get_ask_form() -> size_t
|
|
"size_t" | py_get_open_form () |
| py_get_open_form() -> size_t
|
|
"void" | py_register_compiled_form ("PyObject *" py_form) |
| py_register_compiled_form(py_form)
|
|
"void" | py_unregister_compiled_form ("PyObject *" py_form) |
| py_unregister_compiled_form(py_form)
|
|
| ask_form (*args) |
| Display a dialog box and wait for the user.
|
|
| open_form (*args) |
| Display a dockable modeless dialog box and return a handle to it.
|
|
"int" | install_command_interpreter ("PyObject *" py_obj) |
| install_command_interpreter(py_obj) -> int Install command line interpreter (ui_install_cli)
|
|
"void" | remove_command_interpreter ("int" cli_idx) |
| remove_command_interpreter(cli_idx) Remove command line interpreter (ui_install_cli)
|
|
"bool" | pyidag_bind ("PyObject *" _self) |
| pyidag_bind(_self) -> bool
|
|
"bool" | pyidag_unbind ("PyObject *" _self) |
| pyidag_unbind(_self) -> bool
|
|
"PyObject *" | pyscv_init ("PyObject *" py_link, "char const *" title) |
| pyscv_init(py_link, title) -> PyObject *
|
|
"bool" | pyscv_refresh ("PyObject *" py_this) |
| pyscv_refresh(py_this) -> bool
|
|
"PyObject *" | pyscv_get_current_line ("PyObject *" py_this, "bool" mouse, "bool" notags) |
| pyscv_get_current_line(py_this, mouse, notags) -> PyObject *
|
|
"bool" | pyscv_is_focused ("PyObject *" py_this) |
| pyscv_is_focused(py_this) -> bool
|
|
"size_t" | pyscv_count ("PyObject *" py_this) |
| pyscv_count(py_this) -> size_t
|
|
"bool" | pyscv_show ("PyObject *" py_this) |
| pyscv_show(py_this) -> bool
|
|
"void" | pyscv_close ("PyObject *" py_this) |
| pyscv_close(py_this)
|
|
"bool" | pyscv_jumpto ("PyObject *" py_this, "size_t" ln, "int" x, "int" y) |
| pyscv_jumpto(py_this, ln, x, y) -> bool
|
|
"PyObject *" | pyscv_get_line ("PyObject *" py_this, "size_t" nline) |
| pyscv_get_line(py_this, nline) -> PyObject *
|
|
"PyObject *" | pyscv_get_pos ("PyObject *" py_this, "bool" mouse) |
| pyscv_get_pos(py_this, mouse) -> PyObject *
|
|
"PyObject *" | pyscv_clear_lines ("PyObject *" py_this) |
| pyscv_clear_lines(py_this) -> PyObject *
|
|
"bool" | pyscv_add_line ("PyObject *" py_this, "PyObject *" py_sl) |
| pyscv_add_line(py_this, py_sl) -> bool
|
|
"bool" | pyscv_insert_line ("PyObject *" py_this, "size_t" nline, "PyObject *" py_sl) |
| pyscv_insert_line(py_this, nline, py_sl) -> bool
|
|
"bool" | pyscv_patch_line ("PyObject *" py_this, "size_t" nline, "size_t" offs, "int" value) |
| pyscv_patch_line(py_this, nline, offs, value) -> bool
|
|
"bool" | pyscv_del_line ("PyObject *" py_this, "size_t" nline) |
| pyscv_del_line(py_this, nline) -> bool
|
|
"PyObject *" | pyscv_get_selection ("PyObject *" py_this) |
| pyscv_get_selection(py_this) -> PyObject *
|
|
"PyObject *" | pyscv_get_current_word ("PyObject *" py_this, "bool" mouse) |
| pyscv_get_current_word(py_this, mouse) -> PyObject *
|
|
"bool" | pyscv_edit_line ("PyObject *" py_this, "size_t" nline, "PyObject *" py_sl) |
| pyscv_edit_line(py_this, nline, py_sl) -> bool
|
|
"TWidget *" | pyscv_get_widget ("PyObject *" py_this) |
| pyscv_get_widget(py_this) -> TWidget *
|
|
"PyObject *" | plgform_new () |
| plgform_new() -> PyObject *
|
|
"bool" | plgform_show (*args) |
| plgform_show(py_link, py_obj, caption, options=(0x0040 << 16)|0x00000004u) -> bool
|
|
"void" | plgform_close ("PyObject *" py_link, "int" options) |
| plgform_close(py_link, options)
|
|
"TWidget *" | plgform_get_widget ("PyObject *" py_link) |
| plgform_get_widget(py_link) -> TWidget *
|
|