mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 16:18:33 +00:00
cdd80105cb
- 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
32 lines
484 B
C
32 lines
484 B
C
/* radare - LGPL - Copyright 2009 pancake<nopcode.org> */
|
|
|
|
#include <r_bp.h>
|
|
|
|
R_API int r_bp_init(struct r_bp_t *bp)
|
|
{
|
|
return R_TRUE;
|
|
}
|
|
|
|
R_API struct r_bp_t *r_bp_new()
|
|
{
|
|
struct r_bp_t *bp = MALLOC_STRUCT(struct r_bp_t);
|
|
r_bp_init(bp);
|
|
return bp;
|
|
}
|
|
|
|
R_API struct r_bp_t *r_bp_free(struct r_bp_t *bp)
|
|
{
|
|
free(bp);
|
|
return NULL;
|
|
}
|
|
|
|
R_API int r_bp_add(struct r_bp_t *bp, u64 addr, int hw, int type)
|
|
{
|
|
return R_TRUE;
|
|
}
|
|
|
|
R_API int r_bp_list(struct r_bp_t *bp, int rad)
|
|
{
|
|
return 0;
|
|
}
|