Is it possible to access binary file format specifics using the lib_rbin.so? I noticed the symbols in the libr_bin.so, but the RAPI does not appear to support access to the underlying formats (e.g. PE32, PE64, etc.).
Is this by design, or is there a way to access the formats, and then the specific fields or structure accessors for the defined formats. For example, in the PE i am trying to grab the entrypoint using Pe(32 || 64)_r_bin_pe_get_entrypoint. I found the symbols in the SO using nm. I also noticed some r2 internals manipulating these the RBinArch structure in the RBin/RCore structures to update values for the binary. If this is not yet accessible, do you have any thoughts about how to go about doing this? I was thinking of creating an include file called radare2/libr/r_format.h with the formats included in the header file, or alternatively radar2/libr/formats/<format_headers> for each format and RAPI for manipulating the object/format. Before I make any modifications to my tree, I wanted to see if there was an easier (or current) method for using the specific format RAPIs and structures. Thanks, -- Adam
_______________________________________________ radare mailing list [email protected] http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
