mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-25 15:24:36 +00:00
Purge Pins on r_anal_purge ##anal (#17703)
This commit is contained in:
parent
d74ecd12b7
commit
ae0b5e503f
@ -411,7 +411,7 @@ R_API bool r_anal_op_is_eob(RAnalOp *op) {
|
||||
}
|
||||
}
|
||||
|
||||
R_API int r_anal_purge (RAnal *anal) {
|
||||
R_API void r_anal_purge(RAnal *anal) {
|
||||
r_anal_hint_clear (anal);
|
||||
r_interval_tree_fini (&anal->meta);
|
||||
r_interval_tree_init (&anal->meta, r_meta_item_free);
|
||||
@ -419,10 +419,11 @@ R_API int r_anal_purge (RAnal *anal) {
|
||||
sdb_reset (anal->sdb_zigns);
|
||||
sdb_reset (anal->sdb_classes);
|
||||
sdb_reset (anal->sdb_classes_attrs);
|
||||
r_anal_pin_fini (anal);
|
||||
r_anal_pin_init (anal);
|
||||
r_list_free (anal->fcns);
|
||||
anal->fcns = r_list_newf (r_anal_function_free);
|
||||
r_anal_purge_imports (anal);
|
||||
return 0;
|
||||
}
|
||||
|
||||
R_API int r_anal_archinfo(RAnal *anal, int query) {
|
||||
|
@ -1516,7 +1516,7 @@ R_API bool r_anal_function_contains(RAnalFunction *fcn, ut64 addr);
|
||||
|
||||
/* anal.c */
|
||||
R_API RAnal *r_anal_new(void);
|
||||
R_API int r_anal_purge (RAnal *anal);
|
||||
R_API void r_anal_purge(RAnal *anal);
|
||||
R_API RAnal *r_anal_free(RAnal *r);
|
||||
R_API void r_anal_set_user_ptr(RAnal *anal, void *user);
|
||||
R_API void r_anal_plugin_free (RAnalPlugin *p);
|
||||
@ -1605,8 +1605,8 @@ R_API void r_anal_esil_trace_restore(RAnalEsil *esil, int idx);
|
||||
/* pin */
|
||||
R_API void r_anal_pin_init(RAnal *a);
|
||||
R_API void r_anal_pin_fini(RAnal *a);
|
||||
R_API void r_anal_pin (RAnal *a, ut64 addr, const char *name);
|
||||
R_API void r_anal_pin_unset (RAnal *a, ut64 addr);
|
||||
R_API void r_anal_pin(RAnal *a, ut64 addr, const char *name);
|
||||
R_API void r_anal_pin_unset(RAnal *a, ut64 addr);
|
||||
R_API const char *r_anal_pin_call(RAnal *a, ut64 addr);
|
||||
R_API void r_anal_pin_list(RAnal *a);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user