I am using Ghidra to analyze
libpng-compat.1.5.10.so (downloaded from Fedora mirrors).
But it didn't load the expected disassembly. Then I used Objdump and IDA to check the code and they get the same results and process it correctly. Here are pictures of these three tools about the function
we can see that from 0x6bf9, bad results are generated.
For comparison, Objdump:
I know IDA is the best SRE tool, and I always thought Ghidra and IDA are the top 2. Objdump is a basic, standard and old tool, but why is it that Ghidra can't even get the correct disassembly code while the other two tools do? I use auto-analyze and import the binary file for both IDA and Ghidra. How to correct these errors?
By adjusting analysis options，if
Non-Returning Functions - Discovered is set as
false, it will be correct.