rizinorg / rizin

UNIX-like reverse engineering framework and command-line toolset.
https://rizin.re
GNU Lesser General Public License v3.0
2.72k stars 363 forks source link

Rizin navigates to a strange address when seek to pascal main #879

Open Heersin opened 3 years ago

Heersin commented 3 years ago

Work environment

Questions Answers
OS/arch/bits (mandatory) Linux
File format of the file you reverse (mandatory) ELF
Architecture/bits of the file (mandatory) AMD x86-64 architecture
rizin -v full output, not truncated (mandatory) rizin 0.2.0-git

Expected behavior

seek to the correct main function address and print out its opcodes

Actual behavior

cannot print the function

Steps to reproduce the behavior

Additional Logs, screenshots, source code, configuration dump, ...

[0x0040017c]> aaa
[x] Analyze all flags starting with sym. and entry0 (aa)
[x] Analyze function calls (aac)
[x] Analyze len bytes of instructions for references (aar)
[x] Check for classes
[x] Type matching analysis for all functions (aaft)
[x] Propagate noreturn information
[x] Use -AA or aaaa to perform additional experimental analysis.
[0x0040017c]> s main
[0x48c1c748]> pdf
p: Cannot find function at 0x48c1c748
[0x48c1c748]> 

related test

freepascal

XVilka commented 3 years ago

Please add a link to the test in the testsuite

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has probably changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of rizin. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.