Open austin-ralls-cs opened 4 years ago
Dalvik technically supports 65536 registers, but Binary Ninja hangs when more than a thousand or so RegisterInfos are added. The current workaround is to just set 256 of them.
RegisterInfo
Also, I don't know what setting Architecture.regs actually does.
Architecture.regs
https://github.com/CarveSystems/banjo/blob/bd07db6c3a8de9b4eff56d381c581909b0ea2b05/architecture.py#L27
Related code: https://github.com/CarveSystems/banjo/blob/bd07db6c3a8de9b4eff56d381c581909b0ea2b05/android/smali.py#L355
Dalvik technically supports 65536 registers, but Binary Ninja hangs when more than a thousand or so
RegisterInfo
s are added. The current workaround is to just set 256 of them.Also, I don't know what setting
Architecture.regs
actually does.https://github.com/CarveSystems/banjo/blob/bd07db6c3a8de9b4eff56d381c581909b0ea2b05/architecture.py#L27