17 switch (
state->mode) {
20 pj_ks(pj,
"name",
s->name);
22 pj_kb(pj,
"selected", cur ==
s);
33 (!cur || cur ==
s) ?
'*' :
'.',
s->name);
51 switch (
mi->subtype) {
81 char *pstr, *base64_str;
121 ut8 r = 0,
g = 0,
b = 0,
A = 0;
122 const char *esc = strchr(
d->str,
'\x1b');
128 pj_s(pj, base64_str);
140 pj_s(pj, base64_str);
150 pj_ks(pj,
"enc", enc);
165 if (!strcmp(
type,
"CCu")) {
173 if (!strcmp(
type,
"CCu")) {
188 switch (
d->subtype) {
266 ut8 r = 0,
g = 0,
b = 0,
A = 0;
267 const char *esc = strchr(
d->str,
'\x1b');
378 char *nc =
strdup(newcomment);
419 (*name)[
limit] =
'\0';
420 *name_len = strlen((
char *)*
name);
441 .prefer_big_endian = big_endian,
475 char *guessname =
NULL;
RZ_API bool rz_analysis_function_contains(RzAnalysisFunction *fcn, ut64 addr)
RZ_API char * sdb_encode(const ut8 *bin, int len)
RZ_API RzBinObject * rz_bin_cur_object(RzBin *bin)
RZ_API RzBinFile * rz_bin_cur(RzBin *bin)
const lzma_allocator const uint8_t size_t uint8_t * out
RZ_API void rz_cmd_state_output_array_start(RzCmdStateOutput *state)
Mark the start of an array of elements in the output.
RZ_API void rz_cmd_state_output_array_end(RzCmdStateOutput *state)
Mark the end of an array of elements in the output.
RZ_API bool rz_config_get_b(RzConfig *cfg, RZ_NONNULL const char *name)
RZ_API int rz_cons_printf(const char *format,...)
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 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 start
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
RZ_DEPRECATE RZ_API RzAnalysisFunction * rz_analysis_get_fcn_in(RzAnalysis *analysis, ut64 addr, int type)
RZ_API void Ht_() free(HtName_(Ht) *ht)
const char * spaces(int count)
RZ_API RZ_OWN char * rz_core_editor(const RzCore *core, RZ_NULLABLE const char *file, RZ_NULLABLE const char *str)
RZ_API RZ_OWN RzList * rz_list_new(void)
Returns a new initialized RzList pointer (free method is not initialized)
RZ_API RZ_BORROW void * rz_list_first(RZ_NONNULL const RzList *list)
Returns the first element of the list.
RZ_API void rz_list_free(RZ_NONNULL RzList *list)
Empties the list and frees the list pointer.
void * malloc(size_t size)
return strdup("=SP r13\n" "=LR r14\n" "=PC r15\n" "=A0 r0\n" "=A1 r1\n" "=A2 r2\n" "=A3 r3\n" "=ZF zf\n" "=SF nf\n" "=OF vf\n" "=CF cf\n" "=SN or0\n" "gpr lr .32 56 0\n" "gpr pc .32 60 0\n" "gpr cpsr .32 64 0 ____tfiae_________________qvczn\n" "gpr or0 .32 68 0\n" "gpr tf .1 64.5 0 thumb\n" "gpr ef .1 64.9 0 endian\n" "gpr jf .1 64.24 0 java\n" "gpr qf .1 64.27 0 sticky_overflow\n" "gpr vf .1 64.28 0 overflow\n" "gpr cf .1 64.29 0 carry\n" "gpr zf .1 64.30 0 zero\n" "gpr nf .1 64.31 0 negative\n" "gpr itc .4 64.10 0 if_then_count\n" "gpr gef .4 64.16 0 great_or_equal\n" "gpr r0 .32 0 0\n" "gpr r1 .32 4 0\n" "gpr r2 .32 8 0\n" "gpr r3 .32 12 0\n" "gpr r4 .32 16 0\n" "gpr r5 .32 20 0\n" "gpr r6 .32 24 0\n" "gpr r7 .32 28 0\n" "gpr r8 .32 32 0\n" "gpr r9 .32 36 0\n" "gpr r10 .32 40 0\n" "gpr r11 .32 44 0\n" "gpr r12 .32 48 0\n" "gpr r13 .32 52 0\n" "gpr r14 .32 56 0\n" "gpr r15 .32 60 0\n" "gpr r16 .32 64 0\n" "gpr r17 .32 68 0\n")
static uint32_t const uint8_t uint32_t uint32_t limit
RZ_API int rz_cons_rgb_parse(const char *p, ut8 *r, ut8 *g, ut8 *b, ut8 *a)
RZ_API char * rz_cons_rgb_tostring(ut8 r, ut8 g, ut8 b)
#define rz_warn_if_reached()
#define rz_return_val_if_fail(expr, val)
RZ_API char * rz_base64_encode_dyn(const ut8 *bin, size_t sz)
RZ_API bool rz_buf_read8_at(RzBuffer *b, ut64 addr, RZ_NONNULL RZ_OUT ut8 *result)
Read a byte at the specified address in the buffer.
RZ_API bool rz_interval_tree_all_at(RzIntervalTree *tree, ut64 start, RzIntervalIterCb cb, void *user)
static RzIntervalNode * rz_interval_tree_iter_get(RzIntervalTreeIter *it)
#define rz_interval_tree_foreach(tree, it, dat)
RZ_API bool rz_io_read_at(RzIO *io, ut64 addr, ut8 *buf, int len)
RZ_API ut64 rz_io_v2p(RzIO *io, ut64 va)
RZ_API bool rz_name_filter(char *name, int len, bool strict)
RZ_API PJ * pj_kb(PJ *j, const char *k, bool v)
RZ_API PJ * pj_ki(PJ *j, const char *k, int d)
RZ_API PJ * pj_k(PJ *j, const char *k)
RZ_API PJ * pj_end(PJ *j)
RZ_API PJ * pj_s(PJ *j, const char *k)
RZ_API PJ * pj_ks(PJ *j, const char *k, const char *v)
RZ_API PJ * pj_kn(PJ *j, const char *k, ut64 n)
#define rz_spaces_foreach(sp, it, s)
static const char * rz_spaces_current_name(RzSpaces *sp)
RZ_API int rz_spaces_count(RzSpaces *sp, const char *name)
static RzSpace * rz_spaces_current(RzSpaces *sp)
static const char * rz_str_get(const char *str)
RZ_API char * rz_str_newf(const char *fmt,...) RZ_PRINTF_CHECK(1
RZ_API RZ_OWN char * rz_str_escape(RZ_NONNULL const char *buf)
RZ_API const char * rz_str_enc_as_string(RzStrEnc enc)
RZ_API size_t rz_str_ncpy(char *dst, const char *src, size_t n)
Secure string copy with null terminator.
@ RZ_STRING_ENC_EBCDIC_US
@ RZ_STRING_ENC_EBCDIC_UK
@ RZ_STRING_ENC_EBCDIC_ES
RZ_API char * rz_str_escape_8bit(const char *buf, bool colors, RzStrEscOptions *opt)
RZ_API char * rz_str_escape_utf8(const char *buf, RzStrEscOptions *opt)
RZ_API int rz_str_unescape(char *buf)
RZ_API bool rz_str_is_ascii(const char *str)
RZ_API void rz_str_sanitize(char *c)
RZ_API int rz_scan_strings(RZ_NONNULL RzBuffer *buf_to_scan, RZ_NONNULL RzList *list, RZ_NONNULL const RzUtilStrScanOptions *opt, const ut64 from, const ut64 to, RzStrEnc type)
Look for strings in an RzBuffer.
RzOutputMode
Enum to describe the way data are printed.
@ RZ_OUTPUT_MODE_STANDARD
RZ_API RzPVector * rz_pvector_new(RzPVectorFree free)
static void ** rz_pvector_push(RzPVector *vec, void *x)
RZ_API void rz_pvector_free(RzPVector *vec)
#define rz_pvector_foreach(vec, it)
RzStrEnc type
String type.
ut32 size
Size of buffer containing the string in bytes.
Group together some common options used by string escaping functions.
bool esc_bslash
When true, backslashes \ are quoted with \\
bool show_asciidot
When true, dots . are placed instead of unprintable characters.
size_t buf_size
Maximum size of a detected string.
XX curplugin == o->plugin.
bool strseach_check_ascii_freq
Represent the output state of a command handler.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()