Esempio n. 1
0
static bool check_bytes(const ut8 *buf, ut64 length) {
	RBuffer *b = r_buf_new_with_bytes (buf, length);
	bool res = check_buffer (b);
	r_buf_free (b);
	return res;
}
Esempio n. 2
0
File: buf.c Progetto: P4N74/radare2
R_API RBuffer *r_buf_new_with_buf(RBuffer *b) {
	return r_buf_new_with_bytes (b->buf, b->length);
}