Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | rz_json_t |
Typedefs | |
typedef enum rz_json_type_t | RzJsonType |
typedef struct rz_json_t | RzJson |
Enumerations | |
enum | rz_json_type_t { RZ_JSON_NULL , RZ_JSON_OBJECT , RZ_JSON_ARRAY , RZ_JSON_STRING , RZ_JSON_INTEGER , RZ_JSON_DOUBLE , RZ_JSON_BOOLEAN } |
Functions | |
RZ_API RzJson * | rz_json_parse (char *text) |
RZ_API void | rz_json_free (RzJson *js) |
RZ_API const RzJson * | rz_json_get (const RzJson *json, const char *key) |
RZ_API const RzJson * | rz_json_item (const RzJson *json, size_t idx) |
RZ_API const RzJson * | rz_json_get_path (const RzJson *json, const char *path) |
RZ_API RZ_OWN char * | rz_json_as_string (const RzJson *json, bool with_key) |
typedef enum rz_json_type_t RzJsonType |
enum rz_json_type_t |
Definition at line 546 of file json_parser.c.
References json_pj_recurse(), rz_json_t::key, NULL, pj_drain(), pj_ks(), pj_new(), pj_S(), RZ_JSON_STRING, rz_return_val_if_fail, cmd_descs_generate::str, rz_json_t::str_value, and rz_json_t::type.
Referenced by rz_cons_grepbuf().
Definition at line 45 of file json_parser.c.
References rz_json_t::children, free(), p, RZ_JSON_ARRAY, rz_json_free(), RZ_JSON_OBJECT, and rz_json_t::type.
Referenced by deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), meta_load_cb(), rz_json_free(), rz_json_parse(), rz_load_panels_layout(), rz_serialize_spaces_load(), winkd_download_module_and_pdb(), xrefs_load_cb(), and zone_load_cb().
Definition at line 405 of file json_parser.c.
References key, and rz_json_get_len().
Referenced by deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), GetHeapGlobalsOffset(), rz_serialize_analysis_var_load(), winkd_download_module_and_pdb(), and xrefs_load_cb().
Definition at line 419 of file json_parser.c.
References key, NULL, path, rz_json_get_len(), rz_json_item(), RZ_JSON_REPORT_ERROR, and ut64().
Referenced by rz_cons_grepbuf().
Definition at line 409 of file json_parser.c.
References rz_json_t::children, setup::idx, rz_json_t::next, and NULL.
Referenced by rz_json_get_path().
Definition at line 382 of file json_parser.c.
References rz_json_t::children, parse_value(), rz_json_free(), and create_tags_rz::text.
Referenced by block_load_cb(), bp_load_cb(), deserialize_checkpoints_cb(), deserialize_memory_cb(), deserialize_registers_cb(), flag_load_cb(), function_load_cb(), GetHeapGlobalsOffset(), global_var_load_cb(), hints_load_cb(), meta_load_cb(), rz_cons_grepbuf(), rz_load_panels_layout(), rz_serialize_spaces_load(), winkd_download_module_and_pdb(), xrefs_load_cb(), and zone_load_cb().