radareorg / iaito

Official QT frontend of radare2
GNU General Public License v3.0
968 stars 83 forks source link

Add basic support for RBinName #154

Closed mrmacete closed 6 months ago

mrmacete commented 6 months ago

Checklist

Description

Fix compilation errors by using r_bin_name_tostring where needed.

mrmacete commented 6 months ago

not sure how to fix CI for this though, to point to the right r2 version

trufae commented 6 months ago

i would put this r_bin_name_tostring thing in an include file as a define depending on the version of r2, this way the code will backward compatible. its better to have an api than directly accessing the fields

trufae commented 6 months ago

Use sthg like this

#if R2_VERSION_NUMBER < 50809
#define r_bin_name_tostring(x) x
#endif