radareorg / radare2

UNIX-like reverse engineering framework and command-line toolset
https://www.radare.org/
GNU Lesser General Public License v3.0
20.39k stars 2.98k forks source link

Store plugin path and avoid dupes #22445

Open trufae opened 10 months ago

trufae commented 10 months ago

there should be a warning when trying to open a secondary plugin with the same name+type. also Lcj should display the absolute path where each plugin is loaded from

Screenshot 2023-11-25 at 20 54 28
trufae commented 7 months ago

or maybe checksum the plugin file which can be probably a better approach, because r2 could be reporting better error messages when finding duplicated plugin installations (in exchange for slower loading times :__)

trufae commented 6 months ago

let's move this to the next abi breaking release, not really a big issue if users keep their plugin folders clean. and we may probably want to find a better balance between startup performance and so on