Closed kanren3 closed 3 months ago
File : core.py line 185, the api changed cause ida can not compare arm to "ARM".
latest 9.0, the arm be changed to "ARM". this patch fix arm64 machine ASM not work.
arch_name = ida_ida.inf_get_procname()
print(f"当前加载的CPU类型为: {arch_name}")
if arch_name == "metapc":
assembler = AsmX86()
elif arch_name.startswith("arm") or arch_name.startswith("ARM"):
assembler = AsmARM()
File : core.py line 185, the api changed cause ida can not compare arm to "ARM".
latest 9.0, the arm be changed to "ARM". this patch fix arm64 machine ASM not work.
arch_name = ida_ida.inf_get_procname() print(f"当前加载的CPU类型为: {arch_name}") if arch_name == "metapc": assembler = AsmX86() elif arch_name.startswith("arm") or arch_name.startswith("ARM"): assembler = AsmARM()
Thank you, I didn't notice that.
change line 665 in asm.py to if ida_ida.inf_is_be():
change line 665 in asm.py to if ida_ida.inf_is_be():
Thank you for reminding me. In these two modifications, I replaced ida_struct and ida_typeinf with idc to ensure compatibility from version 7.6 to 9.0 beta.
Thanks!
IDA 8.x does not support get_type_by_tid, and IDA 9.0 does not support ida_struct. I don't know of a way to support both simultaneously.