All pages
Powered by GitBook
Couldn't generate the PDF for 453 pages, generation stopped at 100.
Extend with 50 more pages.
1 of 100

Reference

Check the overview of all IDC functions with detailed descriptions.

Alphabetical list of IDC functions

Debugger-related IDC functions

Index of debugger related IDC functions

  • add_bpt

  • AddBpt

  • attach_process

  • can_exc_continue

  • cleanup_appcall

  • dbg_appcall

  • define_exception

  • del_bpt

  • detach_process

  • enable_bpt

  • enable_tracing

  • exit_process

  • forget_exception

  • get_bpt_attr

  • get_bpt_ea

  • get_bpt_qty

  • get_current_thread

  • get_debugger_event_cond

  • get_event_bpt_hea

  • get_event_ea

  • get_event_exc_code

  • get_event_exc_ea

  • get_event_exc_info

  • get_event_exit_code

  • get_event_id

  • get_event_info

  • get_event_module_base

  • get_event_module_name

  • get_event_module_size

  • get_event_pid

  • get_event_tid

  • get_exception_code

  • get_exception_flags

  • get_exception_name

  • get_exception_qty

  • get_first_module

  • get_module_name

  • get_module_size

  • get_next_module

  • get_processes

  • get_process_state

  • get_reg_value

  • get_step_trace_options

  • get_thread_qty

  • getn_thread

  • is_event_handled

  • load_debugger

  • read_msr

  • refresh_debugger_memory

  • resume_thread

  • run_to

  • select_thread

  • send_dbg_command

  • set_bpt_attr

  • set_bpt_cond

  • set_debugger_event_cond

  • set_debugger_options

  • set_exception_flags

  • set_reg_value

  • set_remote_debugger

  • set_step_trace_options

  • SetBptCnd

  • start_process

  • step_into

  • step_over

  • step_until_ret

  • suspend_process

  • suspend_thread

  • wait_for_next_event

  • read_msr

Loading...

is_member_id

load_type

get_member_by_idx

get_ordinal_limit

set_selector

enable_tracing

get_prev_fixup_ea

del_segm

get_bmask_cmt

end_type_updating

Find

toggle_bnot

patch_byte

get_module_info

set_member_name

create_float

del_struc_member

read_dbg_memory

get_enum_width

getn_thread_name

Get the NAME of a thread
     idx - number of thread, is in range 0..get_thread_qty()-1
           or -1 for the current thread
returns: required info

string getn_thread_name(long idx);

del_struc

filelength

set_manual_insn

is_value...() functions

get_ip_val

del_extra_cmt

create_insn

Create an instruction at the specified address
     ea - linear address
returns: 0 - can't create an instruction (no such opcode, the instruction would
             overlap with existing items, etc)
         otherwise returns length of the instruction in bytes

long create_insn(long ea);

op_offset_high16

get_cmt

expand_struc

get_idb_path

set_frame_size

Make function frame
     ea      - any address belonging to the function
     lvsize  - size of function local variables
     frregs  - size of saved registers
     argsize - size of function arguments that will be purged
               from the stack upon return
returns: ID of function frame or -1
         If the function did not have a frame, the frame
         will be created. Otherwise the frame will be modified

long set_frame_size(long ea, long lvsize, long frregs, long argsize);

get_file_ext

has_value

Do flags contain byte value? (i.e. has the byte a value?)
if not, the byte is uninitialized.

#define has_value(F)   ((F & FF_IVL) != 0)     // any defined value?

readshort

sanitize_file_name

get_member_flag

create_struct

ARM specific

set_enum_member_cmt

rename

set_ida_state

get_member_size

msg

qbasename

get_enum_member_enum

auto_mark_range

plan_to_apply_idasgn

set_named_type

op_offset

rename_entry

strlen

get_extra_cmt

get_enum_flag

fgetc

op_stkvar

get_last_index

get_field_ea

get_struc_id

select_thread

create_array

get_struc_cmt

set_array_string

set_func_attr

set a function attribute
     ea    - any address belonging to the function
     attr  - one of @hlpIdcget_func_attr[FUNCATTR_...] constants.
     value - new value of the attribute
returns: 1 - ok
         0 - failed

success set_func_attr(long ea, long attr, long value);

set_storage_type

get_struc_size

demangle_name

get_next_fixup_ea

get_next_bmask

delattr

gen_simple_call_chart

patch_qword

get_enum_name

loader_input_t.getc

get_debugger_event_cond

read_dbg_qword

define_local_var

Create a local variable
     start, end - range of addresses for the local variable.
                  For the stack variables the end address is ignored.
                  If there is no function at 'start' then this function.
                  will fail.
     location  -  the variable location in the "[bp+xx]" form where xx is
                  a number. The location can also be specified
                  as a register name.
     name      -  name of the local variable
returns: 1-ok, 0-failure

success define_local_var(long start, long end, string location, string name);

generate_disasm_line

add_idc_hotkey

tolower

del_selector

set_debugger_event_cond

get_imagebase

gen_file

get_entry

find_custom_data_format

get_debug_name_ea

add_default_til

set_func_end

exit_process

delete_array

xtol

get_exception_code

detach_process

set_enum_cmt

get_wide_word

put_bookmark