25 ut64 map_start, map_end;
29 char *nl = strchr(
str,
'\n');
34 map_start = map_end = 0LL;
35 if (!strncmp(
str,
"sys ", 4)) {
36 char *
sp = strchr(
str + 4,
' ');
43 char *_s_ = strstr(
str,
" s ");
45 memmove(_s_, _s_ + 2, strlen(_s_));
47 _s_ = strstr(
str,
" ? ");
49 memmove(_s_, _s_ + 2, strlen(_s_));
52 &map_start, &map_end, perm,
name);
100 eprintf(
"debug.io: Failed to get dr8 from io\n");
165 #ifndef RZ_PLUGIN_INCORE
RZ_API char * rz_analysis_get_reg_profile(RzAnalysis *analysis)
RZ_API RZ_OWN char * rz_cons_get_buffer_dup(void)
Return a newly allocated buffer containing what's currently in RzCons buffer.
RZ_API void rz_cons_flush(void)
RZ_API void rz_cons_reset(void)
RZ_API void rz_cons_pop(void)
RZ_API void rz_cons_push(void)
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 int __esil_breakpoint(RzBreakpoint *bp, RzBreakpointItem *b, bool set)
static int __esil_detach(RzDebug *dbg, int pid)
static int __esil_continue_syscall(RzDebug *dbg, int pid, int num)
static int __esil_stop(RzDebug *dbg)
static char * __io_reg_profile(RzDebug *dbg)
static bool __io_kill(RzDebug *dbg, int pid, int tid, int sig)
static RzDebugReasonType __io_wait(RzDebug *dbg, int pid)
static RzList * __io_maps(RzDebug *dbg)
static int __reg_read(RzDebug *dbg, int type, ut8 *buf, int size)
RZ_API RzLibStruct rizin_plugin
RzDebugPlugin rz_debug_plugin_io
static int __io_continue(RzDebug *dbg, int pid, int tid, int sig)
static int __io_attach(RzDebug *dbg, int pid)
static int __io_step_over(RzDebug *dbg)
static int __io_step(RzDebug *dbg)
RZ_API RzDebugMap * rz_debug_map_new(char *name, ut64 addr, ut64 addr_end, int perm, int user)
size_t map(int syms, int left, int len)
RZ_API char * sdb_fmt(const char *fmt,...)
RZ_API void Ht_() free(HtName_(Ht) *ht)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
static void list(RzEgg *egg)
RZ_API RZ_OWN RzList * rz_list_new(void)
Returns a new initialized RzList pointer (free method is not initialized)
RZ_API RZ_BORROW RzListIter * rz_list_append(RZ_NONNULL RzList *list, void *data)
Appends at the end of the list a new element.
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
void * calloc(size_t number, size_t size)
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 pid
static void __esil_init(RzCore *core)
RZ_API int rz_hex_str2bin(const char *in, ut8 *out)
Convert an input string in into the binary form in out.
#define RZ_STR_ISNOTEMPTY(x)
RZ_API int rz_str_rwx(const char *str)
#define RZ_STR_ISEMPTY(x)
RZ_API void rz_str_trim(RZ_NONNULL RZ_INOUT char *str)
Removes whitespace characters (space, tab, newline etc.) from the beginning and end of a string.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()