Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
uint8_t | cmd_checksum (const char *command) |
uint64_t | unpack_uint64 (char *buff, int len) |
uint64_t | unpack_uint64_co (char *buff, int len) |
int | unpack_hex (const char *src, ut64 len, char *dst) |
int | pack_hex (const char *src, ut64 len, char *dst) |
int | hex2int (int ch) |
int | int2hex (int i) |
void | hexdump (void *ptr, ut64 len, ut64 offset) |
int | write_thread_id (char *dest, int len, int pid, int tid, bool multiprocess) |
int | read_thread_id (const char *src, int *pid, int *tid, bool multiprocess) |
Converts a given hex character into its int value
Definition at line 61 of file utils.c.
Referenced by hex2char(), unpack(), unpack_hex(), and unpack_uint64().
Converts a given nibble (4bit) into its hex representation
Definition at line 78 of file utils.c.
References i.
Referenced by pack_hex().
Definition at line 111 of file utils.c.
References dst, i, int2hex(), len, src, val, and x.
Referenced by _server_handle_m(), gdbr_open_file(), gdbr_send_qRcmd(), gdbr_write_bin_registers(), gdbr_write_memory(), gdbr_write_register(), and gdbr_write_registers().
Definition at line 161 of file utils.c.
References int, isxdigit, NULL, pid, rz_str_startswith(), and src.
Referenced by gdbr_pids_list(), gdbr_threads_list(), handle_qC(), and handle_stop_reason().
Definition at line 95 of file utils.c.
References dst, hex2int(), i, len, src, and val.
Referenced by gdbr_send_qRcmd(), handle_g(), handle_lldb_read_reg(), handle_m(), and handle_stop_reason().
Converts str to uint64_t
Definition at line 27 of file utils.c.
References hex2int(), and len.
Referenced by unpack_uint64_co().
Changed byte order and converts the value into uint64_t
Definition at line 45 of file utils.c.
References i, len, and unpack_uint64().
Definition at line 144 of file utils.c.
References dest, len, pid, and snprintf.
Referenced by gdbr_continue(), gdbr_is_thread_dead(), gdbr_select(), and gdbr_step().