Rizin
unix-like reverse engineering framework and cli tools
rz_io_plugin_t Struct Reference

#include <rz_io.h>

Public Attributes

const char * name
 
const char * desc
 
const char * version
 
const char * author
 
const char * license
 
void * widget
 
const char * uris
 
int(* listener )(RzIODesc *io)
 
int(* init )(void)
 
bool isdbg
 
char *(* system )(RzIO *io, RzIODesc *fd, const char *)
 
RzIODesc *(* open )(RzIO *io, const char *, int perm, int mode)
 
RzList *(* open_many )(RzIO *io, const char *, int perm, int mode)
 
int(* read )(RzIO *io, RzIODesc *fd, ut8 *buf, int count)
 
ut64(* lseek )(RzIO *io, RzIODesc *fd, ut64 offset, int whence)
 
int(* write )(RzIO *io, RzIODesc *fd, const ut8 *buf, int count)
 
int(* close )(RzIODesc *desc)
 
bool(* is_blockdevice )(RzIODesc *desc)
 
bool(* is_chardevice )(RzIODesc *desc)
 
int(* getpid )(RzIODesc *desc)
 
int(* gettid )(RzIODesc *desc)
 
bool(* getbase )(RzIODesc *desc, ut64 *base)
 
bool(* resize )(RzIO *io, RzIODesc *fd, ut64 size)
 
bool(* accept )(RzIO *io, RzIODesc *desc, int fd)
 
int(* create )(RzIO *io, const char *file, int mode, int type)
 
bool(* check )(RzIO *io, const char *, bool many)
 
ut8 *(* get_buf )(RzIODesc *desc, ut64 *size)
 

Detailed Description

Definition at line 114 of file rz_io.h.

Member Data Documentation

◆ accept

bool(* rz_io_plugin_t::accept) (RzIO *io, RzIODesc *desc, int fd)

Definition at line 139 of file rz_io.h.

◆ author

const char* rz_io_plugin_t::author

Definition at line 118 of file rz_io.h.

Referenced by rz_core_io_plugin_print().

◆ check

bool(* rz_io_plugin_t::check) (RzIO *io, const char *, bool many)

Definition at line 141 of file rz_io.h.

Referenced by rz_io_desc_open_plugin(), rz_io_plugin_get_default(), and rz_io_plugin_resolve().

◆ close

int(* rz_io_plugin_t::close) (RzIODesc *desc)

Definition at line 132 of file rz_io.h.

Referenced by rz_io_open_many(), and rz_io_reopen().

◆ create

int(* rz_io_plugin_t::create) (RzIO *io, const char *file, int mode, int type)

Definition at line 140 of file rz_io.h.

◆ desc

const char* rz_io_plugin_t::desc

Definition at line 116 of file rz_io.h.

Referenced by rz_core_io_plugin_print().

◆ get_buf

ut8*(* rz_io_plugin_t::get_buf) (RzIODesc *desc, ut64 *size)

Definition at line 142 of file rz_io.h.

◆ getbase

bool(* rz_io_plugin_t::getbase) (RzIODesc *desc, ut64 *base)

Definition at line 137 of file rz_io.h.

◆ getpid

int(* rz_io_plugin_t::getpid) (RzIODesc *desc)

Definition at line 135 of file rz_io.h.

◆ gettid

int(* rz_io_plugin_t::gettid) (RzIODesc *desc)

Definition at line 136 of file rz_io.h.

◆ init

int(* rz_io_plugin_t::init) (void)

Definition at line 123 of file rz_io.h.

◆ is_blockdevice

bool(* rz_io_plugin_t::is_blockdevice) (RzIODesc *desc)

Definition at line 133 of file rz_io.h.

◆ is_chardevice

bool(* rz_io_plugin_t::is_chardevice) (RzIODesc *desc)

Definition at line 134 of file rz_io.h.

◆ isdbg

bool rz_io_plugin_t::isdbg

Definition at line 124 of file rz_io.h.

Referenced by core_perform_auto_analysis(), rz_core_io_plugin_print(), and rz_main_rizin().

◆ license

const char* rz_io_plugin_t::license

Definition at line 119 of file rz_io.h.

Referenced by rz_core_io_plugin_print().

◆ listener

int(* rz_io_plugin_t::listener) (RzIODesc *io)

Definition at line 122 of file rz_io.h.

Referenced by rz_io_is_listener().

◆ lseek

ut64(* rz_io_plugin_t::lseek) (RzIO *io, RzIODesc *fd, ut64 offset, int whence)

Definition at line 130 of file rz_io.h.

◆ name

◆ open

RzIODesc*(* rz_io_plugin_t::open) (RzIO *io, const char *, int perm, int mode)

Definition at line 127 of file rz_io.h.

Referenced by rz_io_desc_open(), and rz_io_desc_open_plugin().

◆ open_many

RzList*(* rz_io_plugin_t::open_many) (RzIO *io, const char *, int perm, int mode)

Definition at line 128 of file rz_io.h.

Referenced by rz_io_open_many().

◆ read

int(* rz_io_plugin_t::read) (RzIO *io, RzIODesc *fd, ut8 *buf, int count)

Definition at line 129 of file rz_io.h.

◆ resize

bool(* rz_io_plugin_t::resize) (RzIO *io, RzIODesc *fd, ut64 size)

Definition at line 138 of file rz_io.h.

◆ system

char*(* rz_io_plugin_t::system) (RzIO *io, RzIODesc *fd, const char *)

Definition at line 126 of file rz_io.h.

Referenced by rz_io_system().

◆ uris

const char* rz_io_plugin_t::uris

Definition at line 121 of file rz_io.h.

Referenced by rz_core_io_plugin_print().

◆ version

const char* rz_io_plugin_t::version

Definition at line 117 of file rz_io.h.

Referenced by rz_core_io_plugin_print().

◆ widget

void* rz_io_plugin_t::widget

Definition at line 120 of file rz_io.h.

◆ write

int(* rz_io_plugin_t::write) (RzIO *io, RzIODesc *fd, const ut8 *buf, int count)

Definition at line 131 of file rz_io.h.

Referenced by rz_core_io_plugin_print().


The documentation for this struct was generated from the following file: