Rizin
unix-like reverse engineering framework and cli tools
|
#include <rz_util.h>
Go to the source code of this file.
Macros | |
#define | EMIT_ESC(s, code) |
#define | DSZ 128 |
Enumerations | |
enum | { JC_FALSE , JC_TRUE , JC_KEY , JC_VAL , JC_RESET } |
Functions | |
static void | doIndent (int idt, char **o, const char *tab) |
RZ_API char * | rz_print_json_path (const char *s, int pos) |
RZ_API char * | rz_print_json_human (const char *s) |
RZ_API char * | rz_print_json_indent (const char *s, bool color, const char *tab, const char **palette) |
Variables | |
static const char * | origColors [] |
#define DSZ 128 |
Definition at line 16 of file json_indent.c.
anonymous enum |
Definition at line 6 of file json_indent.c.
Referenced by rz_print_json_human(), and rz_print_json_indent().
Definition at line 155 of file json_indent.c.
References delta, doIndent(), eprintf, free(), malloc(), NULL, O, realloc(), s, and autogen_x86imm::tmp.
Referenced by rz_cons_grepbuf().
RZ_API char* rz_print_json_indent | ( | const char * | s, |
bool | color, | ||
const char * | tab, | ||
const char ** | palette | ||
) |
Definition at line 254 of file json_indent.c.
References colors, delta, doIndent(), EMIT_ESC, eprintf, free(), IS_PRINTABLE, JC_FALSE, JC_KEY, JC_RESET, JC_TRUE, JC_VAL, malloc(), NULL, O, origColors, realloc(), rz_str_trim_head_ro(), s, and autogen_x86imm::tmp.
Referenced by rz_cmd_print(), and rz_cons_grepbuf().
Definition at line 43 of file json_indent.c.
References a, DSZ, eprintf, free(), i, NULL, PFMT64x, pos, rz_str_ndup(), s, and ut64().
Referenced by rz_cmd_print().
|
static |
Definition at line 34 of file json_indent.c.
Referenced by rz_print_json_indent().