Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_debug.h>
Go to the source code of this file.
Classes | |
struct | debug_pj |
Macros | |
#define | DB dbg->sgnls |
Functions | |
RZ_API void | rz_debug_signal_init (RzDebug *dbg) |
static bool | siglistcb (void *p, const char *k, const char *v) |
static bool | siglistjsoncb (void *p, const char *k, const char *v) |
RZ_API void | rz_debug_signal_list (RzDebug *dbg, RzOutputMode mode) |
RZ_API int | rz_debug_signal_send (RzDebug *dbg, int num) |
RZ_API void | rz_debug_signal_setup (RzDebug *dbg, int num, int opt) |
RZ_API int | rz_debug_signal_what (RzDebug *dbg, int num) |
RZ_API int | rz_debug_signal_set (RzDebug *dbg, int num, ut64 addr) |
RZ_API RzList * | rz_debug_kill_list (RzDebug *dbg) |
RZ_API int | rz_debug_kill_setup (RzDebug *dbg, int sig, int action) |
Variables | |
struct { | |
const char * k | |
const char * v | |
} | signals [] |
Definition at line 164 of file dsignal.c.
References rz_debug_t::cur, dbg, rz_debug_plugin_t::kill_list, and NULL.
Definition at line 171 of file dsignal.c.
References test-lz4-speed::action, rz_debug_t::cur, dbg, and eprintf.
Referenced by rz_core_debug_kill().
RZ_API void rz_debug_signal_list | ( | RzDebug * | dbg, |
RzOutputMode | mode | ||
) |
Definition at line 119 of file dsignal.c.
References rz_debug_t::_mode, DB, dbg, debug_pj::pj, pj_a(), pj_end(), pj_free(), pj_new(), pj_string(), rz_cons_println(), RZ_OUTPUT_MODE_JSON, RZ_OUTPUT_MODE_STANDARD, sdb_foreach(), siglistcb(), and siglistjsoncb().
Referenced by rz_core_debug_kill().
Definition at line 143 of file dsignal.c.
References dbg, num, rz_debug_t::pid, and rz_sys_kill().
Definition at line 147 of file dsignal.c.
References DB, num, and sdb_queryf().
Referenced by rz_core_debug_kill().
Definition at line 151 of file dsignal.c.
References DB, k, num, sdb_num_get(), and snprintf.
Referenced by rz_debug_continue_kill(), and rz_debug_wait().
Definition at line 64 of file dsignal.c.
References rz_debug_t::_mode, DB, dbg, k, key, p, rz_cons_newline(), rz_cons_printf(), rz_cons_strcat(), RZ_DBG_SIGNAL_CONT, RZ_DBG_SIGNAL_SKIP, sdb_num_get(), and v.
Referenced by rz_debug_signal_list().
Definition at line 94 of file dsignal.c.
References rz_debug_t::_mode, debug_pj::dbg, int, k, key, p, debug_pj::pj, pj_end(), pj_knull(), pj_ks(), pj_o(), RZ_DBG_SIGNAL_CONT, RZ_DBG_SIGNAL_SKIP, sdb_num_get(), rz_debug_t::sgnls, and v.
Referenced by rz_debug_signal_list().
const char* k |
Definition at line 11 of file dsignal.c.
Referenced by __approximate_rgb(), __desc_cache_cleanup_cb(), __desc_cache_commit_cb(), __desc_cache_list_cb(), __replaceRegisters(), _nettle_aes_invert(), _remove_afer_insert(), adapt_bias(), add_keys_to_set_cb(), adjust_directions(), adrp(), agraph_set_layout(), alloc_fwd(), alloc_rev(), analysis_class_print_to_json_cb(), arithmetic(), autocmplt_cmd_arg_eval_full(), automerge_get_predecessors_cb(), avr_il_brcc(), avr_il_brcs(), avr_il_breq(), avr_il_brge(), avr_il_brhc(), avr_il_brhs(), avr_il_brid(), avr_il_brie(), avr_il_brlt(), avr_il_brmi(), avr_il_brne(), avr_il_brpl(), avr_il_brtc(), avr_il_brts(), avr_il_brvc(), avr_il_brvs(), avr_il_call(), avr_il_jmp(), avr_il_lds(), avr_il_rcall(), avr_il_rjmp(), avr_il_sts(), avr_kkkddddkkkk_load16(), avr_kkkddddkkkk_store16(), avr_kkkkkccck(), avr_kkkkkkkccc(), avr_kkkkkkkkkkkk(), avr_kkkkkkksss(), avr_lds(), avr_sts(), backedge_info(), base_type_collect_cb(), bdot(), bitfield(), bp_load_cb(), branch(), brute_force_match(), bucketfn(), buf_format(), calcsize_key(), callback_foreach_kv(), callback_list(), cb(), cfgget(), cfggeti(), cfgset(), cfgseti(), cmd_print_bars(), cmp(), copy_foreach_cb(), crc32_z(), create_cache_bins(), digests_pj_cb(), display_table(), ds_print_offset(), ds_print_show_bytes(), dupkey(), emit_syscall_args(), encode_var_int(), exception(), export_typelink_cb(), filter_sdb_function_names(), find_se(), foreach_list_cb(), foreach_space_cb(), format_collect_cb(), free_rz_bin_class(), get_rebase_infos(), get_right_dummy(), gprobe_checksum(), hashfn(), HEAP_EXPORT(), hex_add_instr_to_state(), hex_add_to_pkt(), hex_set_pkt_info(), hints_load_cb(), import_load_cb(), insert_into(), INST_HANDLER(), inst_vars_relocate_cb(), java_attribute_set_module(), java_attribute_set_modulepackages(), like_cb(), list_keys_cb(), listcb(), listOpDescriptions(), load_config_cb(), load_process_line(), local_var_copy_avail_cb(), local_var_copy_known_cb(), local_var_meet_avail_cb(), local_var_meet_known_cb(), lsop(), main(), make_next_packet_valid(), mem_barrier(), meta_load_cb(), mov(), mpc_err_or(), mpc_parse_run(), numget(), original_traverse_l(), palColorFor(), parse_segments(), parseCodeDirectory(), parser__accept(), pcache_save_cb(), pj_j(), pj_k(), pj_ka(), pj_kb(), pj_kd(), pj_kf(), pj_ki(), pj_kN(), pj_kn(), pj_knull(), pj_ko(), pj_kr(), pj_ks(), pj_s(), pj_S(), pqdownheap(), print_arena_stats(), print_label(), printHistBlock(), process_reference_noreturn_cb(), rc6_init_state(), reanalyze_fcns_cb(), reglsop(), regsluop(), replace(), replaceWords(), rz_agraph_add_edge(), rz_agraph_add_edge_at(), rz_agraph_del_edge(), rz_analysis_cc_get(), rz_analysis_class_base_delete_class_cb(), rz_analysis_class_base_rename_class_cb(), rz_analysis_data_to_string(), rz_analysis_function_autoname_var(), rz_analysis_noreturn_functions(), rz_asn1_print_padded(), rz_asn1_stringify_bits(), rz_asn1_stringify_bytes(), rz_big_to_hexstr(), rz_bin_class_free(), rz_bin_java_class_as_sections(), rz_bin_java_class_as_source_code(), rz_bin_java_class_debug_info(), rz_cmd_alias_del(), rz_cmd_alias_get(), rz_cmd_alias_set(), rz_cmd_help(), rz_cons_color(), rz_cons_pal_show_rgb(), rz_cons_rgb_gen(), rz_core_bin_dwarf_print_debug_info(), rz_core_bin_export_info(), rz_core_cmd_init(), rz_core_cmd_subst_i(), rz_core_kuery_print(), rz_core_visual_colors(), rz_debug_signal_init(), rz_debug_signal_what(), rz_dyldcache_symbols_from_locsym(), rz_flag_tags_get(), rz_flag_tags_set(), rz_print_fill(), rz_print_hexdump_bits_handler(), rz_print_hexdump_str(), rz_print_offset_sg(), rz_punycode_decode(), rz_run_get_environ_profile(), rz_search_pattern(), rz_search_privkey_update(), rz_str_binstr2bin(), rz_str_rstr(), save_kv_cb(), sdb_diff_kv_cb(), sdb_diff_report_kv(), sdb_diff_report_kv_cb(), sdb_dump_hasnext(), sdb_foreach_cdb(), sdb_foreach_list_cb(), sdb_foreach_list_filter_cb(), sdb_foreach_match_cb(), sdb_grep_dump(), sdb_hook_call(), sdb_like(), sdb_merge_cb(), sdb_num_max(), sdb_num_min(), sdb_type(), sdb_unset_like(), sdbkv_new(), sdbkv_new2(), serialize_memory_cb(), serialize_register_cb(), set_layout(), sigdb_entry_hash(), sigdb_move_entry(), sigdb_to_list(), siglistcb(), siglistjsoncb(), source_file_collect_cb(), store_label_cb(), store_xref_cb(), store_xrefs_list_cb(), stp(), test_invalids(), test_valids(), ts_parser__accept(), ts_query__analyze_patterns(), type_paths_collect_by_address_cb(), typelink_print_cb(), unset_cb(), update(), uv__idna_toascii_label(), v1_v2_types_foreach_cb(), v2_v3_types_foreach_cb(), valgroup_regcb(), write_key(), x2nmodp(), xrefs_load_cb(), and zone_load_cb().
struct { ... } signals[] |
Referenced by rz_debug_signal_init().
const char* v |
Definition at line 12 of file dsignal.c.
Referenced by __config_value_cb(), __cons_cb_fkey(), __desc_cache_cleanup_cb(), __desc_cache_commit_cb(), __desc_cache_list_cb(), __dup_val(), __esil_pop_argument(), __init_panel_param(), __rebase_xrefs(), __rebase_xrefs_i(), __replaceRegisters(), __version_cb(), _auxRegName(), _condCodeName(), _coreRegName(), add_arch_platform_flag_comment_cb(), add_mmio_extended_flag_cb(), add_mmio_flag_cb(), adjust_class(), adjust_directions(), adjust_unsigned(), agraph_set_zoom(), analysis_fill_im(), appendRef(), apply_shift(), arc_opcode_lookup_suffix(), autocmplt_cmd_arg_eval_full(), avr_custom_des(), base36_decode(), base_type_collect_cb(), base_type_kind_collect_cb(), base_type_typeclass_collect_cb(), base_type_typeclass_sized_collect_cb(), be16(), be24(), bfd_getb32(), bfd_getl32(), block_load_cb(), bp_load_cb(), build(), calcsize_val(), callback_foreach_kv(), callback_list(), cb_analysis_cpu(), cb_asmarch(), cb_asmbits(), cb_binmaxstr(), cb_binmaxstrbuf(), cb_binminstr(), cbz(), cfgset(), cfgseti(), clear_bb_vars(), cls(), clz(), cmd_print_pv(), collect_changes(), const_by_value(), copy_foreach_cb(), count_cb(), CountPopulation_32(), CountPopulation_64(), decode_digit(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), del_hook(), deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), dfs_node(), digests_pj_cb(), ds_print_asmop_payload(), ds_print_esil_analysis(), ds_print_ptr(), dupval(), export_base_type_cb(), export_callable_cb(), export_typelink_cb(), extend(), file_fmttime(), file_signextend(), file_strncmp(), filter_func(), filter_sdb_function_names(), findyz(), fix_back_edge_dummy_nodes(), flag_load_cb(), foreach_list_cb(), format_collect_cb(), fs__mktemp(), function_load_cb(), function_names_collect_cb(), gb_custom_daa(), get_bbnodes(), get_edge_number(), get_msb(), getvalue(), global_var_collect_cb(), global_var_load_cb(), hints_acc_store_cb(), hints_load_cb(), insert_into(), insertkeys(), inst_vars_relocate_cb(), int2cmdstatus(), is_tcache(), layer_sweep(), like_cb(), listOpDescriptions(), load_config_cb(), load_process_line(), local_b64_decode(), local_var_copy_avail_cb(), local_var_copy_known_cb(), local_var_meet_known_cb(), ls_clone(), magiccheck(), message(), message_filters_show(), message_mem_needed(), meta_load_cb(), mkdtemp(), mprint(), mylistrefs_cb(), myregwrite(), Nadd(), Naddi(), Nand(), Ndiv(), Nexp(), next_append(), Ngt(), Nlt(), Nmod(), Nmul(), noreturn_function_names_collect_cb(), noreturn_get_blocks_cb(), noreturn_remove_unreachable_cb(), Norr(), Nrol(), Nror(), Nset(), Nsetf(), Nshl(), Nshr(), Nsub(), Nsubi(), Nxor(), parse_options(), parser__handle_error(), pcache_save_cb(), pj_b(), pj_kb(), pj_kr(), pj_ks(), pj_r(), place_nodes(), place_single(), pqdownheap(), prim(), print_function_labels_cb(), print_label(), process_reference_noreturn_cb(), process_refs_cb(), rabin_show_help(), rasm_show_help(), rbit(), rc6_init_state(), rd_value(), rebase(), replaceWords(), resolve_java_visibility(), rev(), reverse_bits(), reverse_bits_8(), reverse_lt_8bits(), revsh(), run_new_command(), rz_analysis_block_set_op_offset(), rz_analysis_class_base_delete_class_cb(), rz_analysis_class_base_rename_class_cb(), rz_analysis_function_delete_unused_vars(), rz_analysis_function_get_var_reg_at(), rz_analysis_function_get_var_stackptr_at(), rz_analysis_function_vars_display_handler(), rz_analysis_function_vars_type_handler(), rz_analysis_get_delta_jmptbl_info(), rz_analysis_hint_set_val(), rz_analysis_il_init_state_set_var(), rz_analysis_set_bits(), rz_analysis_set_cpu(), rz_analysis_value_copy(), rz_analysis_var_delete(), rz_asn1_print_padded(), rz_base91_decode(), rz_base91_encode(), rz_big_from_int(), rz_big_from_unsigned(), rz_buf_sleb128_at(), rz_buf_uleb128_at(), rz_cmd_alias(), rz_cmd_alias_set(), rz_cmd_help(), rz_core_agraph_add_edge(), rz_core_agraph_del_edge(), rz_core_analysis_esil_init_mem(), rz_core_asm_strsearch(), rz_core_bin_apply_config(), rz_core_bin_export_info(), rz_core_bin_info_print(), rz_core_cmd_subst_i(), rz_core_magic(), rz_core_magic_at(), rz_core_print_bb_custom(), rz_core_print_func_args(), rz_core_print_hexdump_byline_str(), rz_core_search_value_in_range(), rz_debug_reg_sync(), rz_debug_signal_init(), rz_diff_myers_distance(), rz_eval_getset_handler(), rz_il_handler_let(), rz_il_mem_load(), rz_il_mem_store(), rz_il_op_new_set(), rz_il_op_new_var(), rz_io_zip_open_many(), rz_leb128(), rz_main_version_verify(), rz_num_align_delta(), rz_pvector_at(), rz_pvector_index_ptr(), rz_pvector_new(), rz_pvector_new_with_len(), rz_pvector_set(), rz_reg_cond_bits_set(), rz_reg_flags_handler(), rz_run_get_environ_profile(), rz_run_parseline(), rz_str_from_ut64(), rz_str_sysbits(), rz_strstr_ansi(), rz_sys_clearenv(), rz_time_now_mono(), rz_uleb128(), rz_uleb128_decode(), save_kv_cb(), sdb_array_add_num(), sdb_bool_set(), sdb_diff_kv_cb(), sdb_diff_report_kv(), sdb_diff_report_kv_cb(), sdb_dump_hasnext(), sdb_exists(), sdb_foreach_cdb(), sdb_foreach_list_cb(), sdb_foreach_list_filter_cb(), sdb_foreach_match_cb(), sdb_grep_dump(), sdb_hook_call(), sdb_like(), sdb_merge_cb(), sdb_num_add(), sdb_num_get(), sdb_num_set(), sdb_set_enc(), sdb_uncat(), sdbkv_new(), sdbkv_new2(), serialize_memory_cb(), serialize_register_cb(), set_e_fields(), set_ppc_fields(), setup_vm_init_state(), siglistcb(), siglistjsoncb(), size_for_capacity(), store_label_cb(), store_xref_cb(), store_xrefs_list_cb(), ts_parser__handle_error(), type_collect_cb(), type_paths_collect_by_address_cb(), type_paths_collect_by_offset_cb(), typelink_print_cb(), unset_off_foreach(), update_flags_zn(), update_flags_zn00(), update_graph_sizes(), usage(), user_edge_cb(), user_node_cb(), uv_uptime(), v1_v2_types_foreach_cb(), v2_v3_types_foreach_cb(), var_rename(), vars_collect_cb(), vmessage(), wasm_dis(), write_reg(), write_value(), xrefs_load_cb(), and zone_load_cb().