42 #define RZ_CORE_CMD_OK 0
43 #define RZ_CORE_CMD_INVALID -1
44 #define RZ_CORE_CMD_EXIT -2
46 #define RZ_CORE_BLOCKSIZE 0x100
47 #define RZ_CORE_BLOCKSIZE_MAX 0x3200000
49 #define RZ_CORE_ANALYSIS_GRAPHLINES 1
50 #define RZ_CORE_ANALYSIS_GRAPHBODY 2
51 #define RZ_CORE_ANALYSIS_GRAPHDIFF 4
52 #define RZ_CORE_ANALYSIS_JSON 8
53 #define RZ_CORE_ANALYSIS_KEYVALUE 16
54 #define RZ_CORE_ANALYSIS_JSON_FORMAT_DISASM 32
55 #define RZ_CORE_ANALYSIS_STAR 64
57 #define RZ_FLAGS_FS_CLASSES "classes"
58 #define RZ_FLAGS_FS_FUNCTIONS "functions"
59 #define RZ_FLAGS_FS_IMPORTS "imports"
60 #define RZ_FLAGS_FS_RELOCS "relocs"
61 #define RZ_FLAGS_FS_REGISTERS "registers"
62 #define RZ_FLAGS_FS_RESOURCES "resources"
63 #define RZ_FLAGS_FS_SECTIONS "sections"
64 #define RZ_FLAGS_FS_SEGMENTS "segments"
65 #define RZ_FLAGS_FS_SIGNS "sign"
66 #define RZ_FLAGS_FS_STRINGS "strings"
67 #define RZ_FLAGS_FS_SYMBOLS "symbols"
68 #define RZ_FLAGS_FS_SYMBOLS_SECTIONS "symbols.sections"
69 #define RZ_FLAGS_FS_SYSCALLS "syscalls"
70 #define RZ_FLAGS_FS_MMIO_REGISTERS "registers.mmio"
71 #define RZ_FLAGS_FS_MMIO_REGISTERS_EXTENDED "registers.extended"
72 #define RZ_FLAGS_FS_PLATFORM_PORTS "platform.ports"
73 #define RZ_FLAGS_FS_GLOBALS "globals"
74 #define RZ_FLAGS_FS_DEBUG_MAPS "maps"
76 #define RZ_GRAPH_FORMAT_NO 0
77 #define RZ_GRAPH_FORMAT_GMLFCN 1
78 #define RZ_GRAPH_FORMAT_JSON 2
79 #define RZ_GRAPH_FORMAT_GML 3
80 #define RZ_GRAPH_FORMAT_DOT 4
81 #define RZ_GRAPH_FORMAT_CMD 5
84 #define RZ_CONS_COLOR_DEF(x, def) ((core->cons && core->cons->context->pal.x) ? core->cons->context->pal.x : def)
85 #define RZ_CONS_COLOR(x) RZ_CONS_COLOR_DEF(x, "")
88 #define RTR_PROTOCOL_RAP 0
89 #define RTR_PROTOCOL_TCP 1
90 #define RTR_PROTOCOL_UDP 2
91 #define RTR_PROTOCOL_HTTP 3
92 #define RTR_PROTOCOL_UNIX 4
94 #define RTR_MAX_HOSTS 255
183 #define RZ_CORE_ASMQJMPS_NUM 10
184 #define RZ_CORE_ASMQJMPS_LETTERS 26
185 #define RZ_CORE_ASMQJMPS_MAX_LETTERS (26 * 26 * 26 * 26 * 26)
186 #define RZ_CORE_ASMQJMPS_LEN_LETTERS 5
695 #define RZ_CORE_FOREIGN_ADDR -1
713 #define RZ_CORE_LOADLIBS_ENV 1
714 #define RZ_CORE_LOADLIBS_HOME 2
715 #define RZ_CORE_LOADLIBS_SYSTEM 4
716 #define RZ_CORE_LOADLIBS_CONFIG 8
717 #define RZ_CORE_LOADLIBS_ALL UT32_MAX
762 typedef enum rz_core_analysis_name_type {
763 RZ_CORE_ANALYSIS_NAME_TYPE_VAR = 0,
764 RZ_CORE_ANALYSIS_NAME_TYPE_FUNCTION,
765 RZ_CORE_ANALYSIS_NAME_TYPE_FLAG,
766 RZ_CORE_ANALYSIS_NAME_TYPE_ADDRESS,
767 } RzCoreAnalysisNameType;
769 typedef struct rz_core_analysis_name_t {
772 RzCoreAnalysisNameType
type;
774 } RzCoreAnalysisName;
835 #define RZ_MIDFLAGS_HIDE 0
836 #define RZ_MIDFLAGS_SHOW 1
837 #define RZ_MIDFLAGS_REALIGN 2
838 #define RZ_MIDFLAGS_SYMALIGN 3
840 typedef struct rz_core_asm_hit {
850 typedef struct rz_core_disasm_options {
855 } RzCoreDisasmOptions;
857 #define RZ_CORE_MAX_DISASM (1024 * 1024 * 8)
955 #define RZ_CORE_BIN_ACC_STRINGS 0x001
956 #define RZ_CORE_BIN_ACC_INFO 0x002
957 #define RZ_CORE_BIN_ACC_MAIN 0x004
958 #define RZ_CORE_BIN_ACC_ENTRIES 0x008
959 #define RZ_CORE_BIN_ACC_RELOCS 0x010
960 #define RZ_CORE_BIN_ACC_IMPORTS 0x020
961 #define RZ_CORE_BIN_ACC_SYMBOLS 0x040
962 #define RZ_CORE_BIN_ACC_SECTIONS 0x080
963 #define RZ_CORE_BIN_ACC_FIELDS 0x100
964 #define RZ_CORE_BIN_ACC_LIBS 0x200
965 #define RZ_CORE_BIN_ACC_CLASSES 0x400
966 #define RZ_CORE_BIN_ACC_DWARF 0x800
967 #define RZ_CORE_BIN_ACC_SIZE 0x1000
968 #define RZ_CORE_BIN_ACC_PDB 0x2000
969 #define RZ_CORE_BIN_ACC_MEM 0x4000
970 #define RZ_CORE_BIN_ACC_EXPORTS 0x8000
971 #define RZ_CORE_BIN_ACC_VERSIONINFO 0x10000
972 #define RZ_CORE_BIN_ACC_SIGNATURE 0x20000
973 #define RZ_CORE_BIN_ACC_RAW_STRINGS 0x40000
974 #define RZ_CORE_BIN_ACC_HEADER 0x80000
975 #define RZ_CORE_BIN_ACC_RESOURCES 0x100000
976 #define RZ_CORE_BIN_ACC_INITFINI 0x200000
977 #define RZ_CORE_BIN_ACC_SEGMENTS 0x400000
978 #define RZ_CORE_BIN_ACC_BASEFIND 0x800000
979 #define RZ_CORE_BIN_ACC_TRYCATCH 0x20000000
980 #define RZ_CORE_BIN_ACC_SECTIONS_MAPPING 0x40000000
981 #define RZ_CORE_BIN_ACC_MAPS 0x80000000
982 #define RZ_CORE_BIN_ACC_ALL 0x80504FFF
984 #define RZ_CORE_PRJ_FLAGS 0x0001
985 #define RZ_CORE_PRJ_EVAL 0x0002
986 #define RZ_CORE_PRJ_IO_MAPS 0x0004
987 #define RZ_CORE_PRJ_SECTIONS 0x0008
988 #define RZ_CORE_PRJ_META 0x0010
989 #define RZ_CORE_PRJ_XREFS 0x0020
990 #define RZ_CORE_PRJ_FCNS 0x0040
991 #define RZ_CORE_PRJ_ANALYSIS_HINTS 0x0080
992 #define RZ_CORE_PRJ_ANALYSIS_TYPES 0x0100
993 #define RZ_CORE_PRJ_ANALYSIS_MACROS 0x0200
994 #define RZ_CORE_PRJ_ANALYSIS_SEEK 0x0400
995 #define RZ_CORE_PRJ_DBG_BREAK 0x0800
996 #define RZ_CORE_PRJ_ALL 0xFFFF
998 typedef struct rz_core_bin_filter_t {
1060 RZ_CORE_PRINT_FORMAT_TYPE_OCTAL = 0,
1061 RZ_CORE_PRINT_FORMAT_TYPE_INTEGER,
1062 RZ_CORE_PRINT_FORMAT_TYPE_HEXADECIMAL,
1063 RZ_CORE_PRINT_FORMAT_TYPE_INVALID,
1064 } RzCorePrintFormatType;
1114 typedef char *(*PrintItemCallback)(
void *user,
void *
p,
bool selected);
1137 } RzCoreAnalysisStatsItem;
1147 } RzCoreAnalysisStats;
1164 RZ_CORE_TASK_STATE_BEFORE_START,
1165 RZ_CORE_TASK_STATE_RUNNING,
1166 RZ_CORE_TASK_STATE_SLEEPING,
1167 RZ_CORE_TASK_STATE_DONE
1178 typedef void (*RzCoreTaskRunnerFree)(
void *user);
1180 struct rz_core_task_t {
1193 RzCoreTaskRunner runner;
1194 RzCoreTaskRunnerFree runner_free;
1198 typedef void (*RzCoreTaskOneShot)(
void *);
1226 ut64 vmin,
ut64 vmax,
int vsize, inRangeCb
cb,
void *cb_user);
1229 typedef void (*RzCoreCmdTaskFinished)(
const char *res,
void *user);
1232 typedef void *(*RzCoreTaskFunction)(
RzCore *core,
void *user);
RZ_API int rz_core_visual_graph(RzCore *core, RzAGraph *g, RzAnalysisFunction *_fcn, int is_interactive)
RZ_API bool cmd_analysis_objc(RzCore *core, bool auto_analysis)
RZ_API void rz_core_analysis_type_match(RzCore *core, RzAnalysisFunction *fcn, HtUU *loop_table)
static RzILOpEffect * cls(cs_insn *insn)
static const AvrInstruction instructions[]
static ut64 baddr(RzBinFile *bf)
RzBinInfo * info(RzBinFile *bf)
RzList * symbols(RzBinFile *bf)
static RzBinSourceLineInfo * lines(RzBinFile *bf)
int bits(struct state *s, int need)
RZ_API void rz_core_analysis_function_strings_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzAnalysisFunction *fcn, RZ_NULLABLE PJ *pj)
Print all string flags referenced by the function.
RZ_API RzGraph * rz_core_analysis_codexrefs(RzCore *core, ut64 addr)
RZ_API void rz_core_analysis_fcn_merge(RzCore *core, ut64 addr, ut64 addr2)
RZ_API RzList * rz_core_analysis_fcn_get_calls(RzCore *core, RzAnalysisFunction *fcn)
RZ_API char * rz_core_analysis_fcn_name(RzCore *core, RzAnalysisFunction *fcn)
RZ_API RZ_OWN RzPVector * rz_core_analysis_bytes(RZ_NONNULL RzCore *core, RZ_NONNULL const ut8 *buf, int len, int nops)
RZ_API void rz_core_analysis_hint_print(RzAnalysis *a, ut64 addr, RzCmdStateOutput *state)
RZ_API void rz_core_recover_vars(RzCore *core, RzAnalysisFunction *fcn, bool argonly)
RZ_API bool rz_core_analysis_esil_trace_stop(RzCore *core)
Stop ESIL trace session.
RZ_API int rz_core_analysis_fcn_clean(RzCore *core, ut64 addr)
RZ_API int rz_core_print_bb_custom(RzCore *core, RzAnalysisFunction *fcn)
RZ_API void rz_core_analysis_sigdb_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzTable *table)
Adds all the signatures to a RzTable structure.
RZ_API RzList * rz_core_analysis_graph_to(RzCore *core, ut64 addr, int n)
RZ_API int rz_core_analysis_all(RzCore *core)
RZ_API void rz_core_analysis_stats_free(RzCoreAnalysisStats *s)
RZ_API bool rz_core_analysis_continue_until_call(RZ_NONNULL RzCore *core)
Continue until call.
RZ_API ut64 rz_core_analysis_address(RzCore *core, ut64 addr)
RZ_API void rz_core_analysis_type_init(RzCore *core)
RZ_API void rz_core_analysis_undefine(RzCore *core, ut64 off)
RZ_API bool rz_core_analysis_function_add(RzCore *core, const char *name, ut64 addr, bool analyze_recursively)
RZ_API int rz_core_analysis_search(RzCore *core, ut64 from, ut64 to, ut64 ref, int mode)
RZ_API void rz_core_analysis_cc_init(RzCore *core)
RZ_API void rz_core_analysis_coderefs(RzCore *core, ut64 addr)
RZ_API RZ_OWN RzCoreAnalysisStats * rz_core_analysis_get_stats(RZ_NONNULL RzCore *core, ut64 from, ut64 to, ut64 step)
RZ_API void rz_core_analysis_callgraph(RzCore *core, ut64 addr, int fmt)
RZ_API void rz_core_analysis_flag_every_function(RzCore *core)
RZ_API void rz_core_analysis_datarefs(RzCore *core, ut64 addr)
RZ_API void rz_core_analysis_hint_list_print(RzAnalysis *a, RzCmdStateOutput *state)
RZ_API RzAnalysisOp * rz_core_analysis_op(RzCore *core, ut64 addr, int mask)
RZ_API void rz_core_analysis_autoname_all_fcns(RzCore *core)
RZ_API bool rz_platform_index_add_flags_comments(RzCore *core)
Adds the information from the Platform Profiles as flags and comments.
RZ_API bool rz_core_analysis_continue_until_syscall(RZ_NONNULL RzCore *core)
Continue until syscall.
RZ_API st64 rz_core_analysis_code_count(RZ_NONNULL RzCore *core)
Compute analysis code count.
RZ_API bool rz_core_analysis_everything(RzCore *core, bool experimental, char *dh_orig)
RZ_API RzList * rz_core_analysis_cycles(RzCore *core, int ccl)
RZ_API ut64 rz_core_analysis_stats_get_block_from(RZ_NONNULL const RzCoreAnalysisStats *s, size_t i)
RZ_API int rz_core_get_stacksz(RzCore *core, ut64 from, ut64 to)
RZ_API RZ_BORROW const char * rz_core_analysis_name_type_to_str(RzCoreAnalysisNameType typ)
Convert typ to string (const char*)
RZ_API int rz_core_analysis_search_xrefs(RZ_NONNULL RzCore *core, ut64 from, ut64 to)
Searches for xrefs in the range of the paramters 'from' and 'to'.
RZ_API bool rz_core_analysis_esil_trace_start(RzCore *core)
Start ESIL trace session.
RZ_API void rz_core_analysis_esil(RzCore *core, ut64 addr, ut64 size, RZ_NULLABLE RzAnalysisFunction *fcn)
RZ_API RZ_OWN RzList * rz_core_analysis_sigdb_list(RZ_NONNULL RzCore *core, bool with_details)
Returns all the signatures found in the default path.
RZ_API void rz_core_analysis_propagate_noreturn(RzCore *core, ut64 addr)
RZ_API void rz_core_analysis_paths(RzCore *core, ut64 from, ut64 to, bool followCalls, int followDepth, bool is_json)
RZ_API bool rz_core_analysis_function_rename(RzCore *core, ut64 addr, const char *_name)
RZ_API bool rz_core_analysis_graph(RzCore *core, ut64 addr, int opts)
RZ_API st64 rz_core_analysis_coverage_count(RZ_NONNULL RzCore *core)
Compute analysis coverage count.
RZ_API st64 rz_core_analysis_calls_count(RZ_NONNULL RzCore *core)
Compute analysis function xrefs count.
RZ_API ut64 rz_core_analysis_stats_get_block_to(RZ_NONNULL const RzCoreAnalysisStats *s, size_t i)
RZ_API int rz_core_analysis_fcn(RzCore *core, ut64 at, ut64 from, int reftype, int depth)
RZ_API void rz_core_analysis_resolve_jumps(RZ_NONNULL RzCore *core)
Resolves any unresolved jump.
RZ_API void rz_analysis_bytes_free(RZ_NULLABLE void *ptr)
RZ_API bool rz_core_analysis_rename(RZ_NONNULL RzCore *core, RZ_NONNULL const char *name, ut64 addr)
Rename whatever var/flag/function is used at addr to name.
RZ_API int rz_core_print_bb_gml(RzCore *core, RzAnalysisFunction *fcn)
RZ_API int rz_core_search_value_in_range(RzCore *core, RzInterval search_itv, ut64 vmin, ut64 vmax, int vsize, inRangeCb cb, void *cb_user)
RZ_API RzGraph * rz_core_analysis_importxrefs(RzCore *core)
RZ_API RZ_OWN RzCoreAnalysisName * rz_core_analysis_name(RZ_NONNULL RzCore *core, ut64 addr)
Get information on whatever var/flag/function is used at addr.
RZ_API int rz_core_analysis_data(RzCore *core, ut64 addr, int count, int depth, int wordsize)
RZ_API RZ_OWN char * rz_core_analysis_function_autoname(RZ_NONNULL RzCore *core, RZ_NONNULL RzAnalysisFunction *fcn)
Suggest a name for the function.
RZ_API bool rz_core_analysis_sigdb_apply(RZ_NONNULL RzCore *core, RZ_NULLABLE int *n_applied, RZ_NULLABLE const char *filter)
tries to apply the signatures in the flirt.sigdb.path
RZ_API void rz_core_analysis_name_free(RZ_NULLABLE RzCoreAnalysisName *p)
RZ_API bool rz_core_analysis_refs(RZ_NONNULL RzCore *core, size_t nbytes)
Analyze xrefs and prints the result.
RZ_API bool rz_core_analysis_hint_set_offset(RZ_NONNULL RzCore *core, RZ_NONNULL const char *struct_member)
Set analysis hint for the first immediate of the instruction at current offset to struct_member.
RZ_API void rz_core_annotated_code_print_json(RzAnnotatedCode *code)
RZ_API void rz_core_annotated_code_print(RzAnnotatedCode *code, RzVector *line_offsets)
RZ_API void rz_core_annotated_code_print_comment_cmds(RzAnnotatedCode *code)
RZ_API void rz_core_print_func_args(RzCore *core)
RZ_API RZ_OWN RzList * rz_core_get_func_args(RzCore *core, const char *fcn_name)
RZ_DEPRECATE RZ_API ut64 rz_core_arg_get(RzCore *core, const char *cc, int num)
Get the value of the num-th argument from the current debug or emulation state.
RZ_API char * resolve_fcn_name(RzAnalysis *analysis, const char *func_name)
RZ_API char * rz_core_asm_search(RzCore *core, const char *input)
RZ_API ut32 rz_core_asm_bwdis_len(RzCore *core, int *instr_len, ut64 *start_addr, ut32 nb)
RZ_API RzList * rz_core_asm_back_disassemble_byte(RzCore *core, ut64 addr, int len, ut32 hit_count, ut32 extra_padding)
RZ_API RzList * rz_core_asm_strsearch(RzCore *core, const char *input, ut64 from, ut64 to, int maxhits, int regexp, int everyByte, int mode)
RZ_API RzCoreAsmHit * rz_core_asm_hit_new(void)
RZ_API void rz_core_asm_hit_free(void *_hit)
RZ_API RzCmdStatus rz_core_asm_plugins_print(RzCore *core, const char *arch, RzCmdStateOutput *state)
RZ_API RzList * rz_core_asm_hit_list_new(void)
RZ_API RzList * rz_core_asm_bwdisassemble(RzCore *core, ut64 addr, int n, int len)
RZ_API RzList * rz_core_asm_back_disassemble_instr(RzCore *core, ut64 addr, int len, ut32 hit_count, ut32 extra_padding)
RZ_API RzLineNSCompletionResult * rz_core_autocomplete_rzshell(RzCore *core, RzLineBuffer *buf, RzLinePromptType prompt_type)
RZ_API bool rz_core_bin_class_as_source_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, const char *class_name)
RZ_API bool rz_core_sym_is_export(RZ_NONNULL RzBinSymbol *s)
Is RzBinSymbol exported?
RZ_API bool rz_core_bin_exports_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzCoreBinFilter *filter)
RZ_API char * rz_core_bin_method_flags_str(ut64 flags, int mode)
RZ_API void rz_core_bin_export_info(RzCore *core, int mode)
RZ_API bool rz_core_bin_headers_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf)
RZ_API void rz_core_bin_print_source_line_info(RzCore *core, const RzBinSourceLineInfo *li, RzCmdStateOutput *state)
RZ_API void rz_core_sym_name_init(RZ_NONNULL RzCore *r, RZ_OUT RzBinSymNames *sn, RZ_NONNULL RzBinSymbol *sym, RZ_NULLABLE const char *lang)
Initlize sn.
RZ_API bool rz_core_bin_fields_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_info(RzCore *r, RzBinFile *binfile, ut32 mask)
RZ_API bool rz_core_bin_entries_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_main(RzCore *r, RzBinFile *binfile, bool va)
RZ_API RZ_OWN char * rz_core_bin_field_build_flag_name(RZ_NONNULL RzBinClass *cls, RZ_NONNULL RzBinField *field)
Returns the flag name of a class field.
RZ_API bool rz_core_bin_apply_relocs(RzCore *core, RzBinFile *binfile, bool va_bool)
RZ_API bool rz_core_bin_apply_maps(RzCore *core, RzBinFile *binfile, bool va)
RZ_API bool rz_core_bin_cur_symbol_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_memory_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_whole_strings_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API RZ_OWN HtPP * rz_core_bin_create_digests(RzCore *core, ut64 paddr, ut64 size, RzList *digests)
Create a hashtable of digests.
RZ_API bool rz_core_bin_signatures_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_cur_export_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_libs_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_sections(RzCore *core, RzBinFile *binfile, bool va)
RZ_API bool rz_core_bin_apply_symbols(RzCore *core, RzBinFile *binfile, bool va)
RZ_API RZ_OWN RzList * rz_core_bin_whole_strings(RZ_NONNULL RzCore *core, RZ_NULLABLE RzBinFile *bf)
RZ_API bool rz_core_bin_set_cur(RZ_NONNULL RzCore *core, RZ_NULLABLE RzBinFile *binfile)
Set binfile as current binfile.
RZ_API bool rz_core_bin_initfini_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_print(RzCore *core, RZ_NONNULL RzBinFile *bf, ut32 mask, RzCoreBinFilter *filter, RzCmdStateOutput *state, RzList *hashes)
Print (to RzCons or inside RzCmdStateOutput) the binary information specified in mask.
RZ_API RZ_OWN char * rz_core_bin_super_build_flag_name(RZ_NONNULL RzBinClass *cls)
Returns the flag name of a super class.
RZ_API bool rz_core_bin_apply_dwarf(RzCore *core, RzBinFile *binfile)
RZ_API int rz_core_bin_set_by_name(RzCore *core, const char *name)
RZ_API bool rz_core_binfiles_delete(RzCore *core, RzBinFile *bf)
Close an opened binary file.
RZ_API int rz_core_bin_set_by_fd(RzCore *core, ut64 bin_fd)
RZ_API bool rz_core_bin_sections_mapping_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API int rz_core_bin_update_arch_bits(RzCore *r)
RZ_API bool rz_core_binfiles_print(RzCore *core, RzCmdStateOutput *state)
Print all the opened binary files according to state.
RZ_API RZ_OWN char * rz_core_bin_class_build_flag_name(RZ_NONNULL RzBinClass *cls)
Returns the flag name of a class.
RZ_API bool rz_core_bin_size_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_config(RzCore *r, RzBinFile *binfile)
RZ_API bool rz_core_bin_relocs_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_resources_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RZ_NULLABLE RzList *hashes)
RZ_API void rz_core_bin_print_source_line_sample(RzCore *core, const RzBinSourceLineSample *s, RzCmdStateOutput *state)
RZ_API bool rz_core_bin_archs_print(RZ_NONNULL RzBin *bin, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_info_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_segments_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzCoreBinFilter *filter, RzList *hashes)
RZ_API RzCmdStatus rz_core_bin_plugins_print(RzBin *bin, RzCmdStateOutput *state)
RZ_API void rz_core_bin_options_init(RzCore *core, RZ_OUT RzBinOptions *opts, int fd, ut64 baseaddr, ut64 loadaddr)
RZ_API bool rz_core_bin_apply_imports(RzCore *core, RzBinFile *binfile, bool va)
RZ_API bool rz_core_bin_cur_section_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzList *hashes)
RZ_API RZ_OWN char * rz_core_bin_method_build_flag_name(RZ_NONNULL RzBinClass *cls, RZ_NONNULL RzBinSymbol *meth)
Returns the flag name of a class method.
RZ_API RZ_BORROW const char * rz_core_bin_get_compile_time(RZ_NONNULL RzBinFile *bf)
Get TimeDateStamp string from bf->sdb with key "info.image_file_header.TimeDateStamp_string".
RZ_API bool rz_core_bin_strings_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_symbols_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzCoreBinFilter *filter)
RZ_API bool rz_core_bin_apply_resources(RzCore *core, RzBinFile *binfile)
RZ_API bool rz_core_bin_classes_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_strings(RzCore *r, RzBinFile *binfile)
RZ_API RZ_OWN char * rz_core_bin_pdb_get_filename(RZ_NONNULL RzCore *core)
RZ_API bool rz_core_bin_dwarf_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_cur_segment_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzList *hashes)
RZ_API bool rz_core_bin_class_fields_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, const char *class_name)
RZ_API bool rz_core_bin_raise(RzCore *core, ut32 bfid)
RZ_API bool rz_core_bin_apply_entry(RzCore *core, RzBinFile *binfile, bool va)
RZ_API bool rz_core_bin_load_structs(RZ_NONNULL RzCore *core, RZ_NONNULL const char *file)
RZ_API int rz_core_bin_set_arch_bits(RzCore *r, const char *name, const char *arch, ut16 bits)
RZ_API bool rz_core_file_info_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *binfile, RZ_NONNULL RzCmdStateOutput *state)
RZ_API void rz_core_sym_name_fini(RZ_NULLABLE RzBinSymNames *sn)
RZ_FREE all member of sn (sn->*)
RZ_API bool rz_core_bin_sections_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzCoreBinFilter *filter, RzList *hashes)
RZ_API bool rz_core_bin_imports_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, RzCoreBinFilter *filter)
RZ_API bool rz_core_bin_apply_classes(RzCore *core, RzBinFile *binfile)
RZ_API bool rz_core_bin_basefind_print(RzCore *core, ut32 pointer_size, RzCmdStateOutput *state)
RZ_API bool rz_core_bin_pdb_load(RZ_NONNULL RzCore *core, RZ_NONNULL const char *filename)
RZ_API bool rz_core_bin_versions_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_apply_all_info(RzCore *r, RzBinFile *binfile)
RZ_API bool rz_core_bin_trycatch_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_main_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state)
RZ_API bool rz_core_bin_class_methods_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzBinFile *bf, RZ_NONNULL RzCmdStateOutput *state, const char *class_name)
RZ_API void rz_core_parse_rizinrc(RzCore *r)
RZ_API void rz_core_config_print_all(RzConfig *cfg, const char *str, RzCmdStateOutput *state)
Prints the configuation variables with their description and its values.
RZ_API bool rz_core_esil_cmd(RzAnalysisEsil *esil, const char *cmd, ut64 a1, ut64 a2)
RZ_API int rz_core_config_init(RzCore *core)
RZ_API RZ_OWN RzList * rz_core_config_in_space(RZ_NONNULL RzCore *core, RZ_NULLABLE const char *space)
Get config variable spaces.
RZ_API void rz_core_debug_bp_add_noreturn_func(RzCore *core)
Put a breakpoint into every no-return function.
RZ_API void rz_core_debug_map_print(RzCore *core, ut64 addr, RzCmdStateOutput *state)
RZ_API void rz_backtrace_free(RZ_NULLABLE RzBacktrace *bt)
RZ_API bool rz_core_debug_step_over(RzCore *core, int steps)
Step over.
RZ_API void rz_core_debug_breakpoint_toggle(RZ_NONNULL RzCore *core, ut64 addr)
Toggle breakpoint.
RZ_API bool rz_core_debug_step_skip(RzCore *core, int times)
Skip operations.
RZ_API bool rz_core_debug_step_back(RzCore *core, int steps)
Step back.
RZ_API bool rz_core_debug_step_until_frame(RzCore *core)
Step until end of frame.
RZ_API RZ_OWN RzList * rz_core_debug_backtraces(RzCore *core)
Get backtraces based on dbg.btdepth and dbg.btalgo.
RZ_API bool rz_core_is_debug(RzCore *core)
Check whether the core is in debug mode (equivalent to cfg.debug)
RZ_API bool rz_core_debug_continue_until(RzCore *core, ut64 addr, ut64 to)
RZ_API bool rz_core_debug_process_close(RzCore *core)
Close debug process (Kill debugee and all child processes)
RZ_API void rz_core_debug_map_update_flags(RzCore *core)
RZ_API RzCmdStatus rz_core_debug_plugins_print(RzCore *core, RzCmdStateOutput *state)
RZ_API bool rz_core_debug_step_one(RzCore *core, int times)
RZ_API void rz_core_bin_dwarf_print_abbrev_section(const RzBinDwarfDebugAbbrev *da)
RZ_API void rz_core_bin_dwarf_print_debug_info(const RzBinDwarfDebugInfo *inf)
RZ_API void rz_core_bin_dwarf_print_attr_value(const RzBinDwarfAttrValue *val)
RZ_API void rz_core_bin_dwarf_print_line_units(RzList *lines)
RZ_API void rz_core_bin_dwarf_print_aranges(RzList *aranges)
RZ_API void rz_core_bin_dwarf_print_loc(HtUP *loc_table, int addr_size)
RZ_API ut32 rz_core_file_cur_fd(RzCore *core)
RZ_API RZ_BORROW RzCoreFile * rz_core_file_open_many(RZ_NONNULL RzCore *r, RZ_NULLABLE const char *file, int perm, ut64 base_address)
Open the file as a compilation of files.
RZ_API bool rz_core_file_close_all_but(RzCore *core)
RZ_API void rz_core_sysenv_begin(RzCore *core)
RZ_API RzCoreFile * rz_core_file_cur(RzCore *r)
RZ_API bool rz_core_file_reopen(RzCore *core, const char *args, int perm, int loadbin)
RZ_API RzCoreFile * rz_core_file_find_by_fd(RzCore *core, ut64 fd)
RZ_API bool rz_core_file_print(RzCore *core, RzOutputMode mode)
RZ_API void rz_core_file_reopen_debug(RzCore *core, const char *args)
RZ_API void rz_core_file_close(RzCoreFile *fh)
RZ_API void rz_core_io_file_open(RZ_NONNULL RzCore *core, int fd)
Open file use read-only Permission.
RZ_API int rz_core_file_set_by_file(RzCore *core, RzCoreFile *cf)
RZ_API bool rz_core_file_resize(RzCore *core, ut64 newsize)
RZ_API bool rz_core_file_bin_raise(RzCore *core, ut32 bfid)
RZ_API void rz_core_file_reopen_remote_debug(RzCore *core, const char *uri, ut64 addr)
RZ_API bool rz_core_raw_file_print(RzCore *core)
RZ_API int rz_core_bin_rebase(RzCore *core, ut64 baddr)
RZ_API void rz_core_io_file_reopen(RZ_NONNULL RzCore *core, int fd, int perms)
Reopen file.
RZ_API RZ_BORROW RzCoreFile * rz_core_file_open(RZ_NONNULL RzCore *r, RZ_NONNULL const char *file, int flags, ut64 loadaddr)
Tries to open the file as is, otherwise tries as is a compilation of files.
RZ_API void rz_core_sysenv_end(RzCore *core)
RZ_API RzCoreFile * rz_core_file_get_by_fd(RzCore *core, int fd)
RZ_API RzCoreFile * rz_core_file_find_by_name(RzCore *core, const char *name)
RZ_API int rz_core_file_binlist(RzCore *core)
RZ_API int rz_core_file_set_by_name(RzCore *core, const char *name)
RZ_API bool rz_core_file_close_fd(RzCore *core, int fd)
RZ_API bool rz_core_file_resize_delta(RzCore *core, st64 delta)
RZ_API bool rz_core_file_open_load(RZ_NONNULL RzCore *core, RZ_NONNULL const char *filepath, ut64 addr, int perms, bool write_mode)
Tries to open the file, load binary info and make RzIOMap.
RZ_API bool rz_core_bin_load(RZ_NONNULL RzCore *r, RZ_NULLABLE const char *filenameuri, ut64 baddr)
RZ_API int rz_core_file_set_by_fd(RzCore *core, ut64 fd)
RZ_API RzCmdStatus rz_core_hash_plugins_print(RzHash *hash, RzCmdStateOutput *state)
RZ_API RZ_OWN RzList * rz_heap_windows_heap_list(RzCore *core)
RZ_API RZ_OWN RzList * rz_heap_windows_blocks_list(RzCore *core)
RZ_API void rz_core_analysis_esil_init_mem(RZ_NONNULL RzCore *core, RZ_NULLABLE const char *name, ut64 addr, ut32 size)
RZ_API void rz_core_analysis_esil_init_regs(RZ_NONNULL RzCore *core)
RZ_API void rz_core_analysis_esil_step_over(RZ_NONNULL RzCore *core)
RZ_API void rz_core_analysis_esil_reinit(RZ_NONNULL RzCore *core)
Reinitialize ESIL.
RZ_API void rz_core_analysis_esil_deinit(RZ_NONNULL RzCore *core)
Deinitialize ESIL.
RZ_API void rz_core_analysis_esil_init_mem_del(RZ_NONNULL RzCore *core, RZ_NULLABLE const char *name, ut64 addr, ut32 size)
Remove ESIL VM stack.
RZ_API int rz_core_setup_debugger(RzCore *r, const char *debugbackend, bool attach)
RZ_API bool rz_core_write_block_op_at(RzCore *core, ut64 addr, RzCoreWriteOp op, ut8 *hex, int hexlen)
Write a full block of data according to the operation op and the hexvalue hex.
RZ_API bool rz_core_write_string_at(RzCore *core, ut64 addr, RZ_NONNULL const char *s)
Write a given string s at the specified addr.
RZ_API bool rz_core_extend_at(RzCore *core, ut64 addr, ut64 size)
Extend the file at current offset by inserting size 0 bytes at addr.
RZ_API bool rz_core_write_string_wide_at(RzCore *core, ut64 addr, const char *s)
Write a given string s as a wide string at the specified addr.
RZ_API int rz_core_write_hexpair(RzCore *core, ut64 addr, const char *pairs)
RZ_API bool rz_core_write_at(RzCore *core, ut64 addr, const ut8 *buf, int size)
RZ_API bool rz_core_shift_block(RzCore *core, ut64 addr, ut64 b_size, st64 dist)
Shift a block of data from addr of size b_size left or right based on dist.
RZ_API RzCmdStatus rz_core_io_pcache_print(RzCore *core, RzIODesc *desc, RzCmdStateOutput *state)
RZ_API RzCmdStatus rz_core_io_cache_print(RzCore *core, RzCmdStateOutput *state)
RZ_API void rz_core_arch_bits_at(RzCore *core, ut64 addr, RZ_OUT RZ_NULLABLE int *bits, RZ_OUT RZ_BORROW RZ_NULLABLE const char **arch)
RZ_API void rz_core_seek_arch_bits(RzCore *core, ut64 addr)
RZ_API bool rz_core_write_block(RzCore *core, ut64 addr, ut8 *data, size_t len)
RZ_API bool rz_core_write_string_zero_at(RzCore *core, ut64 addr, const char *s)
Write a given string s, followed by the zero terminator, at the specified addr.
RZ_API int rz_core_write_assembly(RzCore *core, ut64 addr, RZ_NONNULL const char *instructions)
Assembles instructions and writes the resulting data at the given offset.
RZ_API int rz_core_block_read(RzCore *core)
RZ_API bool rz_core_write_base64d_at(RzCore *core, ut64 addr, RZ_NONNULL const char *s)
Write a given base64 string s at the specified addr, decoded.
RZ_API bool rz_core_write_value_inc_at(RzCore *core, ut64 addr, st64 value, int sz)
Write at addr the current value + value passed as argument.
RZ_API bool rz_core_write_length_string_at(RzCore *core, ut64 addr, const char *s)
Write at the specified addr the length of the string in one byte, followed by the given string s.
RZ_API bool rz_core_dump(RzCore *core, const char *file, ut64 addr, ut64 size, int append)
RZ_API int rz_core_is_valid_offset(RzCore *core, ut64 offset)
RZ_API bool rz_core_write_seq_at(RzCore *core, ut64 addr, ut64 from, ut64 to, ut64 step, int value_size)
Write a full block of data with a sequence.
RZ_API bool rz_core_write_base64_at(RzCore *core, ut64 addr, RZ_NONNULL const char *s)
Write a given string s at the specified addr encoded as base64.
RZ_API bool rz_core_write_random_at(RzCore *core, ut64 addr, size_t len)
Write len random bytes at address addr.
RZ_API int rz_core_write_assembly_fill(RzCore *core, ut64 addr, RZ_NONNULL const char *instructions)
Assemble instructions and write the resulting data inside the current instruction.
RZ_API RzCmdStatus rz_core_io_plugins_print(RzIO *io, RzCmdStateOutput *state)
Print the registered IO plugins according to state.
RZ_API bool rz_core_write_duplicate_at(RzCore *core, ut64 addr, ut64 from, int len)
Copy len bytes from from to addr.
RZ_API bool rz_core_write_value_at(RzCore *core, ut64 addr, ut64 value, int sz)
Write a given value at the specified address, using sz bytes.
RZ_API RZ_OWN ut8 * rz_core_transform_op(RzCore *core, ut64 addr, RzCoreWriteOp op, ut8 *hex, int hexlen, int *buflen)
Transform a block of data at addr according to the operation op and the hexvalue hex.
RZ_API RzCmdStatus rz_core_lang_plugins_print(RzLang *lang, RzCmdStateOutput *state)
RZ_API int rz_core_cmd_foreach3(RzCore *core, const char *cmd, char *each)
RZ_API char * rz_core_cmd_str_pipe(RzCore *core, const char *cmd)
RZ_API RzCmd * rz_core_cmd_new(bool has_cons)
Create an instance of RzCmd for the Rizin language.
RZ_API int rz_core_cmd_buffer(RzCore *core, const char *buf)
RZ_API int rz_core_cmd_lines(RzCore *core, const char *lines)
RZ_API int rz_core_cmd0(RzCore *core, const char *cmd)
RZ_API ut8 * rz_core_cmd_raw(RzCore *core, const char *cmd, int *length)
Executes a rizin command and returns the raw stdout and its length.
RZ_API int rz_core_cmd_foreach(RzCore *core, const char *cmd, char *each)
RZ_API void rz_core_cmd_help(const RzCore *core, const char *help[])
RZ_API int rz_core_cmd(RzCore *core, const char *cstr, int log)
RZ_API int rz_core_cmd_file(RzCore *core, const char *file)
RZ_API int rz_core_cmd_command(RzCore *core, const char *command)
RZ_API bool rz_core_run_script(RzCore *core, RZ_NONNULL const char *file)
RZ_API char * rz_core_cmd_strf(RzCore *core, const char *fmt,...)
RZ_API void rz_core_cmd_init(RzCore *core)
RZ_API int rz_core_cmdf(RzCore *core, const char *fmt,...)
RZ_API RzCmdStatus rz_core_cmd_lines_rzshell(RzCore *core, const char *lines)
RZ_API RzCmdStatus rz_core_cmd0_rzshell(RzCore *core, const char *cmd)
RZ_API char * rz_core_disassemble_instr(RzCore *core, ut64 addr, int l)
RZ_API char * rz_core_cmd_str(RzCore *core, const char *cmd)
Executes a rizin command and returns the stdout as a string.
RZ_API RzCmdStatus rz_core_cmd_rzshell(RzCore *core, const char *cstr, int log)
RZ_API char * rz_core_disassemble_bytes(RzCore *core, ut64 addr, int b)
RZ_API int rz_core_cmd_pipe_old(RzCore *core, char *rizin_cmd, char *shell_cmd)
RZ_API int rz_core_flush(RzCore *core, const char *cmd)
RZ_API bool rz_core_esil_continue_back(RZ_NONNULL RzCore *core)
RZ_API void rz_core_analysis_calls(RZ_NONNULL RzCore *core, bool imports_only)
RZ_API int rz_core_esil_step_back(RzCore *core)
RZ_API void rz_core_agraph_print(RzCore *core, int use_utf, const char *input)
RZ_API bool rz_core_esil_dumpstack(RzAnalysisEsil *esil)
RZ_API int rz_core_esil_step(RzCore *core, ut64 until_addr, const char *until_expr, ut64 *prev_addr, bool stepOver)
RZ_API void rz_core_dbg_follow_seek_register(RzCore *core)
Seek to PC if needed.
RZ_API void rz_core_debug_clear_register_flags(RzCore *core)
RZ_API void rz_core_debug_ri(RzCore *core)
RZ_API void rz_core_debug_set_register_flags(RzCore *core)
RZ_API void rz_core_theme_nextpal(RzCore *core, RzConsPalSeekMode mode)
RZ_API RZ_OWN RzList * rz_core_theme_list(RZ_NONNULL RzCore *core)
Returns the list of the rizin themes.
RZ_API char * rz_core_theme_get(RzCore *core)
RZ_API bool rz_core_theme_load(RzCore *core, const char *name)
RZ_API void rz_core_help_vars_print(RzCore *core)
RZ_API const char ** rz_core_help_vars_get(RzCore *core)
Returns all the $ variable names in a NULL-terminated array.
RZ_API void rz_core_clippy(RzCore *core, const char *msg)
RZ_API bool rz_heap_write_chunk(RzCore *core, RzHeapChunkSimple *chunk_simple)
Write a heap chunk header to memory.
RZ_API RzHeapChunkSimple * rz_heap_chunk(RzCore *core, ut64 addr)
Returns detailed information about a heap chunk. The chunk is represented by RzHeapChunkSimple struct...
RZ_API RzList * rz_heap_chunks_list(RzCore *core, ut64 m_arena)
Returns RzList* for a list of chunks from the arena. Each chunk is represented by RzHeapChunkListItem...
RZ_API RzList * rz_heap_tcache_content(RzCore *core, ut64 arena_base)
Get a list of bins for the tcache associated with an arena The list is in form of RzList and the bins...
RZ_API RzList * rz_heap_arenas_list(RzCore *core)
Returns RzList* for a list of arenas. Each arena is represented by RzArenaListItem struct.
RZ_API MallocState * rz_heap_get_arena(RzCore *core, ut64 m_state)
Returns MallocState struct for given base address of the arena. This function checks if the arena is ...
RZ_API RzHeapBin * rz_heap_fastbin_content(RzCore *core, MallocState *arena, int bin_num)
Returns information about a fastbin. The information is represented as RzHeapBin struct.
RZ_API RzHeapBin * rz_heap_bin_content(RzCore *core, MallocState *arena, int bin_num, ut64 m_arena)
Returns information about a heap bin. The information is represented as RzHeapBin struct The bins cov...
RZ_API void rz_core_set_asm_configs(RzCore *core, char *arch, ut32 bits, int segoff)
RZ_API void rz_core_gadget_free(RzCoreGadget *g)
Frees a visual print gadget.
RZ_API void rz_core_gadget_print(RzCore *core)
Prints or displays the print gadgets while in visual mode.
RZ_API bool rz_core_project_load_for_cli(RzCore *core, const char *file, bool load_bin_io)
RZ_API RZ_OWN RzList * rz_core_reg_filter_items_sync(RZ_NONNULL RzCore *core, RZ_NONNULL RzReg *reg, RzCmdRegSync sync_cb, RZ_NULLABLE const char *filter)
RZ_API bool rz_core_reg_assign_sync(RZ_NONNULL RzCore *core, RZ_NONNULL RzReg *reg, RzCmdRegSync sync_cb, RZ_NONNULL const char *name, ut64 val)
RZ_API RZ_OWN RzList * rz_core_get_boundaries_prot(RzCore *core, int perm, const char *mode, const char *prefix)
RZ_API int rz_core_search_preludes(RzCore *core, bool log)
RZ_API int rz_core_search_prelude(RzCore *core, ut64 from, ut64 to, const ut8 *buf, int blen, const ut8 *mask, int mlen)
RZ_API bool rz_core_analysis_recover_golang_functions(RzCore *core)
reads pclntab table in go binaries and recovers functions. Follows the code https://github....
RZ_API void rz_core_analysis_resolve_golang_strings(RzCore *core)
Attempts to recover all golang string.
RzCorePlugin rz_core_plugin_dex
RzCorePlugin rz_core_plugin_java
RZ_API RzCmdStatus rz_core_parser_plugins_print(RzParse *parser, RzCmdStateOutput *state)
RZ_API void rz_core_pdb_info_print(RZ_NONNULL RzCore *core, RZ_NONNULL RzTypeDB *db, RZ_NONNULL RzPdb *pdb, RZ_NONNULL RzCmdStateOutput *state)
Print parsed PDB file info.
RZ_API char * rz_core_bin_pdb_gvars_as_string(RZ_NONNULL const RzPdb *pdb, const ut64 img_base, PJ *pj, const RzOutputMode mode)
Return the PDB global vars string.
RZ_API RzPdb * rz_core_pdb_load_info(RZ_NONNULL RzCore *core, RZ_NONNULL const char *file)
Parse PDB file info and integrate with typedb.
RZ_API bool rz_core_plugin_init(RzCore *core)
RZ_API bool rz_core_plugin_fini(RzCore *core)
RZ_API bool rz_core_plugin_add(RzCore *core, RzCorePlugin *plugin)
RZ_API RZ_OWN char * rz_core_assembly_of_hex(RzCore *core, ut8 *hex, int len)
Get the assembly of the hexstr.
RZ_API char * rz_core_print_dump_str(RZ_NONNULL RzCore *core, RzOutputMode mode, ut64 addr, ut8 n, int len, RzCorePrintFormatType format)
Print dump at addr.
RZ_API RZ_OWN char * rz_core_esil_of_hex(RzCore *core, ut8 *hex, int len)
Get the esil of the hexstr.
RZ_API RZ_OWN char * rz_core_print_hexdump_byline_str(RZ_NONNULL RzCore *core, bool hex_offset, ut64 addr, int len, ut8 size)
Hexdump at addr.
RZ_API RZ_OWN char * rz_core_hex_of_assembly(RzCore *core, const char *assembly)
Get the hexpair of the assembly.
RZ_API char * rz_core_print_hexdump_diff_str(RZ_NONNULL RzCore *core, ut64 aa, ut64 ba, ut64 len)
Print hexdump diff between aa and ba with len.
RZ_API char * rz_core_print_hexdump_or_hexdiff_str(RZ_NONNULL RzCore *core, RzOutputMode mode, ut64 addr, int len, bool use_comment)
Print hexdump at addr, but maybe print hexdiff if (diff.from or diff.to),.
RZ_API RZ_OWN char * rz_core_print_string_c_cpp(RzCore *core)
RZ_API RZ_OWN char * rz_core_esil_of_assembly(RzCore *core, const char *assembly)
Get the esil of the assembly.
RZ_API void rz_core_reg_update_flags(RzCore *core)
Update or create flags for all registers where it makes sense.
RZ_API RzReg * rz_core_reg_default(RzCore *core)
Get the currently relevant RzReg.
RZ_API ut64 rz_core_reg_getv_by_role_or_name(RzCore *core, const char *name)
rz_reg_getv_by_role_or_name() on rz_core_reg_default()
RZ_API bool rz_core_reg_set_by_role_or_name(RzCore *core, const char *name, ut64 num)
set on rz_core_reg_default()
RZ_API ut16 rz_core_flirt_os_from_option_list(RZ_NONNULL const char *os_list)
Returns the FLIRT file flags from a given list (comma spaced) of file types Returns RZ_FLIRT_SIG_OS_A...
RZ_API ut16 rz_core_flirt_app_from_option_list(RZ_NONNULL const char *app_list)
Returns the FLIRT file flags from a given list (comma spaced) of file types Returns RZ_FLIRT_SIG_APP_...
RZ_API bool rz_core_flirt_convert_file(RZ_NONNULL RzCore *core, RZ_NONNULL const char *input_file, RZ_NONNULL const char *output_file)
converts a FLIRT file to the other format.
RZ_API const char * rz_core_flirt_arch_from_id(ut8 arch)
Returns the FLIRT arch name (string format) from a given arch id Returns "unknown" if name is not fou...
RZ_API ut32 rz_core_flirt_file_from_option_list(RZ_NONNULL const char *file_list)
Returns the FLIRT file flags from a given list (comma spaced) of file types Returns RZ_FLIRT_SIG_FILE...
RZ_API ut8 rz_core_flirt_arch_from_name(RZ_NONNULL const char *arch)
Returns the FLIRT arch id from a given arch name Returns RZ_FLIRT_SIG_ARCH_ANY if name is not found.
RZ_API bool rz_core_flirt_create_file(RZ_NONNULL RzCore *core, RZ_NONNULL const char *output_file, RZ_NULLABLE ut32 *written_nodes)
Generates a new FLIRT file from a given RzCore structure.
RZ_API bool rz_core_flirt_dump_file(RZ_NONNULL const char *flirt_file)
Dumps the contents of a FLIRT file.
RZ_API RZ_OWN char * rz_core_syscall_as_string(RzCore *core, st64 n, ut64 addr)
Returns the syscall representation as a string.
RZ_API RZ_OWN char * rz_core_types_as_c(RZ_NONNULL RzCore *core, RZ_NONNULL const char *name, bool multiline)
Get a type string by name (.
RZ_API void rz_core_link_stroff(RzCore *core, RzAnalysisFunction *fcn)
RZ_API RZ_OWN char * rz_core_types_as_c_all(RZ_NONNULL RzCore *core, bool multiline)
Get all types with pretty printing.
RZ_API void rz_core_types_link(RzCore *core, const char *typestr, ut64 addr)
Link an address addr to the type referenced by typestr.
static static fork const void static count static fd const char const char static newpath const char static path const char path
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void nbytes
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags cmd
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void length
RZ_API int rz_core_print_disasm_instructions_with_buf(RzCore *core, ut64 address, ut8 *buf, int nb_bytes, int nb_opcodes)
RZ_API int rz_core_flag_in_middle(RzCore *core, ut64 at, int oplen, int *midflags)
RZ_API int rz_core_print_disasm_json(RzCore *core, ut64 addr, ut8 *buf, int nb_bytes, int nb_opcodes, PJ *pj)
RZ_API int rz_core_disasm_pdi_with_buf(RzCore *core, ut64 address, ut8 *buf, ut32 nb_opcodes, ut32 nb_bytes, int fmt)
RZ_API void rz_analysis_disasm_text_free(RzAnalysisDisasmText *t)
Free RzAnalysisDisasmText p.
RZ_API bool rz_core_print_function_disasm_json(RzCore *core, RzAnalysisFunction *fcn, PJ *pj)
RZ_API const char * rz_core_get_section_name(RzCore *core, ut64 addr)
RZ_API int rz_core_print_disasm_all(RzCore *core, ut64 addr, int l, int len, int mode)
RZ_API int rz_core_bb_starts_in_middle(RzCore *core, ut64 at, int oplen)
RZ_API ut64 rz_core_pava(RzCore *core, ut64 addr)
RZ_API RZ_OWN char * rz_core_disasm_instruction(RzCore *core, ut64 addr, ut64 reladdr, RZ_NULLABLE RzAnalysisFunction *fcn, bool color)
Returns a disassembly of one instruction.
RZ_API int rz_core_print_disasm(RZ_NONNULL RzCore *core, ut64 addr, RZ_NONNULL ut8 *buf, int len, int nlines, RZ_NULLABLE RzCmdStateOutput *state, RZ_NULLABLE RzCoreDisasmOptions *options)
Disassemble len bytes and nlines opcodes restricted by len and nlines at the same time.
RZ_API int rz_core_disasm_pdi(RzCore *core, int nb_opcodes, int nb_bytes, int fmt)
RZ_API int rz_core_disasm_pde(RzCore *core, int nb_opcodes, RzCmdStateOutput *state)
RZ_API int rz_core_print_disasm_instructions(RzCore *core, int nb_bytes, int nb_opcodes)
static states step(struct re_guts *, sopno, sopno, states, int, states)
checking print the parsed form of the magic use in n conjunction with m to debug a new magic file n before installing it n output MIME type strings(--mime-type and\n"
" --mime-encoding)\n") OPT('s'
RZ_API void rz_core_fortune_list(RzCore *core)
RZ_API void rz_core_fortune_list_types(void)
RZ_API RZ_OWN char * rz_core_fortune_get_random(RzCore *core)
RZ_API void rz_core_fortune_print_random(RzCore *core)
RZ_API bool rz_core_gdiff_function_2_files(RzCore *c, RzCore *c2, ut64 addr, ut64 addr2)
Calculates basic block differences of 2 functions within 2 files.
RZ_API bool rz_core_gdiff_function_1_file(RzCore *c, ut64 addr, ut64 addr2)
Calculates basic block differences of 2 functions within the same file.
RZ_API bool rz_core_diff_show_function(RzCore *core, RzCore *core2, ut64 addr1, bool json)
Generate a json or dot output of the graph and its data.
RZ_API void rz_core_diff_show(RzCore *c, RzCore *c2, bool json)
RZ_API bool rz_core_gdiff_2_files(RzCore *c, RzCore *c2)
Calculates basic block differences of all functions within 2 files.
unsigned short prefix[65536]
RZ_API void rz_core_hack_help(const RzCore *core)
RZ_API bool rz_core_hack(RzCore *core, const char *op)
Write/Modify instructions at current offset based on op.
RZ_API RzAnalysisOp * rz_core_op_analysis(RzCore *core, ut64 addr, RzAnalysisOpMask mask)
RZ_API int rz_core_prompt(RzCore *r, int sync)
RZ_API RZ_OWN char * rz_core_editor(const RzCore *core, RZ_NULLABLE const char *file, RZ_NULLABLE const char *str)
RZ_API RzTable * rz_core_table(RzCore *core)
RZ_API RzBinReloc * rz_core_getreloc(RzCore *core, ut64 addr, int size)
RZ_API ut64 rz_core_get_asmqjmps(RzCore *core, const char *str)
RZ_API void rz_core_autocomplete_reload(RzCore *core)
RZ_API const char * rz_core_analysis_optype_colorfor(RzCore *core, ut64 addr, bool verbose)
RZ_API int rz_core_bind(RzCore *core, RzCoreBind *bnd)
RZ_API int rz_core_search_cb(RzCore *core, ut64 from, ut64 to, RzCoreSearchCallback cb)
RZ_API void rz_core_autocomplete_free(RzCoreAutocomplete *obj)
RZ_API void rz_core_notify_begin(RZ_NONNULL RzCore *core, RZ_NONNULL const char *format,...)
Prints a message definining the beginning of a task.
RZ_API RzCoreAutocomplete * rz_core_autocomplete_find(RzCoreAutocomplete *parent, const char *cmd, bool exact)
RZ_API void rz_core_prompt_loop(RzCore *r)
RZ_API void rz_core_bind_cons(RzCore *core)
RZ_API RzBuffer * rz_core_syscall(RzCore *core, const char *name, const char *args)
RZ_API void rz_core_fini(RzCore *c)
RZ_API RzCore * rz_core_ncast(ut64 p)
RZ_API void rz_core_autocomplete(RZ_NULLABLE RzCore *core, RzLineCompletion *completion, RzLineBuffer *buf, RzLinePromptType prompt_type)
RZ_API RzCmdStatus rz_core_core_plugins_print(RzCore *core, RzCmdStateOutput *state)
RZ_API RzBuffer * rz_core_syscallf(RzCore *core, const char *name, const char *fmt,...)
RZ_API RzFlagItem * rz_core_flag_get_by_spaces(RzFlag *f, ut64 off)
RZ_API bool rz_core_block_size(RzCore *core, ut32 bsize)
RZ_API RzCoreAutocomplete * rz_core_autocomplete_add(RzCoreAutocomplete *parent, const char *cmd, int type, bool lock)
RZ_API char * rz_core_analysis_get_comments(RzCore *core, ut64 addr)
RZ_API void rz_core_free(RzCore *c)
RZ_API void rz_core_notify_done(RZ_NONNULL RzCore *core, RZ_NONNULL const char *format,...)
Prints a message definining the end of a task which succeeded.
RZ_API int rz_core_fgets(char *buf, int len, void *user)
RZ_API bool rz_core_autocomplete_remove(RzCoreAutocomplete *parent, const char *cmd)
RZ_API void rz_core_notify_error(RZ_NONNULL RzCore *core, RZ_NONNULL const char *format,...)
Prints a message definining the end of a task which errored.
RZ_API bool rz_core_init(RzCore *core)
RZ_API char * rz_core_op_str(RzCore *core, ut64 addr)
RZ_API RzCons * rz_core_get_cons(RzCore *core)
RZ_API RzCore * rz_core_cast(void *p)
RZ_API void rz_core_set_asmqjmps(RzCore *core, char *str, size_t len, int pos)
RZ_API RzBin * rz_core_get_bin(RzCore *core)
RZ_API RzConfig * rz_core_get_config(RzCore *core)
RZ_API char * rz_core_analysis_hasrefs(RzCore *core, ut64 value, int mode)
RZ_API char * rz_core_add_asmqjmp(RzCore *core, ut64 addr)
RZ_API RzCore * rz_core_new(void)
RZ_API RzBinReloc * rz_core_get_reloc_to(RzCore *core, ut64 addr)
RZ_API char * rz_core_analysis_hasrefs_to_depth(RzCore *core, ut64 value, PJ *pj, int depth)
RZ_API int rz_core_prompt_exec(RzCore *r)
RZ_API bool rz_core_serve(RzCore *core, RzIODesc *file)
static void list(RzEgg *egg)
RZ_API void rz_core_loadlibs_init(RzCore *core)
RZ_API int rz_core_loadlibs(RzCore *core, int where)
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd times
static static fork const void static count static fd const char const char static newpath char char char static envp time_t static t const char static mode static whence const char static dir time_t static t unsigned static seconds const char struct utimbuf static buf static inc static sig const char static mode static oldfd struct tms static buf static getgid static geteuid const char static filename static arg static mask struct ustat static ubuf static getppid static setsid static egid sigset_t static set struct timeval struct timezone static tz fd_set fd_set fd_set struct timeval static timeout const char char static bufsiz const char static swapflags void static offset const char static length static mode static who const char struct statfs static buf unsigned unsigned num
static static fork const void static count static fd const char const char static newpath char char argv
static const char struct stat static buf struct stat static buf static vhangup int options
RZ_API bool rz_core_visual_panels_root(RzCore *core, RzPanelsRoot *panels_root)
static const char hex[16]
RZ_API void rz_core_rtr_session(RzCore *core, const char *input)
RZ_API void rz_core_rtr_list(RzCore *core)
RZ_API int rz_core_rtr_http_stop(RzCore *u)
RZ_API void rz_core_rtr_add(RzCore *core, const char *_input)
RZ_API char * rz_core_rtr_cmds_query(RzCore *core, const char *host, const char *port, const char *cmd)
RZ_API int rz_core_rtr_gdb(RzCore *core, int launch, const char *path)
RZ_API bool rz_core_rtr_init(RZ_NONNULL RzCore *core)
Allocates core rtr structure.
RZ_API void rz_core_rtr_remove(RzCore *core, const char *input)
RZ_API void rz_core_wait(RzCore *core)
RZ_API int rz_core_rtr_cmds(RzCore *core, const char *port)
RZ_API void rz_core_rtr_pushout(RzCore *core, const char *input)
RZ_API void rz_core_rtr_cmd(RzCore *core, const char *input)
RZ_API int rz_core_rtr_http(RzCore *core, int launch, int browse, const char *path)
enum rz_cmd_status_t RzCmdStatus
bool(* RzCorePluginFini)(RzCore *core)
struct rz_core_visual_tab_t RzCoreVisualTab
void(* RzCoreTaskContextSwitch)(RzCoreTask *next, void *user)
struct rz_core_seek_history_t RzCoreSeekHistory
@ RZ_CORE_WRITE_OP_BYTESWAP8
Swap the endianess of 8-bytes values.
@ RZ_CORE_WRITE_OP_SHIFT_LEFT
Write the shift left of existing byte by argument value.
@ RZ_CORE_WRITE_OP_AND
Write the bitwise-and of existing byte and argument value.
@ RZ_CORE_WRITE_OP_SHIFT_RIGHT
Write the shift right of existing byte and argument value.
@ RZ_CORE_WRITE_OP_BYTESWAP2
Swap the endianess of 2-bytes values.
@ RZ_CORE_WRITE_OP_OR
Write the bitwise-or of existing byte and argument value.
@ RZ_CORE_WRITE_OP_ADD
Write the addition of existing byte and argument value.
@ RZ_CORE_WRITE_OP_MUL
Write the multiplication of existing byte and argument value.
@ RZ_CORE_WRITE_OP_DIV
Write the division of existing byte and argument value.
@ RZ_CORE_WRITE_OP_BYTESWAP4
Swap the endianess of 4-bytes values.
@ RZ_CORE_WRITE_OP_XOR
Write the bitwise-xor of existing byte and argument value.
@ RZ_CORE_WRITE_OP_SUB
Write the subtraction of existing byte and argument value.
struct rz_core_times_t RzCoreTimes
struct rz_core_tasks_t RzCoreTaskScheduler
rz_core_autocomplete_types_t
struct rz_core_seek_undo_t RzCoreSeekItem
struct rz_core_visual_t RzCoreVisual
struct rz_core_item_t RzCoreItem
int(* RzCoreSearchCallback)(RzCore *core, ut64 from, ut8 *buf, int len)
struct rz_analysis_disasm_text_t RzAnalysisDisasmText
Message for pdJ
struct rz_core_file_t RzCoreFile
enum rz_core_autocomplete_types_t RzCoreAutocompleteType
RZ_LIB_VERSION_HEADER(rz_core)
bool(* RzCorePluginInit)(RzCore *core)
struct rz_core_io_map_info_t RzCoreIOMapInfo
struct rz_bin_sym_names_t RzBinSymNames
Store some display name from RzBinSymbol.
struct rz_core_plugin_t RzCorePlugin
struct rz_core_autocomplete_t RzCoreAutocomplete
@ RZ_CORE_VISUAL_MODE_PD
Disassembly view.
@ RZ_CORE_VISUAL_MODE_OV
Color blocks (entropy)
@ RZ_CORE_VISUAL_MODE_CD
Print in string format.
@ RZ_CORE_VISUAL_MODE_DB
Debug mode.
@ RZ_CORE_VISUAL_MODE_PX
Hexadecimal view.
struct rz_core_task_t RzCoreTask
void(* RzCoreTaskBreak)(RzCoreTask *task, void *user)
int(* RzMainCallback)(int argc, const char **argv)
#define RZ_PRINTF_CHECK(fmt, dots)
RzOutputMode
Enum to describe the way data are printed.
RZ_API bool rz_core_seek_redo(RzCore *core)
RZ_API RzList * rz_core_seek_list(RzCore *core)
Return the seek history.
RZ_API RzCoreSeekItem * rz_core_seek_peek(RzCore *core, int idx)
Return a element in the undo/redo list.
RZ_API bool rz_core_seek_delta(RzCore *core, st64 delta, bool save)
Seek relative to current offset and optionally save the current offset in seek history.
RZ_API bool rz_core_seek_and_save(RzCore *core, ut64 addr, bool rb)
Save currently marked state in seek history and seek to addr .
RZ_API bool rz_core_seek_mark(RzCore *core)
Mark current state (offset+cursor) as the next state to save in history.
RZ_API bool rz_core_seek_next(RzCore *core, const char *type, bool save)
Seek to the next type of item from current offset.
RZ_API int rz_core_seek_base(RzCore *core, const char *hex, bool save)
Seek to a new address composed of current offset with last hex digits replaced with those of hex.
RZ_API void rz_core_seek_reset(RzCore *core)
RZ_API bool rz_core_seek_prev(RzCore *core, const char *type, bool save)
Seek to the previous type of item from current offset.
RZ_API bool rz_core_seek_undo(RzCore *core)
RZ_API void rz_core_seek_free(RzCore *core)
RZ_API bool rz_core_seek_opt(RzCore *core, ut64 addr, bool rb, bool save)
Seek to addr and optionally save the current offset in seek history.
RZ_API void rz_core_seek_item_free(RzCoreSeekItem *item)
RZ_API bool rz_core_seek_align(RzCore *core, ut64 align, bool save)
Seek to current offset aligned to align.
RZ_API bool rz_core_seek_save(RzCore *core)
Save last marked position, if any, in the seek history.
RZ_API bool rz_core_seek_analysis_bb(RzCore *core, ut64 addr, bool save)
Seek to basic block that contains address addr.
RZ_API bool rz_core_seek(RzCore *core, ut64 addr, bool rb)
Seek to addr.
RZ_API bool rz_serialize_core_load(RZ_NONNULL Sdb *db, RZ_NONNULL RzCore *core, bool load_bin_io, RZ_NULLABLE const char *prj_file, RZ_NULLABLE RzSerializeResultInfo *res)
RZ_API void rz_serialize_core_save(RZ_NONNULL Sdb *db, RZ_NONNULL RzCore *core, RZ_NULLABLE const char *prj_file)
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr socklen_t static fromlen const void const struct sockaddr to
static struct sockaddr static addrlen static backlog const void static flags void flags
static struct sockaddr static addrlen static backlog const void msg
ut64 arrow
In general, arrow = UT64_MAX, if there is a jump(jmp, ...), arrow = dst offset.
This structure contains the decompiled code and all the annotations for the decompiled code.
XX curplugin == o->plugin.
A single sample of source line info for a specific address.
Store some display name from RzBinSymbol.
char * methname
methods [class]::[method]
char * demname
demangled raw symbol name
char * methflag
methods flag sym.[class].[method]
char * nameflag
flag name for symbol
char * classflag
flag for classname
char * name
raw symbol name
char * symbolname
display symbol name
const char * pfx
prefix for flags
char * classname
classname
char * libname
name of the lib this symbol is specific to, if any
char * demflag
flag name for demangled symbol
Represent the output state of a command handler.
struct rz_core_autocomplete_t ** subcmds
RzPVector binfiles
all bin files that have been created for this core file
RzPVector extra_files
additional files opened during mapping, for example for zeroed maps
RzPVector maps
all maps that have been created as a result of loading this file
RzCoreSeekItem saved_item
Position to save in history.
RzVector undos
Stack of RzCoreSeekItems, allowing to "go back in time".
RzVector redos
Stack of RzCoreSeekItems, allowing to re-do an action that was undone.
bool saved_set
When true, the saved field is set.
int idx
Position of the item relative to the current seek item (0 current seek, < 0 for undos,...
ut64 offset
Value of core->offset at the given time in history.
bool is_current
True if this is the current seek value.
int cursor
Position of the cursor at the given time in history.
int(* rz_main_rz_asm)(int argc, const char **argv)
RzCoreAutocomplete * autocomplete
RzCoreVisualMode printidx
int(* rz_main_rz_bin)(int argc, const char **argv)
int(* rz_main_rz_gg)(int argc, const char **argv)
int(* rz_main_rz_ax)(int argc, const char **argv)
int(* rz_main_rz_run)(int argc, const char **argv)
RzCmdDescriptor root_cmd_descriptor
RzMainCallback rz_main_rizin
RZ_DEPRECATE bool cmd_in_backticks
int(* rz_main_rz_diff)(int argc, const char **argv)
RzList * plugins
List of registered core plugins.
RzCoreTaskScheduler tasks
int(* rz_main_rz_find)(int argc, const char **argv)
RzPanelsRoot * panels_root
RzCoreSeekHistory seek_history
RzCoreTaskContextSwitch ctx_switch
struct rz_core_task_t * current_task
struct rz_core_task_t * main_task
RZ_API bool rz_core_task_is_cmd(RzCore *core, int id)
RZ_API void rz_core_task_join(RzCoreTaskScheduler *scheduler, RzCoreTask *current, int id)
RZ_API void rz_core_task_scheduler_init(RzCoreTaskScheduler *sched, RzCoreTaskContextSwitch ctx_switch, void *ctx_switch_user, RzCoreTaskBreak break_cb, void *break_cb_user)
RZ_API RzCoreTask * rz_core_task_new(RzCoreTaskScheduler *sched, RzCoreTaskRunner runner, RzCoreTaskRunnerFree runner_free, void *runner_user)
RZ_API void rz_core_task_decref(RzCoreTask *task)
RZ_API void rz_core_task_break_all(RzCoreTaskScheduler *scheduler)
RZ_API void rz_core_task_sync_end(RzCoreTaskScheduler *scheduler)
RZ_API void rz_core_task_scheduler_fini(RzCoreTaskScheduler *tasks)
RZ_API void rz_core_task_print(RzCore *core, RzCoreTask *task, int mode, PJ *j)
RZ_API void rz_core_task_enqueue_oneshot(RzCoreTaskScheduler *scheduler, RzCoreTaskOneShot func, void *user)
RZ_API void rz_core_task_sleep_end(RzCoreTask *task)
RZ_API void rz_core_task_incref(RzCoreTask *task)
RZ_API int rz_core_task_del(RzCoreTaskScheduler *scheduler, int id)
RZ_API void rz_core_task_del_all_done(RzCore *core)
RZ_API int rz_core_task_running_tasks_count(RzCoreTaskScheduler *scheduler)
RZ_API int rz_core_task_run_sync(RzCoreTaskScheduler *scheduler, RzCoreTask *task)
RZ_API RzCoreTask * rz_core_function_task_new(RzCore *core, RzCoreTaskFunction fcn, void *fcn_user)
RZ_API void rz_core_task_enqueue(RzCoreTaskScheduler *scheduler, RzCoreTask *task)
RZ_API RzCoreTask * rz_core_task_get_incref(RzCoreTaskScheduler *scheduler, int id)
RZ_API RzCoreTask * rz_core_cmd_task_new(RzCore *core, const char *cmd, RzCoreCmdTaskFinished finished_cb, void *finished_cb_user)
RZ_API void rz_core_task_list(RzCore *core, int mode)
RZ_API void rz_core_task_sleep_begin(RzCoreTask *task)
RZ_API void rz_core_task_yield(RzCoreTaskScheduler *scheduler)
RZ_API const char * rz_core_cmd_task_get_result(RzCoreTask *task)
RZ_API void rz_core_task_sync_begin(RzCoreTaskScheduler *scheduler)
RZ_API void rz_core_task_break(RzCoreTaskScheduler *scheduler, int id)
RZ_API RzCoreTask * rz_core_task_self(RzCoreTaskScheduler *scheduler)
RZ_API void * rz_core_function_task_get_result(RzCoreTask *task)
RZ_API const char * rz_core_task_status(RzCoreTask *task)
static void lock(volatile int *lk)
RZ_API void rz_core_visual_asm(RzCore *core, ut64 off)
RZ_API void rz_core_print_scrollbar_bottom(RzCore *core)
RZ_API void rz_core_visual_toggle_decompiler_disasm(RzCore *core, bool for_graph, bool reset)
RZ_API int rz_core_visual_prevopsz(RzCore *core, ut64 addr)
RZ_API void rz_core_visual_offset(RzCore *core)
RZ_API void rz_core_visual_seek_animation_undo(RzCore *core)
RZ_API void rz_core_visual_applyDisMode(RzCore *core, int disMode)
RZ_API void rz_core_visual_disasm_up(RzCore *core, int *cols)
RZ_API bool rz_core_visual_hud(RzCore *core)
RZ_API int rz_core_visual_cmd(RzCore *core, const char *arg)
RZ_API void rz_core_visual_append_help(RzStrBuf *p, const char *title, const char **help)
RZ_API bool rz_core_prevop_addr(RzCore *core, ut64 start_addr, int numinstrs, ut64 *prev_addr)
RZ_API void rz_core_visual_prompt_input(RzCore *core)
RZ_API int rz_core_visual_prompt(RzCore *core)
RZ_API void rz_core_visual_browse(RzCore *core, const char *input)
RZ_API void rz_core_print_scrollbar(RzCore *core)
RZ_API RzListInfo * rz_listinfo_new(const char *name, RzInterval pitv, RzInterval vitv, int perm, const char *extra)
RZ_API void rz_core_visual_applyHexMode(RzCore *core, int hexMode)
RZ_API int rz_core_visual(RzCore *core, const char *input)
RZ_API void rz_core_visual_disasm_down(RzCore *core, RzAsmOp *op, int *cols)
RZ_API int rz_core_visual_xrefs(RzCore *core, bool xref_to, bool fcnInsteadOfAddr)
RZ_API void rz_listinfo_free(RzListInfo *info)
RZ_API void rz_core_visual_toggle_hints(RzCore *core)
RZ_API void rz_core_visual_showcursor(RzCore *core, int x)
RZ_API ut64 rz_core_prevop_addr_force(RzCore *core, ut64 start_addr, int numinstrs)
RZ_API void rz_core_visual_jump(RzCore *core, ut8 ch)
RZ_API void rz_core_visual_seek_animation(RzCore *core, ut64 addr)
RZ_API int rz_line_hist_offset_up(RzLine *line)
RZ_API int rz_line_hist_offset_down(RzLine *line)
RZ_API void rz_core_visual_seek_animation_redo(RzCore *core)
RZ_API void rz_core_visual_mark(RzCore *core, ut8 ch)
RZ_API bool rz_core_visual_mark_dump(RzCore *core)
RZ_API void rz_core_visual_mark_seek(RzCore *core, ut8 ch)
RZ_API void rz_core_visual_mark_set(RzCore *core, ut8 ch, ut64 addr)
RZ_API void rz_core_visual_mark_del(RzCore *core, ut8 ch)
RZ_API void rz_core_visual_mark_reset(RzCore *core)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()
RZ_API bool rz_core_yank_to(RzCore *core, ut64 len, ut64 addr)
RZ_API bool rz_core_yank_hud_file(RzCore *core, const char *input)
RZ_API bool rz_core_yank(RzCore *core, ut64 addr, ut64 len)
RZ_API bool rz_core_yank_set_str(RzCore *core, ut64 addr, RZ_NONNULL const char *str)
RZ_API bool rz_core_yank_set(RzCore *core, ut64 addr, RZ_NONNULL const ut8 *buf, ut64 len)
RZ_API bool rz_core_yank_hexpair(RzCore *core, const char *str)
RZ_API bool rz_core_yank_file_all(RzCore *core, const char *filename)
RZ_API bool rz_core_yank_hud_path(RzCore *core, const char *input, int dir)
RZ_API bool rz_core_yank_file(RzCore *core, ut64 len, ut64 addr, const char *filename)
RZ_API bool rz_core_yank_string(RzCore *core, ut64 addr, ut64 maxlen)
RZ_API bool rz_core_yank_print_string(RzCore *core, ut64 pos)
RZ_API bool rz_core_yank_dump(RzCore *core, ut64 pos, RzCmdStateOutput *state)
RZ_API bool rz_core_yank_paste(RzCore *core, ut64 addr, ut64 len)
RZ_API bool rz_core_yank_print(RzCore *core, ut64 pos)
RZ_API RZ_OWN char * rz_core_yank_as_string(RzCore *core, ut64 pos)
RZ_API bool rz_core_yank_print_hexdump(RzCore *core, ut64 pos)
static const z80_opcode fd[]
static bool input(void *ud, zip_uint8_t *data, zip_uint64_t length)
int inf(FILE *source, FILE *dest)