You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
you can use the R2_LIBR_PLUGINS env var already but its just one string with the absolute path, i can split that with colons to support multoiple paths. but libr/core/libs.c already handles this env var
what
radare2 should load plugins from multiple paths
similar to MOZ_PLUGIN_PATH, QT_PLUGIN_PATH, QTWEBKIT_PLUGIN_PATH, ...
why
make radare plugins play nice with package managers like nix
downstream issues:
current situation
(i hope that im wrong but ...)
currently, plugins are loaded from *one* path
either from
R2_LIBR_PLUGINS
(defined on compiletime)or from
getenv("R2_LIBR_PLUGINS")
(defined on runtime)radare2/doc/plugins.md
Lines 1 to 13 in 510ddab
radare2/libr/include/r_lib.h
Line 22 in b8e6b52
radare2/libr/core/libs.c
Lines 76 to 78 in 1100e12
radare2/libr/util/lib.c
Line 357 in abb7a7c
challenges
workaround
use the R2_LIBR_PLUGINS env variable and symlink multiple plugins into one folder
related
radare2/libr/include/r_userconf.h.acr
Line 66 in abb7a7c
will be replaced by #20545
... ideally also support multiple paths for extras and bindings
The text was updated successfully, but these errors were encountered: