mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-13 02:21:34 +00:00
![pancake](/assets/img/avatar_default.png)
- Managing breakpoints for the core - Initial work on the support for breakpoints for the r_debug plugins * Adding some dummy work for context support in r_anal * Make asm_set_bits check per-plugin supported bit sizes - Now asm plugins have 'arch' and 'bits' attributes - Used to setup default callbacks for undefined 'assemble' callback - Also used to avoid setting asm.bits eval variable to invalid values - We need a way to display all this data * Added DEFAULT_ARCH in config.h to setup default arch to asm and anal * Added r_config_set_i_cb() - Make r_config_set restore value when callback is called and fails - asm.bits now has a config callback * Added _LAST in some r_anal enums
34 lines
600 B
C
34 lines
600 B
C
/* radare - LGPL - Copyright 2009 */
|
|
/* nibble<.ds@gmail.com> */
|
|
/* pancake<nopcode.org> */
|
|
|
|
#include <r_anal.h>
|
|
|
|
R_API void r_anal_ctx_init(struct r_anal_ctx_t *ctx)
|
|
{
|
|
}
|
|
|
|
R_API struct r_anal_ctx_t *r_anal_ctx_new()
|
|
{
|
|
struct r_anal_ctx_t *ctx = MALLOC_STRUCT(struct r_anal_ctx_t);
|
|
r_anal_ctx_init(ctx);
|
|
return ctx;
|
|
}
|
|
|
|
R_API void r_anal_ctx_reset(struct r_anal_t *anal)
|
|
{
|
|
}
|
|
|
|
#if 0
|
|
/* getter/setter */
|
|
R_API struct r_anal_ctx_t *r_anal_ctx_get(struct r_anal_t *anal)
|
|
{
|
|
return anal->ctx;
|
|
}
|
|
|
|
R_API void r_anal_ctx_set(struct r_anal_t *anal, struct r_anal_ctx_t *ctx)
|
|
{
|
|
anal->ctx = ctx;
|
|
}
|
|
#endif
|