-
Notifications
You must be signed in to change notification settings - Fork 210
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
Comments
Many thanks. |
I tried to install capstone == 5.0.0 , and succeed . I guess maybe low version capstone library didn't rename this global variable |
And I wanna konw , where is the setup.py ?
|
My solution is use |
Should work now with all capstone versions. |
@GUANZH1 |
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
The text was updated successfully, but these errors were encountered: