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

#include <rz_bin.h>

Public Attributes

char * name
 
char * desc
 
char * author
 
char * version
 
char * license
 
RZ_DEPRECATE Sdb *(* get_sdb )(RzBinFile *obj)
 deprecated, put info in C structures instead of this More...
 
bool(* load_buffer )(RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb)
 
ut64(* size )(RzBinFile *bin)
 
void(* destroy )(RzBinFile *bf)
 
bool(* check_bytes )(const ut8 *buf, ut64 length)
 
bool(* check_buffer )(RzBuffer *buf)
 
bool(* check_filename )(const char *filename)
 
ut64(* baddr )(RzBinFile *bf)
 
ut64(* boffset )(RzBinFile *bf)
 
RzList *(* virtual_files )(RzBinFile *bf)
 
RzList *(* maps )(RzBinFile *bf)
 
RzBinAddr *(* binsym )(RzBinFile *bf, RzBinSpecialSymbol num)
 
RzList *(* entries )(RzBinFile *bf)
 
RzList *(* sections )(RzBinFile *bf)
 
RZ_OWN RzBinSourceLineInfo *(* lines )(RzBinFile *bf)
 
RzList *(* symbols )(RzBinFile *bf)
 
RzList *(* imports )(RzBinFile *bf)
 
RzList *(* strings )(RzBinFile *bf)
 
RzBinInfo *(* info )(RzBinFile *bf)
 
RzList *(* fields )(RzBinFile *bf)
 
RzList *(* libs )(RzBinFile *bf)
 
RzList *(* relocs )(RzBinFile *bf)
 
RzList *(* trycatch )(RzBinFile *bf)
 
RzList *(* classes )(RzBinFile *bf)
 
RzList *(* mem )(RzBinFile *bf)
 
RzList *(* patch_relocs )(RzBinFile *bf)
 
RzList *(* hashes )(RzBinFile *bf)
 
RzList *(* resources )(RzBinFile *bf)
 
void(* header )(RzBinFile *bf)
 
char *(* signature )(RzBinFile *bf, bool json)
 
int(* demangle_type )(const char *str)
 
char *(* enrich_asm )(RzBinFile *bf, const char *asm_str, int asm_len)
 
ut64(* get_offset )(RzBinFile *bf, int type, int idx)
 
char *(* get_name )(RzBinFile *bf, int type, int idx)
 
ut64(* get_vaddr )(RzBinFile *bf, ut64 baddr, ut64 paddr, ut64 vaddr)
 
char *(* section_type_to_string )(ut64 type)
 
RzList *(* section_flag_to_rzlist )(ut64 flag)
 
RzBuffer *(* create )(RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt)
 
char *(* demangle )(const char *str)
 
char *(* regstate )(RzBinFile *bf)
 
int(* file_type )(RzBinFile *bf)
 
int minstrlen
 
char strfilter
 
void * user
 

Detailed Description

Definition at line 508 of file rz_bin.h.

Member Data Documentation

◆ author

char* rz_bin_plugin_t::author

Definition at line 511 of file rz_bin.h.

Referenced by rz_bin_print_plugin_details(), and rz_core_bin_plugin_print().

◆ baddr

ut64(* rz_bin_plugin_t::baddr) (RzBinFile *bf)

Definition at line 521 of file rz_bin.h.

Referenced by rz_bin_set_baddr().

◆ binsym

RzBinAddr*(* rz_bin_plugin_t::binsym) (RzBinFile *bf, RzBinSpecialSymbol num)

Definition at line 525 of file rz_bin.h.

◆ boffset

ut64(* rz_bin_plugin_t::boffset) (RzBinFile *bf)

Definition at line 522 of file rz_bin.h.

◆ check_buffer

bool(* rz_bin_plugin_t::check_buffer) (RzBuffer *buf)

Definition at line 519 of file rz_bin.h.

Referenced by rz_bin_get_binplugin_by_buffer().

◆ check_bytes

