Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
static bool | check_buffer (RzBuffer *b) |
static bool | load_buffer (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb) |
static void | destroy (RzBinFile *bf) |
static void | header (RzBinFile *bf) |
RzBinInfo * | info (RzBinFile *bf) |
RzList * | entries (RzBinFile *bf) |
RzList * | symbols (RzBinFile *bf) |
RzList * | imports (RzBinFile *bf) |
RzList * | sections (RzBinFile *bf) |
RzList * | relocs (RzBinFile *bf) |
Variables | |
RzBinPlugin | rz_bin_plugin_ne |
RZ_API RzLibStruct | rizin_plugin |
Definition at line 11 of file bin_ne.c.
References b, setup::idx, length, rz_buf_read_at(), rz_buf_read_le16_at, rz_buf_size(), and ut64().
|
static |
Definition at line 45 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_free().
Definition at line 98 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_get_entrypoints().
Referenced by entries_initfini_print(), file_delmagic(), initializeEsil(), match_bin_entries(), rz_bin_le_get_relocs(), rz_bin_le_get_symbols(), rz_bin_ne_get_entrypoints(), rz_bin_ne_get_relocs(), rz_bin_ne_get_symbols(), rz_core_bin_apply_entry(), rz_diff_entries_new(), rz_dyld_locsym_new(), rz_hash_bang_details_cb(), RZ_PACKED(), tuklib_physmem(), unzRepair(), and uv_uptime().
|
static |
Definition at line 49 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_t::cb_printf, ne, rz_bin_file_t::o, and rz_bin_file_t::rbin.
Definition at line 106 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_get_imports().
Referenced by get_imports(), rz_bin_dex_imports(), rz_bin_java_class_const_pool_as_imports(), rz_bin_mdmp_pe_get_imports(), rz_bin_mdmp_pe_get_symbols(), rz_bin_ne_get_imports(), rz_bin_pe_get_imports(), rz_bin_wasm_get_imports(), rz_core_bin_apply_imports(), rz_core_bin_imports_print(), rz_core_bin_load(), rz_diff_imports_new(), and rzfind_open_file().
Definition at line 86 of file bin_ne.c.
References rz_bin_object_t::bin_obj, i, ne, rz_bin_file_t::o, RZ_NEW0, rz_str_newf(), and strdup().
Referenced by __is_windows_ten(), _extract_pid_info(), _luac_build_info(), _print_insn_mips(), aarch64_ext_addr_offset(), aarch64_ext_addr_regoff(), aarch64_ext_addr_simm(), aarch64_ext_addr_simm10(), aarch64_ext_addr_simple(), aarch64_ext_addr_uimm12(), aarch64_ext_advsimd_imm_modified(), aarch64_ext_advsimd_imm_shift(), aarch64_ext_aimm(), aarch64_ext_barrier(), aarch64_ext_cond(), aarch64_ext_fbits(), aarch64_ext_fpimm(), aarch64_ext_ft(), aarch64_ext_hint(), aarch64_ext_imm(), aarch64_ext_imm_half(), aarch64_ext_imm_rotate1(), aarch64_ext_imm_rotate2(), aarch64_ext_inv_limm(), aarch64_ext_ldst_elemlist(), aarch64_ext_ldst_reglist(), aarch64_ext_ldst_reglist_r(), aarch64_ext_limm(), aarch64_ext_prfop(), aarch64_ext_pstatefield(), aarch64_ext_reg_extended(), aarch64_ext_reg_shifted(), aarch64_ext_reglane(), aarch64_ext_reglist(), aarch64_ext_regno(), aarch64_ext_regno_pair(), aarch64_ext_regrt_sysins(), aarch64_ext_shll_imm(), aarch64_ext_simd_addr_post(), aarch64_ext_sve_addr_reg_imm(), aarch64_ext_sve_addr_reg_mul_vl(), aarch64_ext_sve_addr_ri_s4(), aarch64_ext_sve_addr_ri_s4xvl(), aarch64_ext_sve_addr_ri_s6xvl(), aarch64_ext_sve_addr_ri_s9xvl(), aarch64_ext_sve_addr_ri_u6(), aarch64_ext_sve_addr_rr_lsl(), aarch64_ext_sve_addr_rz_xtw(), aarch64_ext_sve_addr_zi_u5(), aarch64_ext_sve_addr_zz(), aarch64_ext_sve_addr_zz_lsl(), aarch64_ext_sve_addr_zz_sxtw(), aarch64_ext_sve_addr_zz_uxtw(), aarch64_ext_sve_aimm(), aarch64_ext_sve_asimm(), aarch64_ext_sve_float_half_one(), aarch64_ext_sve_float_half_two(), aarch64_ext_sve_float_zero_one(), aarch64_ext_sve_index(), aarch64_ext_sve_limm_mov(), aarch64_ext_sve_quad_index(), aarch64_ext_sve_reglist(), aarch64_ext_sve_scale(), aarch64_ext_sve_shlimm(), aarch64_ext_sve_shrimm(), aarch64_ext_sysins_op(), aarch64_ext_sysreg(), aarch64_extract_operand(), add_dt_dynamic_entry(), add_reg_to_rw_list(), ARC_CGEN_EXTRACT_FN(), arcAnalyzeInstr(), ARCTangent_decodeInstr(), bin_dwarf(), bin_versioninfo(), build_3bit_d(), build_3bit_ea(), build_absolute_jump_with_immediate(), build_bcc(), build_bitfield_ins(), build_cas2(), build_chk2_cmp2(), build_cpush_cinv(), build_d(), build_d_d_ea(), build_dbcc(), build_dbxx(), build_ea(), build_ea_a(), build_ea_ea(), build_er_1(), build_er_gen_1(), build_illegal(), build_imm(), build_imm_ea(), build_imm_special_reg(), build_init_op(), build_invalid(), build_link(), build_mm(), build_move16(), build_movem_er(), build_movem_re(), build_movep_er(), build_movep_re(), build_moves(), build_pi_pi(), build_r(), build_re_1(), build_re_gen_1(), build_regs_read_write_counts(), build_relative_branch(), build_rr(), build_trap(), clusterCommand(), core_bin_file_print(), core_file_do_load_for_debug(), core_file_do_load_for_io_plugin(), create_agraph_from_graph(), cris_parse_disassembler_options(), d68000_1010(), d68000_1111(), d68000_abcd_mm(), d68000_abcd_rr(), d68000_add_er_16(), d68000_add_er_32(), d68000_add_er_8(), d68000_add_re_16(), d68000_add_re_32(), d68000_add_re_8(), d68000_adda_16(), d68000_adda_32(), d68000_addi_16(), d68000_addi_32(), d68000_addi_8(), d68000_addq_16(), d68000_addq_32(), d68000_addq_8(), d68000_addx_mm_16(), d68000_addx_mm_32(), d68000_addx_mm_8(), d68000_addx_rr_16(), d68000_addx_rr_32(), d68000_addx_rr_8(), d68000_and_er_16(), d68000_and_er_32(), d68000_and_er_8(), d68000_and_re_16(), d68000_and_re_32(), d68000_and_re_8(), d68000_andi_16(), d68000_andi_32(), d68000_andi_8(), d68000_andi_to_ccr(), d68000_andi_to_sr(), d68000_asl_ea(), d68000_asl_r_16(), d68000_asl_r_32(), d68000_asl_r_8(), d68000_asl_s_16(), d68000_asl_s_32(), d68000_asl_s_8(), d68000_asr_ea(), d68000_asr_r_16(), d68000_asr_r_32(), d68000_asr_r_8(), d68000_asr_s_16(), d68000_asr_s_32(), d68000_asr_s_8(), d68000_bcc_16(), d68000_bcc_8(), d68000_bchg_r(), d68000_bchg_s(), d68000_bclr_r(), d68000_bclr_s(), d68000_bra_16(), d68000_bra_8(), d68000_bset_r(), d68000_bset_s(), d68000_bsr_16(), d68000_bsr_8(), d68000_btst_r(), d68000_btst_s(), d68000_chk_16(), d68000_clr_16(), d68000_clr_32(), d68000_clr_8(), d68000_cmp_16(), d68000_cmp_32(), d68000_cmp_8(), d68000_cmpa_16(), d68000_cmpa_32(), d68000_cmpi_16(), d68000_cmpi_32(), d68000_cmpi_8(), d68000_cmpm_16(), d68000_cmpm_32(), d68000_cmpm_8(), d68000_dbcc(), d68000_dbra(), d68000_divs(), d68000_divu(), d68000_eor_16(), d68000_eor_32(), d68000_eor_8(), d68000_eori_16(), d68000_eori_32(), d68000_eori_8(), d68000_eori_to_ccr(), d68000_eori_to_sr(), d68000_exg_aa(), d68000_exg_da(), d68000_exg_dd(), d68000_ext_16(), d68000_ext_32(), d68000_illegal(), d68000_invalid(), d68000_jmp(), d68000_jsr(), d68000_lea(), d68000_link_16(), d68000_lsl_ea(), d68000_lsl_r_16(), d68000_lsl_r_32(), d68000_lsl_r_8(), d68000_lsl_s_16(), d68000_lsl_s_32(), d68000_lsl_s_8(), d68000_lsr_ea(), d68000_lsr_r_16(), d68000_lsr_r_32(), d68000_lsr_r_8(), d68000_lsr_s_16(), d68000_lsr_s_32(), d68000_lsr_s_8(), d68000_move_16(), d68000_move_32(), d68000_move_8(), d68000_move_fr_sr(), d68000_move_fr_usp(), d68000_move_to_ccr(), d68000_move_to_sr(), d68000_move_to_usp(), d68000_movea_16(), d68000_movea_32(), d68000_movem_er_16(), d68000_movem_er_32(), d68000_movem_pd_16(), d68000_movem_pd_32(), d68000_movem_re_16(), d68000_movem_re_32(), d68000_movep_er_16(), d68000_movep_er_32(), d68000_movep_re_16(), d68000_movep_re_32(), d68000_moveq(), d68000_muls(), d68000_mulu(), d68000_nbcd(), d68000_neg_16(), d68000_neg_32(), d68000_neg_8(), d68000_negx_16(), d68000_negx_32(), d68000_negx_8(), d68000_nop(), d68000_not_16(), d68000_not_32(), d68000_not_8(), d68000_or_er_16(), d68000_or_er_32(), d68000_or_er_8(), d68000_or_re_16(), d68000_or_re_32(), d68000_or_re_8(), d68000_ori_16(), d68000_ori_32(), d68000_ori_8(), d68000_ori_to_ccr(), d68000_ori_to_sr(), d68000_pea(), d68000_reset(), d68000_rol_ea(), d68000_rol_r_16(), d68000_rol_r_32(), d68000_rol_r_8(), d68000_rol_s_16(), d68000_rol_s_32(), d68000_rol_s_8(), d68000_ror_ea(), d68000_ror_r_16(), d68000_ror_r_32(), d68000_ror_r_8(), d68000_ror_s_16(), d68000_ror_s_32(), d68000_ror_s_8(), d68000_roxl_ea(), d68000_roxl_r_16(), d68000_roxl_r_32(), d68000_roxl_r_8(), d68000_roxl_s_16(), d68000_roxl_s_32(), d68000_roxl_s_8(), d68000_roxr_ea(), d68000_roxr_r_16(), d68000_roxr_r_32(), d68000_roxr_r_8(), d68000_roxr_s_16(), d68000_roxr_s_32(), d68000_roxr_s_8(), d68000_rte(), d68000_rtr(), d68000_rts(), d68000_sbcd_mm(), d68000_sbcd_rr(), d68000_scc(), d68000_stop(), d68000_sub_er_16(), d68000_sub_er_32(), d68000_sub_er_8(), d68000_sub_re_16(), d68000_sub_re_32(), d68000_sub_re_8(), d68000_suba_16(), d68000_suba_32(), d68000_subi_16(), d68000_subi_32(), d68000_subi_8(), d68000_subq_16(), d68000_subq_32(), d68000_subq_8(), d68000_subx_mm_16(), d68000_subx_mm_32(), d68000_subx_mm_8(), d68000_subx_rr_16(), d68000_subx_rr_32(), d68000_subx_rr_8(), d68000_swap(), d68000_tas(), d68000_trap(), d68000_trapv(), d68000_tst_16(), d68000_tst_32(), d68000_tst_8(), d68000_unlk(), d68010_bkpt(), d68010_move_fr_ccr(), d68010_movec(), d68010_moves_16(), d68010_moves_32(), d68010_moves_8(), d68010_rtd(), d68020_bcc_32(), d68020_bfchg(), d68020_bfclr(), d68020_bfexts(), d68020_bfextu(), d68020_bfffo(), d68020_bfins(), d68020_bfset(), d68020_bftst(), d68020_bra_32(), d68020_bsr_32(), d68020_callm(), d68020_cas2_16(), d68020_cas2_32(), d68020_cas_16(), d68020_cas_32(), d68020_cas_8(), d68020_chk2_cmp2_16(), d68020_chk2_cmp2_32(), d68020_chk2_cmp2_8(), d68020_chk_32(), d68020_cmpi_pcdi_16(), d68020_cmpi_pcdi_32(), d68020_cmpi_pcdi_8(), d68020_cmpi_pcix_16(), d68020_cmpi_pcix_32(), d68020_cmpi_pcix_8(), d68020_cpbcc_16(), d68020_cpbcc_32(), d68020_cpdbcc(), d68020_cpgen(), d68020_cprestore(), d68020_cpsave(), d68020_cpscc(), d68020_cptrapcc_0(), d68020_cptrapcc_16(), d68020_cptrapcc_32(), d68020_divl(), d68020_extb_32(), d68020_link_32(), d68020_mull(), d68020_pack_mm(), d68020_pack_rr(), d68020_rtm(), d68020_trapcc_0(), d68020_trapcc_16(), d68020_trapcc_32(), d68020_tst_a_16(), d68020_tst_a_32(), d68020_tst_i_16(), d68020_tst_i_32(), d68020_tst_i_8(), d68020_tst_pcdi_16(), d68020_tst_pcdi_32(), d68020_tst_pcdi_8(), d68020_tst_pcix_16(), d68020_tst_pcix_32(), d68020_tst_pcix_8(), d68020_unpk_mm(), d68020_unpk_rr(), d68040_cinv(), d68040_cpush(), d68040_move16_ai_al(), d68040_move16_al_ai(), d68040_move16_al_pi(), d68040_move16_pi_al(), d68040_move16_pi_pi(), decode_auipc_set_addr(), decode_disp_set_addr(), decode_from_table(), decode_ldr_set_addr(), decode_lui_set_addr(), decode_pcp_insn(), decode_ptr_set_addr(), decode_sve_aimm(), decode_tricore_insn(), decode_val_add_addr(), decode_val_set_addr(), decode_val_set_size(), decompress_file_allocDst(), dsmOneArcInst(), expand_info(), extract_slice(), fetch_data(), fill_pid_info(), fmove_fpcr(), fmovem(), fput_const(), fput_creg(), fput_fp_reg(), fput_fp_reg_r(), fput_reg(), fs__scandir(), fs__unlink(), FUZZ_dataProducer_frameInfo(), FUZZ_randomFrameInfo(), get_block_size(), get_dt_info(), get_ea_mode_op(), get_filename(), get_frame_base(), get_full_file_path(), get_kernel_base(), get_main_arena_with_symbol(), get_sym_code_type(), get_with_index_address_mode(), GetHeapBlocks(), GetHeapGlobalsOffset(), go_is_sign_match(), golang_recover_string_arm32(), golang_recover_string_arm64(), golang_recover_string_mips32(), golang_recover_string_mips64(), golang_recover_string_ppc64(), golang_recover_string_riscv64(), golang_recover_string_x64(), golang_recover_string_x86(), handle_arm_hint(), hash_append(), index_cat_helper(), init_symbols_info_aux(), initializeEsil(), instruction_is_valid(), linux_add_new_thread(), linux_pid_list(), linux_thread_list(), m68k_disassemble(), M68K_getInstruction(), M68K_printInst(), m68k_read_disassembler_16(), m68k_read_disassembler_32(), m68k_read_disassembler_64(), m68k_read_safe_16(), m68k_read_safe_32(), m68k_read_safe_64(), m68k_setup_internals(), mach0_info_free(), main(), meta_for_reloc(), nios2_disassemble(), nios2_print_insn_arg(), parse_comp_unit(), parse_die(), parse_info_raw(), parse_line_raw(), parse_opcodes(), parse_relocation_info(), peek_imm_16(), peek_imm_32(), peek_imm_64(), peek_imm_8(), print_aarch64_insn(), print_arch(), print_comment(), print_decoded_insn(), print_insn_aarch64(), print_insn_aarch64_word(), print_insn_arg(), print_insn_args(), print_insn_big_mips(), print_insn_big_nios2(), print_insn_cris_generic(), print_insn_cris_with_register_prefix(), print_insn_cris_without_register_prefix(), print_insn_crisv10_v32_with_register_prefix(), print_insn_crisv10_v32_without_register_prefix(), print_insn_crisv32_with_register_prefix(), print_insn_crisv32_without_register_prefix(), print_insn_data(), print_insn_hppa(), print_insn_lanai(), print_insn_little_mips(), print_insn_little_nios2(), print_insn_mips(), print_insn_mips16(), print_insn_mode(), print_insn_nios2(), print_insn_sparc(), print_insn_tricore(), print_insn_vax(), print_insn_xtensa(), print_mips16_insn_arg(), print_mnemonic_name(), print_operands(), print_with_operands(), print_xtensa_operand(), read_imm_16(), read_imm_32(), read_imm_64(), read_imm_8(), read_slot16(), read_slot32(), read_unwind_info(), rebase_info_populate(), rtti_itanium_type_info_free(), run_old_command(), rz_analysis_dwarf_process_info(), rz_analysis_function_list_ascii_handler(), rz_bin_dwarf_line_header_get_full_file_path(), rz_bin_dwarf_line_op_run(), rz_bin_dwarf_parse_info(), rz_bin_dwarf_parse_line(), rz_bin_elf_get_dt_info(), rz_bin_file_set_hashes(), rz_bin_language_detect(), rz_bin_mdmp_init_directory_entry(), rz_bin_object_find_by_arch_bits(), rz_bin_pdb_download(), rz_cmd_info_hashes_handler(), rz_cmd_info_section_bars_handler(), rz_cons_get_cur_line(), rz_core_analysis_bbs_asciiart(), rz_core_bin_apply_all_info(), rz_core_bin_apply_config(), rz_core_bin_apply_dwarf(), rz_core_bin_apply_imports(), rz_core_bin_apply_info(), rz_core_bin_apply_resources(), rz_core_bin_apply_symbols(), rz_core_bin_archs_print(), rz_core_bin_info_print(), rz_core_bin_load(), rz_core_bin_pdb_get_filename(), rz_core_file_info_print(), rz_core_flirt_dump_file(), rz_core_io_map_info_free(), rz_core_io_map_info_new(), rz_coresym_cache_element_new(), rz_debug_dmp_init(), rz_debug_traces_info(), rz_dyld_locsym_new(), rz_graph_free_node_info(), rz_listinfo_free(), rz_listinfo_new(), rz_open_binary_list_ascii_handler(), rz_open_maps_list_ascii_handler(), rz_serialize_result_info_free(), rz_sign_flirt_info_fini(), rz_sign_flirt_parse_compressed_pattern_from_buffer(), rz_sign_flirt_parse_header_compressed_pattern_from_buffer(), rz_sign_flirt_parse_string_pattern_from_buffer(), rz_table_visual_list(), rz_th_physical_core_number(), sep64_xtr_ctx_get_slice(), set_default_mips_dis_options(), set_insn_group(), setup_workers(), sigdb_signature_resolve_details(), store_line_sample(), task_suspend_count(), trycatch(), unwind_function(), update_am_reg_list(), update_bits_range(), update_op_reg_list(), update_reg_list_regbits(), uv__fd_hash_add(), uv__fd_hash_get(), uv__fd_hash_remove(), uv__init_global_job_handle(), uv_cpu_info(), uv_get_free_memory(), uv_get_total_memory(), uv_loadavg(), uv_resident_set_memory(), uv_spawn(), uv_tty_clear(), uv_tty_get_winsize(), uv_tty_make_real_coord(), uv_tty_move_caret(), uv_tty_restore_state(), uv_tty_save_state(), uv_tty_set_style(), uv_tty_update_virtual_window(), uv_udp_set_socket(), uv_uptime(), uv_wsarecv_workaround(), uv_wsarecvfrom_workaround(), windbg_info(), xnu_dbg_maps(), xnu_dbg_modules(), and xnu_get_vmmap_entries_for_pid().
|
static |
Definition at line 35 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::rbin, rz_bin_ne_new_buf(), rz_return_val_if_fail, and rz_bin_t::verbose.
Definition at line 114 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_get_relocs().
Referenced by get_category_t(), get_class_t(), get_patchable_relocs(), get_relocs(), get_relocs_entry(), get_relocs_entry_from_dt_dynamic(), get_relocs_entry_from_dt_dynamic_aux(), get_relocs_entry_from_sections(), parse_categories(), parse_classes(), parse_relocation_info(), patch_relocs_in(), rz_bin_mdmp_pe_get_imports(), rz_bin_mz_get_relocs(), rz_bin_mz_get_segments(), rz_bin_ne_get_relocs(), rz_bin_reloc_storage_new(), rz_core_bin_apply_relocs(), and rz_core_bin_relocs_print().
Definition at line 110 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_get_segments().
Referenced by __dumpSections(), __save_old_sections(), check_rom_exists(), convert_sections(), convert_sections_from_shdr(), core_objc_new(), estimate_slide(), extract_sections_symbols(), get_number_of_segments(), get_sections(), get_sections_symbols_from_code_objects(), init(), init_phdr(), init_phdr_aux(), init_shdr(), init_shdr_aux(), init_shstrtab(), init_shstrtab_aux(), parse_categories(), parse_classes(), parse_symbol_table(), pyc_get_sections_symbols(), rebase_info_populate(), rebase_offset_to_paddr(), rz_analysis_vtable_search(), rz_bin_dex_sections(), rz_bin_elf_convert_sections(), rz_bin_elf_segments_new(), rz_bin_file_golang_compiler(), rz_bin_java_class_as_sections(), rz_bin_le_get_relocs(), rz_bin_maps_of_file_sections(), rz_bin_mdmp_pe_get_sections(), rz_bin_object_sections_mapping_list(), rz_bin_pe_check_sections(), rz_bin_pe_get_entrypoint(), rz_bin_pe_get_sections(), rz_bin_te_get_sections(), rz_bin_wasm_get_sections_by_id(), rz_cmd_info_section_bars_handler(), rz_core_bin_apply_sections(), rz_core_bin_sections_print(), rz_diff_sections_new(), rz_dyldcache_get_objc_opt_info(), rz_main_rizin(), and RZ_PACKED().
Definition at line 102 of file bin_ne.c.
References rz_bin_object_t::bin_obj, rz_bin_file_t::o, and rz_bin_ne_get_symbols().
Referenced by convert_elf_symbols_to_elf_imports(), core_print_2bpp_row(), extract_sections_symbols(), get_omf_symbol_info(), get_sections_symbols_from_code_objects(), get_symbols(), get_symbols_list(), pyc_get_sections_symbols(), rabin_dump_symbols(), resolve_import_cb(), rz_analyze_symbols_entries_handler(), rz_bin_dex_symbols(), rz_bin_mdmp_pe_get_symbols(), rz_bin_ne_get_relocs(), rz_bin_ne_get_symbols(), rz_cmd_debug_dmi(), rz_core_bin_apply_symbols(), rz_core_debug_bp_add_noreturn_func(), rz_diff_symbols_new(), rz_dyldcache_symbols_from_locsym(), rzfind_open_file(), symbols_print(), and ts_node_descendants_of_type_wasm().
RZ_API RzLibStruct rizin_plugin |
RzBinPlugin rz_bin_plugin_ne |