GrammaTech / ddisasm

A fast and accurate disassembler
https://grammatech.github.io/ddisasm/
GNU Affero General Public License v3.0
663 stars 62 forks source link

How to analyze a simple .o file? #37

Closed BBge closed 2 years ago

BBge commented 3 years ago

Hi, I want to use ddisasm to analyze one simple .o file, but it shows that the file could not be disassembled. I am wondering how to solve this issue? Thanks! image

aeflores commented 3 years ago

Hi @BBge, currently Ddisasm cannot disassemble .o object files correctly. This is due to a few differences between executables and object files, the main reason being that sections in object files are not allocated to specific virtual addresses.

However, this is a capability that we are working on, I will let you know once object files are supported.

aeflores commented 2 years ago

Hi @BBge , Ddisasm can now disassemble object files.