bool(* rz_bin_plugin_t::check_bytes) (const ut8 *buf, ut64 length)

Definition at line 518 of file rz_bin.h.

◆ check_filename

bool(* rz_bin_plugin_t::check_filename) (const char *filename)

Definition at line 520 of file rz_bin.h.

Referenced by rz_bin_get_binplugin_by_filename().

◆ classes

RzList*(* rz_bin_plugin_t::classes) (RzBinFile *bf)

Definition at line 537 of file rz_bin.h.

◆ create

RzBuffer*(* rz_bin_plugin_t::create) (RzBin *bin, const ut8 *code, int codelen, const ut8 *data, int datalen, RzBinArchOptions *opt)

Definition at line 551 of file rz_bin.h.

Referenced by rz_bin_create().

◆ demangle

char*(* rz_bin_plugin_t::demangle) (const char *str)

Definition at line 552 of file rz_bin.h.

◆ demangle_type

int(* rz_bin_plugin_t::demangle_type) (const char *str)

Definition at line 544 of file rz_bin.h.

◆ desc

char* rz_bin_plugin_t::desc

Definition at line 510 of file rz_bin.h.

Referenced by rz_bin_print_plugin_details(), and rz_core_bin_plugin_print().

◆ destroy

void(* rz_bin_plugin_t::destroy) (RzBinFile *bf)

Definition at line 517 of file rz_bin.h.

Referenced by rz_bin_file_free().

◆ enrich_asm

char*(* rz_bin_plugin_t::enrich_asm) (RzBinFile *bf, const char *asm_str, int asm_len)

Definition at line 545 of file rz_bin.h.

Referenced by ds_build_op_str().

◆ entries

RzList*(* rz_bin_plugin_t::entries) (RzBinFile *bf)

Definition at line 526 of file rz_bin.h.

Referenced by cmd_descs_generate.Detail::get_cstructure().

◆ fields

RzList*(* rz_bin_plugin_t::fields) (RzBinFile *bf)

Definition at line 533 of file rz_bin.h.

◆ file_type

int(* rz_bin_plugin_t::file_type) (RzBinFile *bf)

Definition at line 554 of file rz_bin.h.

Referenced by rz_core_bin_load().

◆ get_name

char*(* rz_bin_plugin_t::get_name) (RzBinFile *bf, int type, int idx)

Definition at line 547 of file rz_bin.h.

Referenced by __getname().

◆ get_offset

ut64(* rz_bin_plugin_t::get_offset) (RzBinFile *bf, int type, int idx)

Definition at line 546 of file rz_bin.h.

Referenced by __getoffset().

◆ get_sdb

RZ_DEPRECATE Sdb*(* rz_bin_plugin_t::get_sdb) (RzBinFile *obj)

deprecated, put info in C structures instead of this

Definition at line 514 of file rz_bin.h.

◆ get_vaddr

ut64(* rz_bin_plugin_t::get_vaddr) (RzBinFile *bf, ut64 baddr, ut64 paddr, ut64 vaddr)

Definition at line 548 of file rz_bin.h.

◆ hashes

RzList*(* rz_bin_plugin_t::hashes) (RzBinFile *bf)

Definition at line 540 of file rz_bin.h.

Referenced by rz_bin_file_compute_hashes().

◆ header

void(* rz_bin_plugin_t::header) (RzBinFile *bf)

Definition at line 542 of file rz_bin.h.

Referenced by rz_core_bin_headers_print().

◆ imports

RzList*(* rz_bin_plugin_t::imports) (RzBinFile *bf)

Definition at line 530 of file rz_bin.h.

◆ info

RzBinInfo*(* rz_bin_plugin_t::info) (RzBinFile *bf)

Definition at line 532 of file rz_bin.h.

Referenced by rz_core_bin_load().

◆ libs

RzList*(* rz_bin_plugin_t::libs) (RzBinFile *bf)

Definition at line 534 of file rz_bin.h.

◆ license

char* rz_bin_plugin_t::license

