RzBinFile#

class RzBinFile#
property buf: RzBuffer#
property curxtr: RzBinXtrPlugin#
property fd: int#
property file: str#
property id: int#
property loadaddr: int#
property maxstrlen: int#
property minstrlen: int#
property narch: int#
property o: RzBinObject#
property offset: int#
property rbin: RzBin#
property sdb: Sdb#
property size: int#
property xtr_data: RzList[RzBinXtrData]#
property xtr_obj: Any#
add_class(name: str, super: str, view: int) RzBinClass#

Calls function rz_bin_file_add_class (defined in bfile.c)

add_method(classname: str, name: str, nargs: int) RzBinSymbol#

Calls function rz_bin_file_add_method (defined in bfile.c)

cur_plugin() RzBinPlugin#

Calls function rz_bin_file_cur_plugin (defined in bfile.c)

get_baddr() int#

Calls function rz_bin_file_get_baddr (defined in bfile.c)

get_symbols() RzList[RzBinSymbol]#

Calls function rz_bin_file_get_symbols (defined in bfile.c)

get_trycatch() RzList[RzBinTrycatch]#

Calls function rz_bin_file_get_trycatch (defined in bfile.c)

strings(min_length: size_t, raw_strings: bool) RzList[RzBinString]#

Calls function rz_bin_file_strings (defined in bfile_string.c)

Generates a RzList struct containing RzBinString from a given RzBinFile.

Parameters:
  • bf – The RzBinFile to use for searching for strings

  • min_length – The string minimum length (when len < 1, is set to 4)

  • raw_strings – When set to false, it will search for strings only in the data section

Returns:

On success returns RzList pointer, otherwise NULL