radareorg / r2retdec

RetDec plugin for Radare2
https://retdec.com/
MIT License
124 stars 24 forks source link

write on the readme how to load the plugin compiled from source #27

Closed gogo2464 closed 2 years ago

gogo2464 commented 3 years ago

The instruction to load the plugin compiled from source is missing. Then I suggest to write what I did.

I built from source. Then, I have an core_retdec.so file.

Then I did r2pm -h and then see R2PM_PLUGDIR=/home/MYNAME/.local/share/radare2/plugins so I did cp core_retdec.so /home/MYNAME/.local/share/radare2/plugins and then the plugin works perfectly.

I think we can write it on the readme.

Just tell me if you want it, then I can add it.

xkubov commented 3 years ago

Hi, thanks for the suggestion, but if you use -DCMAKE_INSTALL_PREFIX=~/.local as stated in README.md the plugin would automatically install into $HOME/.local/share/radare2/plugins. I agree that the instructions are not clear on this one. I will try to state this in the README.md more clearly.

apkunpacker commented 3 years ago

hi . please fix installation on termux or provide core_retdec.so prebuilt binary for arm/arm64 . thanks