Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | sbl_header |
Typedefs | |
typedef struct sbl_header | SblHeader |
Functions | |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *b, Sdb *sdb) |
static ut64 | baddr (RzBinFile *bf) |
static RzList * | entries (RzBinFile *bf) |
static RzList * | sections (RzBinFile *bf) |
static RzBinInfo * | info (RzBinFile *bf) |
static ut64 | size (RzBinFile *bf) |
Variables | |
static SblHeader | sb = { 0 } |
RzBinPlugin | rz_bin_plugin_mbn |
RZ_API RzLibStruct | rizin_plugin |
typedef struct sbl_header SblHeader |
Definition at line 28 of file bin_mbn.c.
References b, sbl_header::cert_sz, sbl_header::cert_va, sbl_header::code_pa, eprintf, sbl_header::load_index, sbl_header::paddr, sbl_header::psize, rz_buf_fread_at(), rz_buf_size(), rz_return_val_if_fail, sb, sbl_header::sign_sz, sbl_header::sign_va, ut64(), sbl_header::vaddr, and sbl_header::version.
Referenced by load_buffer().
Definition at line 86 of file bin_mbn.c.
References sbl_header::code_pa, free(), rz_bin_addr_t::paddr, rz_list_append(), rz_list_newf(), RZ_NEW0, sb, sbl_header::vaddr, and rz_bin_addr_t::vaddr.
Definition at line 156 of file bin_mbn.c.
References rz_bin_info_t::arch, rz_bin_info_t::bclass, rz_bin_info_t::big_endian, rz_bin_info_t::bits, bits(), rz_bin_info_t::dbg_info, rz_bin_info_t::file, rz_bin_file_t::file, rz_bin_info_t::has_crypto, rz_bin_info_t::has_nx, rz_bin_info_t::has_pi, rz_bin_info_t::has_va, rz_bin_info_t::machine, NULL, rz_bin_info_t::os, rz_bin_info_t::rclass, RZ_NEW0, strdup(), rz_bin_info_t::subsystem, and rz_bin_info_t::type.
|
static |
Definition at line 100 of file bin_mbn.c.
References rz_bin_file_t::buf, sbl_header::cert_sz, sbl_header::cert_va, rz_list_t::free, free(), rz_bin_section_t::has_strings, rz_bin_section_t::name, NULL, sbl_header::paddr, rz_bin_section_t::paddr, rz_bin_section_t::perm, sbl_header::psize, rz_buf_fread_at(), rz_list_append(), rz_list_free(), rz_list_new(), RZ_NEW0, RZ_PERM_R, RZ_PERM_RX, sb, sbl_header::sign_sz, sbl_header::sign_va, rz_bin_section_t::size, strdup(), sbl_header::vaddr, rz_bin_section_t::vaddr, and rz_bin_section_t::vsize.
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_mbn |
|
static |
Definition at line 26 of file bin_mbn.c.
Referenced by __op_refs(), __strbuf_append_col_aligned(), __strbuf_append_col_aligned_fancy(), _zip_stdio_op_stat(), analysis_mask_avr(), apprentice_sort(), argv_get_help(), avr_AAAAAbbb(), avr_AAdddddAAAA(), avr_AArrrrrAAAA(), avr_dddcrrr(), avr_ddddcccc(), avr_dddddcbbb(), avr_dddddcccc(), avr_dddddcccc_load32(), avr_dddddcccc_store32(), avr_dddddcccc_x(), avr_dddddcccc_xm(), avr_dddddcccc_xp(), avr_dddddcccc_y(), avr_dddddcccc_ym(), avr_dddddcccc_yp(), avr_dddddcccc_z(), avr_dddddcccc_zm(), avr_dddddcccc_zp(), avr_ddddrrrr(), avr_ddddrrrr_2x(), avr_disassembler(), avr_KKddKKKK(), avr_kkkddddkkkk_load16(), avr_kkkddddkkkk_store16(), avr_KKKKcccc(), avr_KKKKddddKKKK(), avr_kkkkkccck(), avr_kkkkkkkccc(), avr_kkkkkkkkkkkk(), avr_op(), avr_qcqqcdddddcqqq_y(), avr_qcqqcdddddcqqq_z(), avr_qcqqcrrrrrcqqq_y(), avr_qcqqcrrrrrcqqq_z(), avr_rdddddrrrr(), avr_rrrrrcbbb(), avr_rrrrrcccc_x(), avr_rrrrrcccc_xm(), avr_rrrrrcccc_xp(), avr_rrrrrcccc_y(), avr_rrrrrcccc_ym(), avr_rrrrrcccc_yp(), avr_rrrrrcccc_z(), avr_rrrrrcccc_zm(), avr_rrrrrcccc_zp(), avr_spmz(), avr_unique(), baddr(), byte_stringify(), bytecode_snprint(), calc_padding_len(), check_buffer(), class_stringify(), class_stringify_addr(), close_optionals(), clusterLoadConfig(), clusterSaveConfig(), cmd_print_fromage(), cmd_pxr(), compareSize(), decode_array(), decode_buffer(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), demangle_any(), demangle_class_object(), demangle_method(), demangle_object_with_type(), demangle_type(), dex_resolve_proto_id(), diff_unified_append_data(), diff_unified_append_ranges(), diff_unified_lines_hl(), do_handle_ts_unescape_arg(), do_print_child_help(), drain(), ds_print_cmt_il(), dump_element(), entries(), entry_stringify(), field_stringify(), field_stringify_addr(), file_fsmagic(), file_or_fd(), fill_args(), fill_argv_modes_help_strbuf(), fill_children_chars(), fill_colored_args(), fill_details(), fill_details_cb(), fill_details_do(), fill_details_static(), fill_modes_children_chars(), fill_usage_strbuf(), fill_wrapped_comment(), flirt_pat_parse_line(), gdb_to_rz_profile(), group_get_help(), handle_skip_next_instruction(), hex_disasm_with_templates(), il_op_effect_resolve(), il_op_pure_resolve(), il_opdmp_bitv(), il_opdmp_blk(), il_opdmp_bool_false(), il_opdmp_bool_true(), il_opdmp_cast(), il_opdmp_goto(), il_opdmp_let(), il_opdmp_load(), il_opdmp_loadw(), il_opdmp_seq(), il_opdmp_seq_inner(), il_opdmp_set(), il_opdmp_store(), il_opdmp_storew(), il_opdmp_var(), import_stringify(), java_field_access_flags_readable(), java_method_access_flags_readable(), lang_byte_array_asm(), lang_byte_array_bash(), lang_byte_array_c_cpp(), lang_byte_array_golang(), lang_byte_array_java(), lang_byte_array_kotlin(), lang_byte_array_nodejs(), lang_byte_array_objective_c_cpp(), lang_byte_array_rizin(), libs_stringify(), line_sample_cmp(), line_stringify(), lua54_disasm(), mk_reg_str(), pad(), parse(), parse_localvar(), parsed_args_iterateargs(), print_addr(), print_and_check_il(), print_byte(), print_child_help(), print_cursor_l(), print_cursor_r(), print_section(), prompt_add_file(), prompt_add_offset(), prompt_add_section(), read_to_strbuf(), replace_directives_for(), rz_analysis_cc_del(), rz_analysis_cc_get(), rz_analysis_cc_set_error(), rz_analysis_cc_set_self(), rz_analysis_data_to_string(), rz_analysis_var_get_constraints_readable(), rz_analysis_var_global_get_constraints_readable(), rz_asn1_print_hexdump_padded(), rz_asn1_print_padded(), rz_asn1_to_string(), rz_axml_decode(), rz_bin_dex_access_flags_readable(), rz_bin_java_class_access_flags_readable(), rz_bin_java_class_as_source_code(), rz_bin_java_class_as_text(), rz_bin_java_class_const_pool_as_text(), rz_bin_java_class_fields_as_text(), rz_bin_java_class_interfaces_as_text(), rz_bin_java_class_methods_as_text(), rz_cmd_get_help_json(), rz_cmd_get_help_strbuf(), rz_cmd_javac_handler(), rz_cmd_javaf_handler(), rz_cmd_javai_handler(), rz_cmd_javam_handler(), rz_cmd_javap_handler(), rz_cmd_javas_handler(), rz_cmd_parsed_args_argstr(), rz_cmd_parsed_args_execstr(), rz_cons_isatty(), rz_core_analysis_all_vars_display(), rz_core_analysis_il_step_with_events(), rz_core_analysis_var_display(), rz_core_bin_sections_mapping_print(), rz_core_print_hexdump_byline_str(), rz_core_print_string_c_cpp(), rz_core_visual_view_rop(), rz_diff_unified_text(), rz_il_event_stringify(), rz_il_op_effect_stringify(), rz_il_op_pure_stringify(), rz_io_zip_alloc_zipfileobj(), rz_io_zip_create_new_file(), rz_io_zip_get_by_file_idx(), rz_io_zip_get_files(), rz_io_zip_slurp_file(), rz_parse_pseudocode(), rz_pkcs7_cms_to_string(), rz_print_addr(), rz_print_byte(), rz_print_hexdiff_str(), rz_print_hexdump_str(), rz_print_section_str(), rz_protobuf_decode(), rz_pseudo_convert(), rz_run_get_environ_profile(), rz_sign_flirt_write_string_pattern_to_buffer(), rz_str_array_join(), rz_str_format_msvc_argv(), rz_str_list_join(), rz_str_stringify_raw_buffer(), rz_str_trim_lines(), rz_str_version(), rz_str_widget_list(), rz_strbuf_append(), rz_strbuf_append_n(), rz_strbuf_appendf(), rz_strbuf_drain(), rz_strbuf_drain_nofree(), rz_strbuf_equals(), rz_strbuf_fini(), rz_strbuf_free(), rz_strbuf_get(), rz_strbuf_getbin(), rz_strbuf_init(), rz_strbuf_initf(), rz_strbuf_is_empty(), rz_strbuf_length(), rz_strbuf_prepend(), rz_strbuf_reserve(), rz_strbuf_set(), rz_strbuf_setbin(), rz_strbuf_setf(), rz_strbuf_setptr(), rz_strbuf_slice(), rz_strbuf_vappendf(), rz_strbuf_vsetf(), rz_table_tocsv(), rz_table_tofancystring(), rz_table_tosimplestring(), rz_x509_certificate_dump(), rz_x509_crl_to_string(), rz_x509_crlentry_dump(), rz_x509_extensions_dump(), rz_x509_name_dump(), rz_x509_signedinfo_dump(), rz_x509_subjectpublickeyinfo_dump(), rz_x509_tbscertificate_dump(), rz_x509_validity_dump(), section_stringify(), section_stringify_addr(), sections(), shifted_reg64_append(), show_config_options(), showfile(), sigdb_entry_cmp(), size(), strbuf_append(), strbuf_append_calc(), strbuf_free(), strbuf_rev_append_char(), strbuf_rev_prepend_char(), string_stringify(), string_stringify_addr(), symbol_stringify(), symbol_stringify_addr(), ut64_to_hex(), uv__tty_is_slave(), walk_namespace(), wasm_dis(), zip_source_file_common_new(), and zstat().