-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Description
Environment
Sun Apr 20 13:30:30 CEST 2025
radare2 5.9.8 0 @ linux-x86-64
birth: git.5.9.8 2024-12-25__11:50:37
options: gpl release -O1 cs:5 cl:2 meson
Linux x86_64Description
aaa incorrectly merges:
- Function at 0x20040014 (entry0)
- Function at 0x200400ae (with
addi sp, sp, -32prologue)
into one function spanning 0x20040014-0x200400ee.
Analysis fails to detect function boundary at 0x200400ae despite standard prologue.
Test
r2 -N -e bin.relocs.apply=true self-assesment.elf
aaa
afl # Shows only entry0 covering both
s 0x200400ae; af new_func # Fails with "Cannot find function"
# fixing it
af- entry0
s 0x200400ae; af fibonacci
s 0x20040014; af entry0
afl # Should show both functionsNote: Ghidra doesn't seem to have issue with it
Metadata
Metadata
Assignees
Labels
No labels