Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | MEMBLOCK |
Macros | |
#define | _LIBC_POOL_TAG 'colM' |
Functions | |
EXTERN_C | __drv_when (return!=0, __drv_allocatesMem(pBlock)) __checkReturn __drv_maxIRQL(DISPATCH_LEVEL) __bcount_opt(size) void *__cdecl malloc(__in size_t size) |
EXTERN_C | __drv_when (return !=0, __drv_allocatesMem(p)) __checkReturn __drv_maxIRQL(DISPATCH_LEVEL) __bcount_opt(size *n) void *__cdecl calloc(size_t n |
if (!p) return NULL | |
return | memset (p, 0, total) |
EXTERN_C | __drv_when (return!=0, __drv_allocatesMem(inblock)) __checkReturn __drv_maxIRQL(DISPATCH_LEVEL) __bcount_opt(size) void *__cdecl realloc(__in_opt void *ptr |
memcpy (mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size)) | |
EXTERN_C | __drv_maxIRQL (DISPATCH_LEVEL) void __cdecl free(__inout_opt __drv_freesMem(Mem) void *ptr) |
__drv_when (return!=0, __drv_allocatesMem(ptr)) __checkReturn __drv_maxIRQL(DISPATCH_LEVEL) __bcount_opt(size) void *__cdecl operator new(__in size_t size) | |
int __cdecl | vsnprintf (char *buffer, size_t count, const char *format, va_list argptr) |
Variables | |
EXTERN_C size_t | size |
void * | p = malloc(total) |
std::unique_ptr< unsigned char > | inblock = std::unique_ptr<unsigned char>(static_cast<unsigned char*>(ptr)) |
void * | mem = malloc(size) |
Definition in file libc.cpp.
__drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
EXTERN_C __drv_when | ( | return ! | = 0 , |
__drv_allocatesMem(p) | |||
) |
EXTERN_C __drv_when | ( | return! | = 0 , |
__drv_allocatesMem(pBlock) | |||
) |
Definition at line 29 of file libc.cpp.
References _LIBC_POOL_TAG, ExAllocatePoolWithTag, NT_SUCCESS, MEMBLOCK::size, and size.
|
new |
if | ( | ! | p | ) |
Referenced by __expandLine(), __handleComment(), __open(), __rap_system(), __read(), __reg_read(), __resize(), __write(), _createKDNetPacket(), _decrypt(), _encrypt(), _getopt_initialize(), _initializeDatakey(), _sendResponsePacket(), _set_initial_registers(), _zip_buffer_put(), _zip_buffer_read(), _zip_dirent_clone(), _zip_memdup(), _zip_read_data(), _zip_source_window_new(), _zip_string_new(), _zip_winzip_aes_new(), add_fi(), addpoint(), aes_cbc_set_iv(), analysis_block_cb(), analysis_mask(), analysis_pic_pic18_op(), annotated_hexdump(), apprentice_load(), arc_buffer_read_memory(), arch_parse_reg_profile(), array__assign(), array__splice(), backtrace_windows_x64(), basicTests(), bfvm_new(), bin_pe_parse_imports(), block_buffer_encode(), block_encode(), block_encode_uncompressed(), blowfish_init_state(), bochs_wait(), bsd_desc_list(), buf_read(), buf_sparse_read(), buffer_putalign(), buffer_read(), buffer_write(), build(), cabx_copy(), cdb_read(), child_fork(), clusterBuildMessageHdr(), clusterLoadConfig(), clusterProcessGossipSection(), clusterProcessPacket(), clusterRenameNode(), clusterSendFail(), clusterSendPublish(), clusterSendUpdate(), clusterSetGossipEntry(), clusterStartHandshake(), cmd_print_format(), compress_read(), compressed_name(), cons_stack_dump(), cons_stack_load(), copy_object(), copy_string_n(), core_analysis_graph_label(), createClusterNode(), cris_buffer_read_memory(), cs_disasm(), cs_disasm_iter(), d_growable_string_append_buffer(), dcpu16_assemble(), debug_qnx_read_at(), decode_buffer(), decode_ins(), dem_str_append(), dem_str_replace(), dem_string_append_n(), describe_xbe_lib_at(), deserialize_checkpoints_cb(), determine_disassembling_preference(), dict_repeat(), disassemble(), dupl(), emit_string(), endbr32(), endbr64(), EVM_getInstruction(), exchange(), file_getbuffer(), file_vprintf(), fill_insn(), find_autocomplete(), find_cabinet_file(), findInterface(), flirt_create_child(), foreach_list_cb(), fs__capture_path(), fs__read_filemap(), fs__write_filemap(), FUZ_test(), FUZ_unitTests(), fuzzerTests(), gdbr_parse_processes_xml(), gdbr_parse_target_xml(), gdbr_read_feature(), gdbr_read_memory_page(), gdbr_read_registers(), gdbr_read_registers_lldb(), gdbr_write_reg(), gdbr_write_registers(), get_namespace_and_name(), get_nb10(), get_omf_symbol_info(), get_operator_code(), get_rebase_infos(), get_relocs_list_cb(), get_rsds(), get_thread_context(), getInstruction(), getpcfromstack(), getstring(), go_is_sign_match(), go_string(), guess_next_autocmplt_token(), gz_look(), gz_read(), gz_write(), gzgets(), handle_lldb_read_reg(), handle_vFile_pread(), hash_parse_string(), hash_print_crypto(), hex_add_to_pkt(), hex_add_to_stale_pkt(), hex_to_new_pkt(), hexagon_reverse_opcode(), hppa_buffer_read_memory(), i8051_op(), index_dup_stream(), inet_pton4(), inet_pton6(), info(), init_dasm(), input(), insert_kv(), interpretLink(), io_memory_read(), io_memory_resize(), io_memory_write(), iob_net_read(), iob_net_write(), kd_read_packet(), lanai_buffer_read_memory(), lbuf_strcat(), linux_desc_list(), linux_reg_read(), LLVMFuzzerTestOneInput(), load_buffer(), load_omf_lnames(), load_omf_symb(), load_process_final_line(), lua_load_next_arg_start(), LZ4F_compressUpdate(), LZ4F_createCDict(), LZ4F_decodeHeader(), LZ4F_decompress(), LZ4F_makeBlock(), LZ4F_updateDict(), LZ4HC_compress_generic_dictCtx(), LZ4HC_compress_hashChain(), LZ4HC_compress_optimal(), LZ4IO_createDict(), LZ4IO_decompressMultipleFilenames(), lz_encoder_init(), LZMA_API(), lzma_bufcpy(), lzma_lz_decoder_init(), lzma_lzma_optimum_normal(), lzma_sha256_init(), lzma_sha256_update(), M(), M68K_printInst(), m_copy(), main(), makeSockaddr(), mcopy(), md5_finish_ctx(), md5_process_bytes(), mem_copy(), mf_read(), mips_buffer_read_memory(), mkdbname(), mpc_export(), mpc_input_state_copy(), mpc_optimise_unretained(), mpc_parse_run(), mpc_realloc(), msp_copy(), nios2_buffer_read_memory(), nodeIp2String(), nodeUpdateAddressIfNeeded(), nto_send_arg(), nto_send_env(), os390_readlink(), parse(), parse_ext_opcode(), parse_segments(), parse_symbol_table(), paste(), populate_cache_headers(), print_trampolines(), process(), qnxr_read_memory(), qnxr_read_registers(), qnxr_write_memory(), qnxr_write_register(), rax(), rc2_dcrypt(), rc2_expandKey(), RDG_genOut(), read16ne(), read32ne(), read64ne(), read_ahead(), read_at(), read_bin(), read_data(), read_file(), read_image_section_header(), ReadKernelMemory(), readline_callback(), ReadMemory(), realloc(), recover_string_at(), reset_once(), riscv_dis(), rtr_visual(), rtti_msvc_read_type_descriptor(), run_old_command(), rz_analysis_cond_clone(), rz_analysis_data_new(), rz_analysis_data_new_string(), rz_analysis_diff_fingerprint_bb(), rz_analysis_diff_fingerprint_fcn(), rz_analysis_esil_trace_new(), rz_analysis_esil_trace_restore(), rz_analysis_op_to_string(), rz_analysis_rzil_trace_new(), rz_analysis_value_copy(), rz_asm_massemble(), rz_asm_mdisassemble(), rz_asm_pseudo_fill(), rz_asn1_concatenate_strings(), rz_asn1_create_binary(), rz_big_assign(), rz_bin_dex_sha1(), rz_bin_pe_get_exports(), rz_bin_pe_get_sections(), rz_bin_pemixed_init_native(), rz_bin_plugin_add(), rz_bin_te_get_sections(), rz_bitmap_set_bytes(), rz_bp_add(), rz_bp_get_bytes(), rz_bp_plugin_add(), rz_bv_copy(), rz_cmd_alias(), rz_cmd_macro_cmd_args(), rz_cmd_search(), rz_cons_canvas_to_string(), rz_cons_canvas_write(), rz_cons_column(), rz_cons_flush(), rz_cons_grep_line(), rz_cons_grepbuf(), rz_cons_memcat(), rz_cons_new(), rz_cons_pal_copy(), rz_core_hack_arm(), rz_core_hack_x86(), rz_core_print_disasm_all(), rz_core_rtr_http_run(), rz_core_serve(), rz_core_visual_bit_editor(), rz_core_visual_esil(), rz_crypto_append(), rz_crypto_new(), rz_debug_bf_reg_read(), rz_debug_bf_reg_write(), rz_debug_bochs_reg_read(), rz_debug_dmp_reg_read(), rz_debug_gdb_reg_read(), rz_debug_plugin_add(), rz_debug_qnx_reg_read(), rz_dyldcache_new_buf(), rz_file_relpath(), rz_fletcher32_update(), rz_fletcher64_update(), rz_hash_cfg_hmac(), rz_hex_bin2str(), rz_hex_bin2strdup(), rz_hex_str2binmask(), rz_hex_ut2st_str(), rz_il_vm_init(), rz_io_cache_read(), rz_io_cache_write(), rz_io_plugin_add(), rz_io_set_write_mask(), rz_line_autocomplete(), rz_line_readline_cb(), rz_MD5Update(), rz_mem_copy(), rz_mem_copybits(), rz_mem_dup(), rz_mem_swapendian(), rz_mem_swaporcopy(), rz_new_copy(), rz_num_math(), rz_print_delta_pointer_table_handler(), rz_print_hexpair(), rz_range_add_from_string(), rz_range_get_data(), rz_range_set_data(), rz_rap_packet_fill(), rz_reg_arena_dup(), rz_reg_arena_peek(), rz_reg_arena_poke(), rz_reg_arena_push(), rz_reg_arenas_write_hex_handler(), rz_reg_get_bytes(), rz_reg_get_double(), rz_reg_get_longdouble(), rz_reg_read_regs(), rz_reg_set_bytes(), rz_regex_new(), rz_search_deltakey_update(), rz_search_keyword_new(), rz_search_keyword_new_regexp(), rz_search_mybinparse_update(), rz_socket_http_handle_upload(), rz_socket_rap_client_command(), rz_socket_rap_client_open(), rz_socket_rap_client_write(), rz_str_ansi_crop(), rz_str_ansi_filter(), rz_str_append(), rz_str_escape_(), rz_str_home(), rz_str_ndup(), rz_str_newlen(), rz_str_prefix_all(), rz_str_replace(), rz_str_replace_icase(), rz_str_replace_thunked(), rz_str_word_get0set(), rz_strbuf_append(), rz_strbuf_append_n(), rz_strbuf_copy(), rz_strbuf_prepend(), rz_strbuf_reserve(), rz_strbuf_set(), rz_strbuf_setbin(), rz_strpool_memcat(), rz_strpool_slice(), rz_subprocess_start_opt(), rz_sys_run(), rz_sys_run_rop(), rz_syscmd_ls(), rz_table_column_clone(), rz_type_format_data_internal(), rz_vector_assign(), rz_vector_insert_range(), rz_vector_remove_range(), rz_xnu_get_cur_thread(), rzpipe_open_corebind(), rzpipe_write(), sanitize_cab_filename(), scandir(), sdb_array_add_sorted(), sdb_array_append(), sdb_array_get(), sdb_array_insert(), sdb_array_prepend(), sdb_array_set(), sdb_array_sort(), sdb_concat(), sdb_disk_create(), sdb_fmt_array(), sdb_lock_file(), sdb_new(), sdb_ns_new(), sdb_querys(), sdb_set_internal(), sdbkv_new2(), search_collisions(), selection_widget_select(), serpent_keyschedule(), set_mod_inf(), set_thread_context(), setup_new_instr(), SHA256_Final(), SHA256_Init(), SHA256_Update(), SHA384_Final(), SHA384_Init(), SHA512_Final(), SHA512_Init(), SHA512_Update(), simple_code(), socket_http_answer(), sparc_buffer_read_memory(), sparc_op(), sparse_write(), special(), SStream_concat0(), state_extDictHCRoundTrip(), state_extDictRoundTrip(), state_trimDict(), strbuf_append(), strbuf_rev_append_char(), strbuf_rev_prepend_char(), strcat_dup(), strdup_limit(), strdupn(), strings_print(), symbol_table_insert_name(), test_lz4f_decompression_wBuffers(), tokenize(), transform(), tricore_buffer_read_memory(), ts_external_scanner_state_copy(), ts_external_scanner_state_init(), ts_lexer_set_included_ranges(), ts_subtree_array_copy(), ts_subtree_clone(), ts_tree_new(), type_code_str_get(), uncompressed_name(), unpack(), update(), UTIL_createFileList(), uv__build_coalesced_write_req(), uv__convert_to_localhost_if_unspecified(), uv__getaddrinfo_done(), uv__getpwuid_r(), uv__pipe_getname(), uv__pipe_getsockpeername(), uv__random_sysctl(), uv__search_path(), uv__set_phys_addr(), uv__strdup(), uv__strndup(), uv__udp_send(), uv__udp_set_source_membership6(), uv_cpu_info(), uv_exepath(), uv_fs_event_getpath(), uv_fs_event_start(), uv_fs_event_stop(), uv_fs_poll_getpath(), uv_fs_poll_start(), uv_fs_read(), uv_fs_write(), uv_get_process_title(), uv_getaddrinfo(), uv_getnameinfo(), uv_if_indextoname(), uv_inet_pton(), uv_interface_addresses(), uv_ip6_addr(), uv_os_getenv(), uv_os_gethostname(), uv_os_homedir(), uv_os_tmpdir(), uv_process_tty_read_raw_req(), uv_set_process_title(), uv_setup_args(), uv_write2(), vax_buffer_read_memory(), vector_clone(), vector_quick_sort(), walk_namespace(), window_read(), winkd_read_reg(), winkd_write_reg(), write16ne(), write32ne(), write64ne(), write_data(), write_image_section_header(), WriteKernelMemory(), WriteMemory(), xap_op(), xnu_generate_corefile(), xnu_get_pid(), xnu_reg_read(), xnu_reg_write(), xnu_thread_list(), xor_init_state(), xstrdup(), xtensa_buffer_read_memory(), xtensa_op(), XXH32_canonicalFromHash(), XXH32_copyState(), XXH32_reset(), XXH64_canonicalFromHash(), XXH64_copyState(), XXH64_reset(), XXH_memcpy(), XXH_read32(), XXH_read64(), zip_source_buffer_fragment_with_attributes_create(), zip_source_file_common_new(), and zipRemoveExtraInfoBlock().
return memset | ( | p | , |
0 | , | ||
total | |||
) |
Referenced by __dismantle_panel(), __expandLine(), __open(), __rap_system(), __read(), __resize(), _analysis_calls(), _cb_hit(), _getopt_initialize(), _server_handle_g(), _write_asm(), _write_flag_bits(), _zip_crypto_aes_new(), _zip_d2u_time(), _zip_winzip_aes_new(), aarch64_opcode_decode(), allocate(), allocset(), alone_encoder_init(), analysis_mask(), analysis_mask_avr(), analysis_pic_midrange_extract_args(), annotated_hexdump(), arc_opcode_init_tables(), arcAnalyzeInstr(), arch_parse_reg_profile(), arch_xap_disasm(), ARCTangent_decodeInstr(), arm_opcode_parse(), array__splice(), avr_disassembler(), basicTests(), been_here(), bfvm_init(), bfvm_reset(), blowfish_init_state(), BMK_benchMem(), bochs_open(), bochs_reset_buffer(), buf_bytes_resize(), buf_sparse_read(), buffer_read(), buffer_write(), build_hash_table(), chmd_fast_find(), clusterBuildMessageHdr(), clusterCloseAllSlots(), clusterCommand(), clusterInit(), clusterSaveConfig(), clusterStartHandshake(), compute_log(), copy_string_n(), core_recover_golang_functions_go_1_16(), core_recover_golang_functions_go_1_18(), core_recover_golang_functions_go_1_2(), cr16_op(), createClusterNode(), cs_close(), cs_disasm(), decode_addressing_mode(), decode_instruction(), determine_disassembling_preference(), diff_hexdump_partial(), disassemble(), do_syscall_search(), drx_init(), ds_atabs_option(), ds_print_cycles(), ds_print_indent(), ds_print_offset(), ds_print_trace(), ds_show_functions(), emit_string(), ensure_addr_hint_record(), ensure_ranged_hint_record(), EVM_getInstruction(), exchange(), expand_abbrev_decl(), expand_cu(), expand_debug_abbrev(), expand_info(), fetch_data(), file_getbuffer(), file_or_fd(), filter(), find_instruction(), fs__read(), fs__readdir(), fs__write(), FUZ_unitTests(), FUZZ_decompressFrame(), fuzzerTests(), gb_anop(), gdbr_exec_file_read(), gdbr_init(), gdbr_read_registers(), gdbr_write_register(), gdbr_write_registers(), get_ibmi_physical_address(), get_ibmi_system_status(), get_ivar_list_t(), get_long_object(), get_mem_info(), get_method_list_t(), get_namespace_and_name(), get_objc_property_list(), get_protocol_list_t(), get_src_regname(), get_state(), get_template(), getexe(), go_is_sign_match(), gz_zero(), handle_lldb_read_reg(), handle_stop_reason(), hud_filter(), id_storage_reallocate(), inet_ntop6(), inet_pton6(), info(), init_cv_nb10_header(), init_dasm(), init_hash_tables(), init_rsdr_hdr(), interpretAddr(), interpretLink(), io_memory_read(), io_memory_resize(), iob_pipe_open(), lang_pipe_run(), linux_reg_read(), LLVMFuzzerTestOneInput(), lua53_anal_op(), lua54_anal_op(), LZ4IO_compressFilename_extRess(), lzh_decompress(), lzss_decompress(), M(), m68k_disassemble(), M68K_getInstruction(), main(), make_discover_msg(), maybe_new_socket(), MCInst_Init(), mcopy(), mips_assemble(), mpc_calloc(), mpc_input_new_file(), mpc_input_new_nstring(), mpc_input_new_pipe(), mpc_input_new_string(), msp430_op(), msp_alloc(), msp_free(), myregwrite(), netlink_send(), netlink_socket(), new_socket(), next_inst(), oid_storage_preallocate(), parse(), parse_die(), parse_dylib(), parser__lex(), print_insn_cris_generic(), print_insn_tricore(), print_insn_xtensa(), print_totals_basic(), printCol(), proc_mem_img(), propeller_op(), qnxr_init(), qnxr_read_registers(), rax(), RDG_genBlock(), read_chunk(), read_image_metadata_tilde_header(), ReadKernelMemory(), ReadMemory(), reconstruct_chained_fixup(), recovery_type_descriptor_new(), rizin_compare_words(), rsp_op(), runcmd(), rz_analysis_data_new(), rz_analysis_diff_fingerprint_bb(), rz_analysis_function_cost(), rz_analysis_mask(), rz_analysis_op_free(), rz_analysis_op_init(), rz_analysis_reflines_get(), rz_analysis_reflines_str(), rz_asm_assemble(), rz_asm_massemble(), rz_asm_op_init(), rz_asn1_print_hexdump_padded(), rz_asn1_stringify_bytes(), rz_asn1_stringify_integer(), rz_big_from_hexstr(), rz_bin_elf_get_ehdr(), rz_bin_options_init(), rz_bp_add_sw(), rz_bp_new(), rz_bp_traptrace_add(), rz_bp_traptrace_reset(), rz_buf_read(), rz_bv_fini(), rz_bv_init(), rz_bv_set_all(), rz_cmd_cmp_hex_block_handler(), rz_cmd_cmp_hex_diff_lines_handler(), rz_cmd_state_output_init(), rz_cons_canvas_box(), rz_cons_canvas_clear(), rz_cons_canvas_fill(), rz_cons_clear_line(), rz_cons_fill_line(), rz_cons_memset(), rz_cons_pal_copy(), rz_cons_pal_init(), rz_cons_push(), rz_cons_visual_write(), rz_core_analysis_data(), rz_core_analysis_get_stats(), rz_core_analysis_search_xrefs(), rz_core_asm_back_disassemble(), rz_core_asm_back_disassemble_all(), rz_core_block_size(), rz_core_cmp_disasm_print(), rz_core_debug_plugins_print(), rz_core_file_reopen(), rz_core_print_disasm(), rz_core_rtr_gdb_cb(), rz_core_rtr_http_run(), rz_core_rtr_remove(), rz_core_search_value_in_range(), rz_core_syscall_as_string(), rz_core_visual_bit_editor(), rz_debug_gdb_reg_read(), rz_debug_gdb_reg_write(), rz_debug_qnx_reg_read(), rz_debug_qnx_reg_write(), rz_diff_file_open(), rz_diff_parse_arguments(), rz_egg_padding(), rz_entropy_init(), rz_fletcher16_init(), rz_fletcher32_init(), rz_fletcher32_update(), rz_fletcher64_init(), rz_fletcher64_update(), rz_fletcher8_init(), rz_getopt_init(), rz_hash_cfg_hmac(), rz_hash_cfg_randomart(), rz_il_var_set_init(), rz_io_nread_at(), rz_io_pread_at(), rz_io_read_at_mapped(), rz_io_vread_at_mapped(), rz_line_readline_cb(), rz_main_rz_agent(), rz_mem_memzero(), rz_pkcs7_parse_digestalgorithmidentifier(), rz_pkcs7_parse_signeddata(), rz_print_new(), rz_pvector_new_with_len(), rz_reg_arena_zero(), rz_reg_fit_arena(), rz_reg_read_regs(), rz_reg_set_bytes(), rz_regex_comp(), rz_regs_columns_handler(), rz_run_reset(), rz_sign_flirt_info_fini(), rz_sign_flirt_parse_string_pattern_from_buffer(), rz_sign_flirt_write_compressed_pattern_to_buffer(), rz_socket_connect(), rz_socket_http_accept(), rz_socket_listen(), rz_socket_rap_client_open(), rz_socket_to_string(), rz_str_pad(), rz_str_scale(), rz_strbuf_init(), rz_type_format_data_internal(), rz_x509_parse_crl(), rzfind_options_init(), rzk__read(), sdb_array_sort_num(), sdb_fini(), sdb_fmt_init(), sections(), SHA256_Final(), SHA384_End(), SHA384_Final(), SHA384_Init(), SHA512_Last(), slurp(), source_nul_cb(), stdin_gets(), str_split_list_common_regex(), swap_big_regs(), test_lz4f_decompression_wBuffers(), tms320_dasm_fini(), tuklib_mbstr_width(), update(), uv__fast_poll_submit_poll_req(), uv__fs_futime(), uv__fs_utime(), uv__handle_type(), uv__init_global_job_handle(), uv__init_overlapped_dummy(), uv__interface_addresses_v6(), uv__io_check_fd(), uv__io_poll(), uv__pipe_getsockpeername(), uv__pipe_write_data(), uv__pipe_write_ipc(), uv__platform_invalidate_fd(), uv__random_sysctl(), uv__send(), uv__set_phys_addr(), uv__signal_handler(), uv__signal_register_handler(), uv__signal_unregister_handler(), uv__udp_disconnect(), uv__udp_maybe_deferred_bind(), uv__udp_recvmsg(), uv__udp_sendmsg(), uv__udp_set_membership4(), uv__udp_set_membership6(), uv__udp_set_source_membership4(), uv__udp_set_source_membership6(), uv__udp_try_send(), uv__write(), uv_cpu_info(), uv_fs_event_queue_readdirchanges(), uv_fs_event_start(), uv_fs_req_init(), uv_getrusage(), uv_interface_addresses(), uv_ip4_addr(), uv_ip6_addr(), uv_loop_close(), uv_loop_init(), uv_pipe_bind(), uv_pipe_chmod(), uv_pipe_connect(), uv_pipe_queue_accept(), uv_pipe_queue_read(), uv_process_udp_recv_req(), uv_set_process_title(), uv_tcp_queue_accept(), uv_tcp_queue_read(), uv_tcp_try_connect(), uv_tcp_write(), uv_tty_init(), uv_tty_queue_read_line(), uv_tty_queue_read_raw(), uv_tty_read_stop(), uv_udp_queue_recv(), uv_udp_set_multicast_interface(), v810_op(), v850_op(), w32_dbg_wait(), w32_detach(), windbg_map_get(), winkd_write_at_phys(), xap_op(), xnu_dbg_modules(), xrefs_graph(), xtensa_insnbuf_from_chars(), xtensa_op(), XXH32_reset(), XXH64_reset(), yxml_init(), yxml_refstart(), zip_secure_random(), and zipRemoveExtraInfoBlock().
Definition at line 135 of file libc.cpp.
References count.
Definition at line 91 of file libc.cpp.
Referenced by __generic_ld_st(), _restore_memory_cb(), _zip_memdup(), add_mem_change(), analop(), anop(), anop32(), anop_esil(), been_here(), bfvm_dec(), bfvm_inc(), bin_memory_print_rec(), cs_option(), d_pointer_to_member_type(), deserialize_memory_cb(), esil_add_mem_trace(), examine(), op0_memimmhandle(), op1_memimmhandle(), read_off64(), rz_analysis_il_trace_add_mem(), rz_bin_mem_free(), rz_debug_session_add_mem_change(), rz_il_mem_free(), rz_il_mem_key_len(), rz_il_mem_load(), rz_il_mem_loadw(), rz_il_mem_store(), rz_il_mem_storew(), rz_il_op_new_load(), rz_il_op_new_loadw(), rz_il_op_new_store(), rz_il_op_new_storew(), rz_il_validate_global_context_new_from_vm(), rz_il_vm_add_mem(), rz_il_vm_mem_load(), rz_il_vm_mem_loadw(), rz_il_vm_mem_store(), rz_il_vm_mem_storew(), sdb_stats(), serialize_memory_cb(), set_access_info(), set_src_dst(), sh_il_tas(), tuklib_physmem(), and type_pos_hit().
void* p = malloc(total) |
Definition at line 67 of file libc.cpp.
Referenced by _6502_tokenize(), __adjust_side_panels(), __already_loaded(), __check_func_diff(), __clear_panels_menu(), __config_toggle_cb(), __config_value_cb(), __core_visual_gogo(), __create_default_panels(), __dismantle_del_panel(), __dismantle_panel(), __fix_layout_h(), __fix_layout_w(), __get_panel_idx_in_pos(), __getAnsiPiece(), __handle_mouse(), __handleComment(), __handlePrompt(), __init_panel_param(), __layout_default(), __load_cmdf(), __malloc0(), __matchString(), __move_to_direction(), __open(), __open_menu_cb(), __panels_process(), __print_default_cb(), __print_disasmsummary_cb(), __print_disassembly_cb(), __print_graph_cb(), __print_hexdump_cb(), __print_stack_cb(), __r_debug_pid_new(), __rap_open(), __reset_scroll_pos(), __resize_panel_down(), __resize_panel_left(), __resize_panel_right(), __resize_panel_up(), __rotate_asmemu(), __rotate_disasm_cb(), __rotate_hexdump_cb(), __rotate_panel_cmds(), __set_addr_by_type(), __set_cmd_str_cache(), __set_cursor(), __set_dcb(), __set_pcb(), __set_rcb(), __set_read_only(), __set_refresh_by_type(), __settings_colors_cb(), __split_panel_horizontal(), __split_panel_vertical(), __toggle_cache(), __toggle_help(), __update_disassembly_or_open(), __update_help(), __update_menu_contents(), _cb_hit(), _find_next_number(), _getopt_internal(), _getopt_internal_r(), _handle_arm_thumb(), _zip_hash_revert(), _zip_memmem(), _zip_name_locate(), add_fi(), adjust_directions(), adjust_offset(), Aindexof(), allocset(), analPathFollow(), analPaths(), analysis_pic_midrange_get_reg_profile(), analysis_pic_pic18_get_reg_profile(), apprentice_load(), arc_sprintf(), arch_parse_reg_profile(), arm_tokenize(), atomic_dec(), atomic_inc(), atomic_load(), gzfilebuf::attach(), autocmplt_cmd_arg_macro(), autocmplt_cmd_arg_rznum(), autocomplete_macro(), autocomplete_process_path(), avr_tokenize(), bfd_get_bits(), bfd_getb16(), bfd_getb32(), bfd_getl16(), bfd_getl32(), bin_obj_va2pa(), bothcases(), bsd_pid_list(), buffer_flush(), cabd_find(), categorize(), cb_asmarch(), check_buffer(), check_label(), checkSparse(), chmd_fast_find(), chmd_read_headers(), clusterLoadConfig(), cmd_analysis_trampoline(), cmd_descriptor_init(), cmd_print_bars(), cmd_print_pv(), core_analysis_name_print(), count_newlines(), cplus_demangle_fill_ctor(), cplus_demangle_fill_dtor(), cplus_demangle_fill_extended_operator(), cplus_demangle_fill_name(), cplus_demangle_mangled_name(), create_output_name(), cursor_nextrow(), cursor_ocur(), cursor_prevrow(), d_exprlist(), d_java_resource(), d_make_builtin_type(), d_make_character(), d_make_comp(), d_make_ctor(), d_make_default_arg(), d_make_dtor(), d_make_empty(), d_make_extended_operator(), d_make_function_param(), d_make_name(), d_make_operator(), d_make_sub(), d_make_template_param(), d_operator_name(), d_print_array_type(), d_print_function_type(), d_print_java_identifier(), d_substitution(), dalvik_assemble(), dalvik_tokenize(), dcpu16_assemble(), decodeULEB128(), DEFINE_HANDLE_TS_FCN_AND_SYMBOL(), dem_str_newf(), dem_str_replace(), desc_list_cb(), desc_list_quiet_cb(), desc_list_visual_cb(), diff_unified_append_data(), diff_unified_json_data(), diff_unified_lines_hl(), disasm_until_ret(), display_polynomial(), dmp_open(), do_extract_currentfile(), do_rd_expr(), doemit(), dofwd(), doinsert(), ds_print_ptr(), ds_print_show_bytes(), ds_print_show_cursor(), dupl(), eatsize(), ef_print(), egg_compile(), egg_patch_free(), emit_branch(), emit_load_ptr(), emit_mathop(), emit_set_string(), emit_string(), emit_syscall(), enlarge(), ensure_filepath(), entry_ignore(), entry_print(), entry_start_file(), escape_utf8_for_json(), expand_heap(), exprmatch(), exprmatchreg(), exprtoken(), extract_signed_integer(), extract_unsigned_integer(), fast(), file_apprentice(), file_ascmagic(), file_delmagic(), file_fsmagic(), gzfilebuf::fillbuf(), filter(), filter_classes(), find_alias(), find_autocmplt_type_at_stmt(), find_autocomplete(), find_e(), find_e_opts(), find_eoq(), find_next_intgrep(), find_ppc(), find_se(), findmust(), findNextNumber(), findPair(), findSeparator(), firstch(), fix_cursor(), flag_ordinals(), flirt_pat_parse_pattern_mask(), fnmatch(), format_output(), free(), freeset(), freezeset(), gb_parse_cb2(), gbAsm(), get_category_t(), get_class_name(), get_class_ro_t(), get_class_t(), get_cond(), get_constants(), get_ivar_list_t(), get_main_offset_linux_64_pie(), get_method_list_t(), get_objc_property_list(), get_protocol_list_t(), get_reg_profile(), get_register_id(), get_relocs(), get_state_pkt_index(), get_type(), getbytediff(), getchardiff(), getoct(), getrange(), getreg(), getstr(), getvalue(), gprobe_checksum(), gz_avail(), gz_intmax(), handle_qSupported(), has_argument(), header(), hex_add_instr_to_state(), hex_add_to_pkt(), hex_add_to_stale_pkt(), hex_clear_pkt(), hex_get_instr_at_addr(), hex_get_loop_flag(), hex_get_pkt(), hex_set_pkt_info(), hex_to_new_pkt(), hexagon_get_pkt_index_of_addr(), hexagon_reverse_opcode(), hexdump(), hud_filter(), i8080_disasm(), init_file_tables(), iob_net_close(), iob_net_read(), iob_net_write(), iob_pipe_close(), iob_pipe_read(), iob_pipe_write(), is_cab_using_unix_paths(), is_fi_present(), is_pkt_full(), is_tar(), java_assembler(), kd_packet_is_ack(), kd_packet_is_valid(), kd_read_packet(), libdemangle_handler_objc(), libdemangle_handler_swift(), linux_handle_signals(), list(), LLVMFuzzerReturnOneInput(), loadSystemPlugins(), locateBuffDiff(), lookup_name(), lookup_value(), lunpipe(), LZ4_free(), LZ4_getPosition(), LZ4_hashPosition(), LZ4_loadDict(), LZ4_putPosition(), LZ4_putPositionOnHash(), LZ4_readLE16(), LZ4_writeLE16(), LZ4IO_writeLE32(), m68k_tokenize(), magiccheck(), main(), major_minor(), make_next_packet_valid(), makedir(), map_free(), mconvert(), mcopy(), mget(), mips_get_reg_profile(), mips_tokenize(), mkdbname(), mount_oldstr(), mpc_anchor(), mpc_and(), mpc_any(), mpc_apply(), mpc_apply_to(), mpc_char(), mpc_check(), mpc_check_with(), mpc_check_withf(), mpc_checkf(), mpc_copy(), mpc_count(), mpc_define(), mpc_delete(), mpc_eoi(), mpc_expect(), mpc_expectf(), mpc_export(), mpc_fail(), mpc_failf(), mpc_free(), mpc_lift(), mpc_lift_val(), mpc_malloc(), mpc_many(), mpc_many1(), mpc_maybe_lift(), mpc_mem_ptr(), mpc_new(), mpc_nodecount_unretained(), mpc_noneof(), mpc_not_lift(), mpc_nparse(), mpc_oneof(), mpc_optimise(), mpc_optimise_unretained(), mpc_or(), mpc_parse(), mpc_parse_contents(), mpc_parse_file(), mpc_parse_input(), mpc_parse_pipe(), mpc_parse_run(), mpc_pass(), mpc_predictive(), mpc_print(), mpc_print_unretained(), mpc_range(), mpc_realloc(), mpc_satisfy(), mpc_soi(), mpc_state(), mpc_stats(), mpc_string(), mpc_test_fail(), mpc_test_pass(), mpc_undefine(), mpc_undefine_and(), mpc_undefine_or(), mpc_undefine_unretained(), mpc_undefined(), mpca_and(), mpca_grammar_find_parser(), mpca_lang_pipe(), mpca_or(), mpcaf_fold_regex(), mpcaf_grammar_and(), mpcaf_grammar_char(), mpcaf_grammar_id(), mpcaf_grammar_string(), mpcf_re_and(), mpcf_re_escape(), mprint(), multmodp(), my_sprintf(), nch(), nextOpcode(), nonnewline(), num_callback(), objc_name_toc(), gzfilebuf::open(), ordinary(), p_b_cclass(), p_b_coll_elem(), p_b_eclass(), p_b_symbol(), p_b_term(), p_bracket(), p_bre(), p_ere(), p_ere_exp(), p_simp_re(), p_str(), pager_color_line(), pager_printpage(), parse(), parse_block_list(), parse_categories(), parse_classes(), parse_codeview_pointer_attribute(), parse_codeview_property(), parse_disassembler_options(), parse_grep_expression(), parse_hexadecimal(), parse_key(), parse_localvar(), parse_number(), parse_segment_offset(), parse_signature(), parse_thread(), parse_value(), parseCodeDirectory(), parseHeap(), parseOperand(), pids_sons_of_r(), place_nodes(), plugin_fini(), pluscount(), prevOpcode(), print_addr(), print_byte(), print_cursor_l(), print_cursor_r(), print_insn_arg(), print_insn_mode(), print_section(), printAnalPaths(), printHistBlock(), prompt_offset_and_seek(), prompt_offset_and_seek_file(), prompt_read(), pvector_free_elem(), qnxr_run(), qnxr_send_packet(), rax(), rcc_element(), rcc_internal_mathop(), rcc_next(), rcc_pusharg(), rd_0_2(), rd_0_7(), rd_a(), rd_a_hl(), rd_af_(), rd_byte(), rd_c(), rd_cc(), rd_character(), rd_comma(), rd_ex1(), rd_expr(), rd_expr_and(), rd_expr_equal(), rd_expr_or(), rd_expr_shift(), rd_expr_unequal(), rd_expr_xor(), rd_factor(), rd_hl(), rd_hlx(), rd_in(), rd_jp(), rd_jr(), rd_label(), rd_ld(), rd_ld_hl(), rd_ld_nn(), rd_lda(), rd_ldbcdehla(), rd_nn_nn(), rd_nnc(), rd_number(), rd_otherbasenumber(), rd_out(), rd_r(), rd_r_(), rd_r_add(), rd_r_rr(), rd_rr_(), rd_rrxx(), rd_sp(), rd_stack(), rd_term(), rd_value(), rd_word(), read_i32_leb128(), read_i64_leb128(), read_input(), read_ptr_pa(), read_str(), read_u32_leb128(), read_u64_leb128(), readcommand(), ReadKernelMemory(), readlabel(), readString(), realloc(), rebase_buffer(), reconstruct_chained_fixup(), recursive_help(), repeat(), replace_directives_for(), replaceWords(), reset_print_cur(), resolve_n_register(), run_new_command(), rz_analysis_add(), rz_analysis_cc_set(), rz_analysis_data_new_string(), rz_analysis_function_vars_stackframe_handler(), rz_analysis_set_reg_profile(), rz_asm_add(), rz_asm_colorize_asm_str(), rz_asm_massemble(), rz_asm_mdisassemble_hexstr(), rz_asm_token_pattern_free(), rz_asn1_print_hex(), rz_bin_create(), rz_bin_dex_libraries(), rz_bin_filter_name(), rz_bin_filter_sections(), rz_bin_filter_sym(), rz_bin_ne_get_entrypoints(), rz_bin_object_set_items(), rz_bin_plugin_free(), rz_cmd_analysis(), rz_cmd_help(), rz_cmd_kuery(), rz_cmd_print(), rz_cmd_search(), rz_cmd_shell_env_handler(), rz_coff_symbol_name(), rz_cons_arrow_to_hjkl(), rz_cons_fgets(), rz_cons_fill_line(), rz_cons_grep_line(), rz_cons_grepbuf(), rz_cons_less_str(), rz_cons_pal_parse(), rz_cons_rgb_parse(), rz_core_analysis_all_vars_display(), rz_core_analysis_il_vm_status(), rz_core_analysis_name(), rz_core_analysis_name_free(), rz_core_cast(), rz_core_cmd_foreach(), rz_core_cmd_foreach3(), rz_core_cmd_str_pipe(), rz_core_cmd_subst_i(), rz_core_config_init(), rz_core_debug_esil(), rz_core_debug_kill(), rz_core_debug_process_close(), rz_core_egg_compile(), rz_core_magic_at(), rz_core_ncast(), rz_core_print_disasm(), rz_core_print_disasm_json(), rz_core_print_examine(), rz_core_print_hexdump_byline_str(), rz_core_print_offname(), rz_core_print_offsize(), rz_core_rtr_gdb_run(), rz_core_rtr_http_run(), rz_core_run_script(), rz_core_search_preludes(), rz_core_setup_debugger(), rz_core_visual_append_help(), rz_core_visual_cmd(), rz_core_visual_comments(), rz_core_visual_config_hud(), rz_core_visual_define(), rz_core_visual_hud(), rz_core_visual_hudclasses(), rz_core_visual_hudstuff(), rz_core_vmenu_append_help(), rz_core_write_seq_at(), rz_crypto_new(), rz_debug_desc_free(), rz_debug_desc_list(), rz_debug_dmp_pids(), rz_debug_esil_prestep(), rz_debug_pid_list(), rz_debug_pid_new(), rz_debug_reg_profile_sync(), rz_debug_thread_list(), rz_debug_winkd_pids(), rz_demangler_new(), rz_des_permute_key_inv(), rz_diff_draw_tui(), rz_egg_config_handler(), rz_egg_encode(), rz_egg_list_plugins_handler(), rz_egg_padding(), rz_egg_shellcode(), rz_egg_show_config_handler(), rz_entropy_final(), rz_eval_editor_handler(), rz_flag_get_liststr(), rz_free_aligned(), rz_graph_node_new(), rz_hash_bang_handler(), rz_hash_cfg_randomart(), rz_hash_plugin_add(), rz_is_heap(), rz_json_free(), rz_lang_get_by_extension(), rz_lang_plugin_free(), rz_lang_prompt(), rz_lib_close(), rz_lib_list(), rz_lib_open_ptr(), rz_line_autocomplete(), rz_line_hist_save(), rz_list_find(), rz_list_find_ptr(), rz_list_set_n(), rz_load_panels_layout(), rz_main_rizin(), rz_main_rz_asm(), rz_main_rz_bin(), rz_main_rz_gg(), rz_main_rz_run(), rz_mem_free(), rz_mem_protect(), rz_num_calc_index(), rz_num_conditional(), rz_num_is_hex_prefix(), rz_num_math(), rz_num_tail(), rz_num_tailff(), rz_parse_add(), rz_parse_assemble(), rz_parse_filter(), rz_parse_filter_dup(), rz_parse_free(), rz_parse_immtrim(), rz_parse_new(), rz_parse_pseudocode(), rz_parse_set_user_ptr(), rz_parse_subvar(), rz_parse_use(), rz_platform_profile_free(), rz_print_addr(), rz_print_byte(), rz_print_byte_color(), rz_print_bytes(), rz_print_color_op_type(), rz_print_colorize_asm_str(), rz_print_cursor(), rz_print_cursor_pointer(), rz_print_fill(), rz_print_format_register(), rz_print_free(), rz_print_get_cursor(), rz_print_have_cursor(), rz_print_hexdiff_str(), rz_print_hexdump_bits_handler(), rz_print_hexdump_emoji_handler(), rz_print_hexdump_str(), rz_print_hexii(), rz_print_hexpair(), rz_print_init_rowoffsets(), rz_print_jsondump_str(), rz_print_new(), rz_print_offset(), rz_print_offset_sg(), rz_print_progressbar(), rz_print_rangebar(), rz_print_raw(), rz_print_row_at_off(), rz_print_rowoff(), rz_print_section_str(), rz_print_set_cursor(), rz_print_set_flags(), rz_print_set_rowoff(), rz_print_set_screenbounds(), rz_pseudo_convert(), rz_punycode_decode(), rz_pvector_new_with_len(), rz_range_add_from_string(), rz_rbtree_aug_delete(), rz_rbtree_aug_insert(), rz_read_be_double(), rz_read_be_float(), rz_read_le_double(), rz_read_le_float(), rz_read_me_double(), rz_read_me_float(), rz_regex_comp(), rz_regs_fpu_handler(), rz_run_config_env(), rz_run_new(), rz_run_parse(), rz_run_parsefile(), rz_run_parseline(), rz_run_reset(), rz_run_start(), rz_search_keyword_new_wide(), rz_sign_flirt_parse_string_pattern_from_buffer(), rz_sleb128(), rz_socket_http_accept(), rz_socket_port_by_name(), rz_str_appendf(), rz_str_byte_escape(), rz_str_delta(), rz_str_escape_(), rz_str_escape_sh(), rz_str_escape_utf(), rz_str_firstbut(), rz_str_lastbut(), rz_str_list_join(), rz_str_newf(), rz_str_nextword(), rz_str_prefix_all(), rz_str_range_foreach(), rz_str_range_in(), rz_str_rchr(), rz_str_replace(), rz_str_replace_icase(), rz_str_replace_thunked(), rz_str_rsep(), rz_str_rstr(), rz_str_split(), rz_str_tok(), rz_str_trim_head(), rz_str_trim_head_char(), rz_str_trim_path(), rz_str_word_get0set(), rz_str_word_set0(), rz_str_word_set0_stack(), rz_str_wrap(), rz_strbuf_append(), rz_strbuf_append_n(), rz_strbuf_copy(), rz_strbuf_vappendf(), rz_strbuf_vsetf(), rz_strpool_alloc(), rz_strpool_ansi_chop(), rz_strpool_append(), rz_strpool_empty(), rz_strpool_fit(), rz_strpool_free(), rz_strpool_get(), rz_strpool_get_i(), rz_strpool_get_index(), rz_strpool_memcat(), rz_strpool_new(), rz_strpool_next(), rz_strpool_slice(), rz_strstr_ansi(), rz_sys_arch_match(), rz_sys_mkdirp(), rz_sys_pid_to_path(), rz_sys_run(), rz_syscmd_cat(), rz_syscmd_head(), rz_syscmd_ls(), rz_syscmd_sort(), rz_syscmd_tail(), rz_syscmd_uniq(), rz_test_chdir(), rz_test_main(), rz_time_gettimeofday(), rz_type_byte_escape(), rz_type_format_data(), rz_type_format_data_internal(), rz_type_format_nulltermstring(), rz_type_format_struct(), rz_vector_assign(), rz_vector_assign_at(), rz_vector_insert(), rz_vector_insert_range(), rz_vector_push(), rz_vector_remove_at(), rz_vector_remove_range(), rz_w32_identify_window(), rz_write_be_double(), rz_write_be_float(), rz_write_debruijn_handler(), rz_write_le_double(), rz_write_le_float(), rz_write_me_double(), rz_write_me_float(), rzil_print_register_bitv(), rzil_print_register_bool(), rzpipe_cmdf(), sdb_alen(), sdb_alen_ignore_empty(), sdb_anext(), sdb_anext2(), sdb_array_compact(), sdb_array_delete(), sdb_array_get(), sdb_array_indexof(), sdb_array_remove(), sdb_array_remove_num(), sdb_aslice(), sdb_atoi(), sdb_concat(), sdb_const_anext(), sdb_fmt_init(), sdb_fmt_tostr(), sdb_ptr_set(), sdb_query_lines(), sdb_querys(), sdb_uncat(), search(), search_chunk(), search_similar_pattern(), sep64_xtr_ctx_free(), set_attr(), set_e_fields(), set_p_free(), set_ppc_fields(), gzfilebuf::setbuf(), seterr(), sh_get_reg_profile(), sh_tokenize(), SHA256_Final(), SHA512_Last(), sigchld_th(), siglistcb(), siglistjsoncb(), skip_block_comment(), skip_whitespace(), skipdata_opstr(), slide_hash(), slow(), socket_http_answer(), special(), spp_eval_str(), spp_proc_eval(), spp_proc_init(), spp_proc_set(), strchr_ns(), string_scan_range_cfstring(), stripsnug(), strnlen(), subs_var_string(), subvar(), swiftField(), symbols(), symbols_from_mach0(), TAG_CALLBACK(), tar(), trim(), tuklib_progname_init(), unescape_string(), unix_path_seperators(), uv__inotify_read(), uv__interface_addresses_v6(), uv__io_check_fd(), uv__pollfds_maybe_resize(), uv__random_sysctl(), uv__read_proc_meminfo(), uv__run_closing_handles(), uv__utf8_decode1(), uv__utf8_decode1_slow(), uv_inet_pton(), uv_interface_addresses(), v850_tokenize(), va2pa(), verifyDumpPayload(), visual_help(), visual_search(), walk_exports(), walk_namespace(), windbg_gcore(), winkd_get_profile(), winkd_set_target(), winkd_wait_packet(), write_text(), WriteKernelMemory(), x2nmodp(), xrealloc(), XXH32_endian_align(), XXH32_finalize(), XXH32_update_endian(), XXH64_endian_align(), XXH64_finalize(), XXH64_update_endian(), XXH_free(), z80_tokenize(), zipCloseFileInZipRaw64(), and zipRemoveExtraInfoBlock().
Definition at line 64 of file libc.cpp.
Referenced by __drv_when().