Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Functions | |
RZ_API void | rz_analysis_esil_sources_init (RzAnalysisEsil *esil) |
RZ_API ut32 | rz_analysis_esil_load_source (RzAnalysisEsil *esil, const char *path) |
static RzAnalysisEsilSource * | _get_source (RzAnalysisEsil *esil, ut32 src_id) |
RZ_API void * | rz_analysis_esil_get_source (RzAnalysisEsil *esil, ut32 src_id) |
RZ_API bool | rz_analysis_esil_claim_source (RzAnalysisEsil *esil, ut32 src_id) |
RZ_API void | rz_analysis_esil_release_source (RzAnalysisEsil *esil, ut32 src_id) |
static bool | _free_source_cb (void *user, void *data, ut32 id) |
RZ_API void | rz_analysis_esil_sources_fini (RzAnalysisEsil *esil) |
Definition at line 75 of file esil_sources.c.
References free(), rz_lib_dl_close(), and src.
Referenced by rz_analysis_esil_sources_fini().
|
static |
Definition at line 37 of file esil_sources.c.
References NULL, rz_id_storage_get(), and rz_analysis_esil_t::sources.
Referenced by rz_analysis_esil_claim_source(), rz_analysis_esil_get_source(), and rz_analysis_esil_release_source().
RZ_API bool rz_analysis_esil_claim_source | ( | RzAnalysisEsil * | esil, |
ut32 | src_id | ||
) |
Definition at line 50 of file esil_sources.c.
References _get_source(), and src.
Referenced by rz_analysis_esil_interrupt_new().
RZ_API void* rz_analysis_esil_get_source | ( | RzAnalysisEsil * | esil, |
ut32 | src_id | ||
) |
Definition at line 44 of file esil_sources.c.
References _get_source(), NULL, and src.
Referenced by rz_analysis_esil_load_interrupts_from_lib().
RZ_API ut32 rz_analysis_esil_load_source | ( | RzAnalysisEsil * | esil, |
const char * | path | ||
) |
Definition at line 14 of file esil_sources.c.
References free(), path, rz_analysis_esil_sources_init(), rz_id_storage_add(), rz_lib_dl_close(), rz_lib_dl_open(), RZ_LOG_ERROR, RZ_NEW0, rz_return_val_if_fail, RZ_STR_ISNOTEMPTY, rz_analysis_esil_t::sources, and src.
Referenced by rz_analysis_esil_load_interrupts_from_lib().
RZ_API void rz_analysis_esil_release_source | ( | RzAnalysisEsil * | esil, |
ut32 | src_id | ||
) |
Definition at line 60 of file esil_sources.c.
References _get_source(), free(), rz_id_storage_delete(), rz_lib_dl_close(), rz_analysis_esil_t::sources, and src.
Referenced by rz_analysis_esil_interrupt_free(), and rz_analysis_esil_load_interrupts_from_lib().
RZ_API void rz_analysis_esil_sources_fini | ( | RzAnalysisEsil * | esil | ) |
Definition at line 85 of file esil_sources.c.
References _free_source_cb(), NULL, rz_id_storage_foreach(), rz_id_storage_free(), and rz_analysis_esil_t::sources.
Referenced by rz_analysis_esil_free().
RZ_API void rz_analysis_esil_sources_init | ( | RzAnalysisEsil * | esil | ) |
Definition at line 8 of file esil_sources.c.
References rz_id_storage_new(), and rz_analysis_esil_t::sources.
Referenced by rz_analysis_esil_load_source(), and rz_analysis_esil_new().