yanqi27 / core_analyzer

A power tool to debug memory-related issues
376 stars 72 forks source link

Does it support Aarch64? #94

Closed UMAHunter closed 1 year ago

UMAHunter commented 1 year ago

Hi, Is there a plan for architecture Aarch64?

yanqi27 commented 1 year ago

@UMAHunter CPU architecture is a small factor to this tool. It is more related to the platform and the runtime heap memory manager. Which one do you have in your mind, Linux/ptmalloc, or something else?

UMAHunter commented 1 year ago

When I use 'decode' command in an aarch64 environment, it reports an error with message "../../gdb/dwarf2-frame.c:1324: internal-error: Unknown register rule.". Most other commands do not report error. So is this problem involes with the ARM CPU or the OS?

yanqi27 commented 1 year ago

Yes, you are right. decode function is intended to add object context to the disassemble function. It is tied to CPU architecture.