54 if (newsize > priv->
mmap->
len) {
static st64 buf_bytes_read(RzBuffer *b, ut8 *buf, ut64 len)
static ut64 buf_bytes_get_size(RzBuffer *b)
static st64 buf_bytes_seek(RzBuffer *b, st64 addr, int whence)
static st64 buf_bytes_write(RzBuffer *b, const ut8 *buf, ut64 len)
static struct buf_mmap_priv * get_priv_mmap(RzBuffer *b)
static bool buf_mmap_init(RzBuffer *b, const void *user)
static bool buf_mmap_resize(RzBuffer *b, ut64 newsize)
static ut8 * buf_mmap_get_whole_buf(RzBuffer *b, ut64 *size)
static bool buf_mmap_fini(RzBuffer *b)
static const RzBufferMethods buffer_mmap_methods
RZ_API void Ht_() free(HtName_(Ht) *ht)
#define rz_warn_if_fail(expr)
RZ_API RzMmap * rz_file_mmap(const char *file, int perm, int mode, ut64 base)
RZ_API void * rz_file_mmap_resize(RzMmap *m, ut64 newsize)
RZ_API void rz_file_mmap_free(RzMmap *m)
struct buf_bytes_priv bytes_priv
ut64(WINAPI *w32_GetEnabledXStateFeatures)()