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

Ubuntu install of ropper fails. NameError: name 'CS_ARCH_ARM64' is not defined. Did you mean: ' CS_ARCH_ARM' #185

Open
csergi opened this issue Oct 6, 2024 · 1 comment

Comments

@csergi
Copy link

csergi commented Oct 6, 2024

Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/init.py", line 29, in
from .console import Console
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/console.py", line 29, in
from ropper.loaders.loader import Loader, Type
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/loaders/init.py", line 29, in
from . import elf
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/loaders/elf.py", line 30, in
from ropper.loaders.loader import *
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/loaders/loader.py", line 33, in
from ropper.arch import *
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/arch.py", line 535, in
ARM64 = ArchitectureArm64()
^^^^^^^^^^^^^^^^^^^
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/common/abstract.py", line 41, in call
self._instance = super(AbstractSingletonMeta, self).call()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/astracerus/.local/lib/python3.12/site-packages/ropper/arch.py", line 441, in init
super(ArchitectureArm64, self).init(CS_ARCH_ARM64, CS_MODE_ARM, 8, 4)
^^^^^^^^^^^^^
NameError: name 'CS_ARCH_ARM64' is not defined. Did you mean: 'CS_ARCH_ARM'?

Fresh install, ropper 1.13.8

@sashs
Copy link
Owner

sashs commented Oct 27, 2024

Many thanks.
Capstone has renamed a global variable. I am fixing this in the bugfix branch

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

2 participants