mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
40 lines
732 B
C
40 lines
732 B
C
/* radare - LGPL - Copyright 2009 */
|
|
/* nibble<.ds@gmail.com> */
|
|
/* pancake<nopcode.org> */
|
|
|
|
#if 0
|
|
#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_t *anal)
|
|
{
|
|
struct r_anal_ctx_t *ctx = R_NEW(struct r_anal_ctx_t);
|
|
r_anal_ctx_init(ctx);
|
|
ctx->anal = anal;
|
|
return ctx;
|
|
}
|
|
|
|
R_API int r_anal_ctx_set_bytes(struct r_anal_t *anal, const ut8 *buf, int len)
|
|
{
|
|
return R_TRUE;
|
|
}
|
|
|
|
R_API void r_anal_ctx_reset(struct r_anal_t *anal)
|
|
{
|
|
}
|
|
|
|
/* 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
|