mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-03 03:35:37 +00:00
remove yank_off (ha)
This commit is contained in:
parent
1d8912f995
commit
2e2e2eaac2
@ -25,7 +25,7 @@ R_API int r_core_yank_set (RCore *core, ut64 addr, const ut8 *buf, ut32 len) {
|
||||
//free (core->yank_buf);
|
||||
if (buf && len) {
|
||||
r_buf_set_bytes (core->yank_buf, buf, len);
|
||||
core->yank_off = addr;
|
||||
core->yank_buff->base = addr;
|
||||
return R_TRUE;
|
||||
}
|
||||
return R_FALSE;
|
||||
@ -105,7 +105,7 @@ R_API int r_core_yank_dump (RCore *core, ut64 pos) {
|
||||
if (pos >= core->yank_buf->length) {
|
||||
eprintf ("Position exceeds buffer length.\n");
|
||||
} else if (core->yank_buf->length > 0) {
|
||||
r_cons_printf ("0x%08"PFMT64x" %d ", core->yank_off+pos,
|
||||
r_cons_printf ("0x%08"PFMT64x" %d ", core->yank_buf->base+pos,
|
||||
core->yank_buf->length-pos);
|
||||
|
||||
for (i=pos; i < core->yank_buf->length; i++)
|
||||
|
@ -101,7 +101,6 @@ typedef struct r_core_t {
|
||||
int ffio;
|
||||
int oobi_len;
|
||||
RBuffer *yank_buf;
|
||||
ut64 yank_off;
|
||||
int tmpseek;
|
||||
boolt vmode;
|
||||
int interrupted; // XXX IS THIS DUPPED SOMEWHERE?
|
||||
|
Loading…
x
Reference in New Issue
Block a user