Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keystone doesn't installs properly #40

Open
yaroslavyaroslav opened this issue Jan 27, 2023 · 4 comments
Open

Keystone doesn't installs properly #40

yaroslavyaroslav opened this issue Jan 27, 2023 · 4 comments

Comments

@yaroslavyaroslav
Copy link

I'm duplicating this issue, since that repo looks a bit desolated.

Setup

  • macOS 13.2 with Apple silicon chip (it has different homebrew base folder, just in case)
  • risen 0.4.1
  • rz-pm 0.4.1

Steps to reproduce

  • rz-pm -i keystone
  • rz-pm -l >> keystone

Error

  • rz-asm -L | grep ks # produce no output
  • rizin -a arm.ks # asm.arch: cannot find (arm.ks)

I see https://github.com/rizinorg/rizin-extras/pull/20 is merged just yet, so maybe if's fixed already, just rollout takes some more time. But as for now keystone doesn't install within rz-pm successfully.

Also there's a strange paths pn rz-pm output:

 RZPM_PLUGDIR=/Users/user/.local//opt/homebrew/lib/rizin/plugins # this one
 RZPM_BINDIR=/Users/user/.local/share/rizin/bin
 RZPM_DBDIR=/Users/user/.local/share/rizin/rz-pm/db
 RZPM_GITDIR=/Users/user/.local/share/rizin/rz-pm/git
 RZPM_GITSKIP=

It seems like it concatenates both homebrew paths and local path. It installs everything here /opt/homebrew/lib/rizin/plugins anyway.

@ret2libc
Copy link
Member

On homebrew there is still the old bash-based rz-pm which is not maintained anymore. This repository is about the golang version and it is still a WIP, though it kinda works.

Your best chance right now is to just install the keystone plugin from source https://github.com/rizinorg/rizin-extras/tree/master/keystone . Likely for rizin v0.5.0 (which we will release in a few weeks) everything should work well also for the homebrew-based rizin.

@yaroslavyaroslav
Copy link
Author

@ret2libc thanks, I'll try.

Just wonder, Would it be be the same codebase as it is in a new r2pm release or it's just a coincidence that both of you running out of bash to native?

@wargio
Copy link
Member

wargio commented Jan 28, 2023

back in radareorg, we wanted to remove r2pm script and have it native, so after the fork happened we kept working on this path. i think pancake dropped the original go code in favour of C code, but is better to ask him not us regarding this.

@ret2libc
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants