Closed karliss closed 3 weeks ago
Need to retest with rizin dev.
Looks like we don't have function-level analysis tests for PIC, just see test/db/analysis/pic
- we should extend the testing as well, not only the RzIL.
Retested with rizin 0.8.0 @ linux-x86-64 7b91fb69c2e805645de3e89da28532932908f699 . Same thing. If I understand things correctly, doesn't seem like pic18_analysis sets anything for call instruction beside the instruction type.
The steps I did:
rizin -a pic ihex://rizin-test-bins/pic18c/FReeRTOS-pic18c.hex
e asm.cpu
-> verify that asm.cpu is set to pic18 seems to be the default value without me setting it manualyaaa
probably not needed, but just in caseaxf @ 0x12e
one of the first call instructions in file
Work environment
rizin -v
full output, not truncated (mandatory)Expected behavior
Call instructions produce an xref to target instruction. Call instructions are used to for detecting function starts
Actual behavior
No xrefs for call instructions. Only one function found in the file.
Steps to reproduce the behavior
Additional Logs, screenshots, source code, configuration dump, ...
Drag and drop zip archives containing the Additional info here, don't use external services or link.