I'm trying to disassemble main of programs function in Visual Mode and i want to see Disassembly Graph, but radare2 show me this message:
Not in a function. Type 'df' to define it here
googling result for this message was radare2 source on GitHub.

My steps:
1 - r2 program
2 - s main or s sym.main
3 - VV

p.s.: I'm a n00b in r2.


Run r2 with -A flag or run aaa in r2 to analyze all referenced code.
in r2 -h: -A run 'aaa' command to analyze all referenced code.

my r2 version: 0.10.6

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.