Definition at line 513 of file rz_bin.h.

Referenced by rz_bin_print_plugin_details(), and rz_core_bin_plugin_print().

◆ lines

RZ_OWN RzBinSourceLineInfo*(* rz_bin_plugin_t::lines) (RzBinFile *bf)

Definition at line 528 of file rz_bin.h.

◆ load_buffer

bool(* rz_bin_plugin_t::load_buffer) (RzBinFile *bf, RzBinObject *obj, RzBuffer *buf, Sdb *sdb)

Definition at line 515 of file rz_bin.h.

Referenced by rz_bin_object_new().

◆ maps

RzList*(* rz_bin_plugin_t::maps) (RzBinFile *bf)

Definition at line 524 of file rz_bin.h.

◆ mem

RzList*(* rz_bin_plugin_t::mem) (RzBinFile *bf)

Definition at line 538 of file rz_bin.h.

Referenced by capstone.m68k.M68KOp::mem().

◆ minstrlen

int rz_bin_plugin_t::minstrlen

Definition at line 556 of file rz_bin.h.

Referenced by create_string_search_thread(), and rz_bin_file_set_obj().

◆ name

◆ patch_relocs

RzList*(* rz_bin_plugin_t::patch_relocs) (RzBinFile *bf)

Definition at line 539 of file rz_bin.h.

Referenced by rz_bin_object_patch_relocs().

◆ regstate

char*(* rz_bin_plugin_t::regstate) (RzBinFile *bf)

Definition at line 553 of file rz_bin.h.

◆ relocs

RzList*(* rz_bin_plugin_t::relocs) (RzBinFile *bf)

Definition at line 535 of file rz_bin.h.

◆ resources

RzList*(* rz_bin_plugin_t::resources) (RzBinFile *bf)

Definition at line 541 of file rz_bin.h.

◆ section_flag_to_rzlist

RzList*(* rz_bin_plugin_t::section_flag_to_rzlist) (ut64 flag)

Definition at line 550 of file rz_bin.h.

Referenced by rz_bin_section_flag_to_list().

◆ section_type_to_string

char*(* rz_bin_plugin_t::section_type_to_string) (ut64 type)

Definition at line 549 of file rz_bin.h.

Referenced by rz_bin_section_type_to_string().

◆ sections

RzList*(* rz_bin_plugin_t::sections) (RzBinFile *bf)

Definition at line 527 of file rz_bin.h.

◆ signature

char*(* rz_bin_plugin_t::signature) (RzBinFile *bf, bool json)

Definition at line 543 of file rz_bin.h.

Referenced by rabin_do_operation(), and rz_core_bin_signatures_print().

◆ size

ut64(* rz_bin_plugin_t::size) (RzBinFile *bin)

Definition at line 516 of file rz_bin.h.

Referenced by cmd_search_bin().

◆ strfilter

char rz_bin_plugin_t::strfilter

Definition at line 557 of file rz_bin.h.

Referenced by rz_core_bin_load().

◆ strings

RzList*(* rz_bin_plugin_t::strings) (RzBinFile *bf)

Definition at line 531 of file rz_bin.h.

Referenced by rz_bin_object_reset_strings().

◆ symbols

RzList*(* rz_bin_plugin_t::symbols) (RzBinFile *bf)

Definition at line 529 of file rz_bin.h.

◆ trycatch

RzList*(* rz_bin_plugin_t::trycatch) (RzBinFile *bf)

Definition at line 536 of file rz_bin.h.

◆ user

void* rz_bin_plugin_t::user

Definition at line 558 of file rz_bin.h.

Referenced by __lib_bin_cb().

◆ version

char* rz_bin_plugin_t::version

Definition at line 512 of file rz_bin.h.

Referenced by rz_bin_print_plugin_details(), and rz_core_bin_plugin_print().

◆ virtual_files

RzList*(* rz_bin_plugin_t::virtual_files) (RzBinFile *bf)

Definition at line 523 of file rz_bin.h.


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