Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | RzIODescasd |
struct | PCacheSaveCtx |
Macros | |
#define | SUB(ns, call) RZ_SERIALIZE_SUB_DO(db, subdb, res, ns, call, goto beach;) |
Functions | |
static bool | pcache_save_cb (void *user, const ut64 k, const void *v) |
static bool | file_save_cb (void *user, void *data, ut32 id) |
RZ_API void | rz_serialize_io_files_save (RZ_NONNULL Sdb *db, RZ_NONNULL RzIO *io) |
RZ_API bool | rz_serialize_io_files_load (RZ_NONNULL Sdb *db, RZ_NONNULL RzIO *io, RZ_NULLABLE RzSerializeResultInfo *res) |
RZ_API void | rz_serialize_io_save (RZ_NONNULL Sdb *db, RZ_NONNULL RzIO *io) |
RZ_API bool | rz_serialize_io_load (RZ_NONNULL Sdb *db, RZ_NONNULL RzIO *io, RZ_NULLABLE RzSerializeResultInfo *res) |
#define SUB | ( | ns, | |
call | |||
) | RZ_SERIALIZE_SUB_DO(db, subdb, res, ns, call, goto beach;) |
Definition at line 49 of file serialize_io.c.
References desc, key, pcache_save_cb(), pj_end(), pj_free(), pj_ki(), pj_ks(), pj_new(), pj_o(), pj_string(), sdb_ns(), sdb_set(), and snprintf.
Referenced by rz_serialize_io_files_save().
Definition at line 37 of file serialize_io.c.
References rz_io_desc_cache_t::cdata, k, key, PFMT64x, rz_base64_encode(), RZ_IO_DESC_CACHE_SIZE, snprintf, v, and val.
Referenced by file_save_cb().
RZ_API bool rz_serialize_io_files_load | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzIO * | io, | ||
RZ_NULLABLE RzSerializeResultInfo * | res | ||
) |
Definition at line 92 of file serialize_io.c.
Referenced by rz_serialize_io_load().
RZ_API void rz_serialize_io_files_save | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzIO * | io | ||
) |
Definition at line 87 of file serialize_io.c.
References file_save_cb(), rz_id_storage_foreach(), and sdb_ns().
Referenced by rz_serialize_io_save().
RZ_API bool rz_serialize_io_load | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzIO * | io, | ||
RZ_NULLABLE RzSerializeResultInfo * | res | ||
) |
Definition at line 101 of file serialize_io.c.
References rz_serialize_io_files_load(), and SUB.
RZ_API void rz_serialize_io_save | ( | RZ_NONNULL Sdb * | db, |
RZ_NONNULL RzIO * | io | ||
) |
Definition at line 97 of file serialize_io.c.
References rz_serialize_io_files_save(), and sdb_ns().