HexHive / HexHive/retrowrite

Does the retrowrite can run in ARM now? [BUG]

Open
#33 6 comments 0 reactions 0 assignees View on GitHub
analysis-needed bug
Dominant language
Python
Stars
750
Forks
87
PR merge metrics
No merged PRs in 30d

Description

## test errors
### Test in ARM arch,use commend "**retrowrite stack stack.asan.s**",get the following error:

Traceback (most recent call last):
File "/root/retrowrite/retro/bin/retrowrite", line 173, in
from librw_arm64.analysis.register import RegisterAnalysis
File "/root/retrowrite/librw_arm64/analysis/register.py", line 9, in
from archinfo import ArchAArch64, Register
File "/root/retrowrite/retro/lib/python3.6/site-packages/archinfo/__init__.py", line 26, in
from .arch_amd64 import ArchAMD64
File "/root/retrowrite/retro/lib/python3.6/site-packages/archinfo/arch_amd64.py", line 378, in
register_arch([r'.*amd64|.*x64|.*x86_64|.*metapc'], 64, Endness.LE, ArchAMD64)
File "/root/retrowrite/retro/lib/python3.6/site-packages/archinfo/arch.py", line 800, in register_arch
all_arches.append(my_arch(endness))
File "/root/retrowrite/retro/lib/python3.6/site-packages/archinfo/arch_amd64.py", line 68, in __init__
self.reg_blacklist.append(register.name)
AttributeError: 'NoneType' object has no attribute 'append'

### Test demo in directory of mytest, get the same error, and the readme.md file seems not updata? Does this version can run in the arm arch now? the current test on arm does not seem to have been successful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.